mod db;
mod embedder;
mod error;
mod readonly;
#[cfg(feature = "config")]
mod settings;
mod storage;
pub use db::{Database, DatabaseBuilder, ExportedFact, FactSnapshot, RecoverReport};
pub use embedder::{Embedder, NullEmbedder, OpenAiCompatEmbedder};
pub use error::HostError;
pub use readonly::{ReadOnlyDatabase, Scrub};
#[cfg(feature = "config")]
pub use settings::{Settings, SettingsError, read_config};
pub use storage::{FileScratch, FileStorage, FsyncPolicy};
pub use plugmem_core::snapshot::{DEFAULT_SCRUB_BUDGET, ScrubProgress};
pub use plugmem_core::{
Config, EntityId, Error, FactId, FactRecord, LinkInput, MaintainReport, OpenReport,
RecallQuery, RecallResult, RecallScratch, RecalledEdge, RecalledFact, RememberInput,
RememberOutcome, Similar, SimilarReason, Stats, VALID_TO_OPEN, fact_flags,
};
pub use plugmem_core::{MemScratch, Scratch};