export * from "./event-store.js"; export * from "./state-store.js"; export * from "./checkpoint-store.js"; export * from "./git-adapter.js"; export * from "./filesystem.js"; export * from "./event-store.guard.js"; import { EventStore, PartitionStore, SegmentStore } from "./event-store.js"; import { type IStateStore } from "./state-store.js"; import { type ICheckpointStore } from "./checkpoint-store.js"; import { GitAdapterImpl, GitAdapterStub } from "./git-adapter.js"; import { NodeFilesystemAdapter, InMemoryFilesystemAdapter } from "./filesystem.js"; export type InfraConfig = { persistence?: "file" | "memory"; partitionCount?: number; gitEnabled?: boolean; eventLogPath?: string; statePath?: string; checkpointPath?: string; streamDir?: string; }; export type Infra = { eventStore: EventStore; partitionStore: PartitionStore; segmentStore: SegmentStore; stateStore: IStateStore; checkpointStore: ICheckpointStore; git: GitAdapterImpl | GitAdapterStub; fs: NodeFilesystemAdapter | InMemoryFilesystemAdapter; }; export declare function createInfra(config?: InfraConfig): Promise;