pub mod event;
pub mod identity;
pub mod memory;
pub(crate) mod memory_helpers;
pub mod redaction;
pub mod retention;
pub mod signing;
pub mod sqlite;
pub mod store;
pub use event::{
canonical_event_bytes, canonical_json_bytes, AppendEvent, EventId, EventSignature,
SessionEventKind, StoredEvent,
};
pub use identity::{EventIdentity, EventIdentityError, EventIdentityField};
pub use memory::MemorySessionStore;
pub use redaction::{EventRedactor, SharedEventRedactor};
pub use retention::{ArchiveSink, RetentionPolicy, SharedArchiveSink, Tombstone};
pub use signing::{
chain_root_fold, chain_root_hash, chain_root_init, compute_record_hash, re_anchor_events,
verify_event, verify_event_chain, verify_receipt_root, verify_session_chain, SessionSigner,
VerifyError, ALGORITHM as SIGNATURE_ALGORITHM,
};
pub use sqlite::SqliteSessionStore;
pub use store::{
CreateSession, EventPage, ForkResult, ImportResult, ImportSession, ListFilter, ReadRange,
SessionId, SessionImporter, SessionMeta, SessionStatus, SessionStore, SharedSessionStore,
Snapshot, SnapshotId, StoreError, StoreHooks, StoreResult, SweepReport, TruncateResult,
VerifyFailure, VerifyReport, MAX_READ_BATCH,
};