#![allow(missing_docs)]
pub mod engine;
pub mod ewc;
pub mod loops;
pub mod lora;
pub mod reasoning_bank;
pub mod time_compat;
pub mod trajectory;
pub mod types;
#[cfg(feature = "serde-support")]
pub mod export;
#[cfg(feature = "serde-support")]
pub mod training;
#[cfg(feature = "wasm")]
pub mod wasm;
#[cfg(feature = "napi")]
pub mod napi_simple;
pub use engine::SonaEngine;
pub use ewc::{EwcConfig, EwcPlusPlus, TaskFisher};
pub use loops::{BackgroundLoop, InstantLoop, LoopCoordinator};
pub use lora::{BaseLoRA, LoRAEngine, LoRALayer, MicroLoRA};
pub use reasoning_bank::{PatternConfig, ReasoningBank};
pub use trajectory::{TrajectoryBuffer, TrajectoryBuilder, TrajectoryIdGen};
pub use types::{
LearnedPattern, LearningSignal, PatternType, QueryTrajectory, SignalMetadata, SonaConfig,
TrajectoryStep,
};
#[cfg(feature = "serde-support")]
pub use export::{
DatasetExporter, ExportConfig, ExportError, ExportResult, ExportType, HuggingFaceExporter,
HuggingFaceHub, PretrainConfig, PretrainPipeline, SafeTensorsExporter,
};
#[cfg(feature = "serde-support")]
pub use training::{
AgentExport, AgentFactory, AgentHandle, AgentStats, AgentType, AggregationResult, BatchConfig,
CoordinatorStats, DataSizeHint, EphemeralAgent, EpochStats, FederatedCoordinator,
FederatedTopology, ManagedAgent, PipelineStage, TaskDomain, TemplatePreset, TrainingMethod,
TrainingMetrics, TrainingPipeline, TrainingResult, TrainingTemplate, VerticalConfig,
};
#[cfg(feature = "wasm")]
pub use wasm::WasmSonaEngine;