pub mod event;
pub mod memory;
pub(crate) mod memory_helpers;
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 memory::MemorySessionStore;
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_receipt_root, SessionSigner, VerifyError,
ALGORITHM as SIGNATURE_ALGORITHM,
};
pub use sqlite::SqliteSessionStore;
pub use store::{
CreateSession, EventPage, ForkResult, ListFilter, ReadRange, SessionId, SessionMeta,
SessionStatus, SessionStore, SharedSessionStore, Snapshot, SnapshotId, StoreError, StoreHooks,
StoreResult, SweepReport, TruncateResult, VerifyFailure, VerifyReport, MAX_READ_BATCH,
};