/** * Storage and Checkpoint Types * * Defines the data structures for persistent storage and checkpointing. */ /** * Checkpoint data for recovery */ export interface CheckpointData { /** * Checkpoint ID */ checkpointId: string; /** * State at this checkpoint */ state: Map; /** * Timestamp when checkpoint was created */ timestamp_ms: number; /** * Operations included in this checkpoint */ operations: any[]; } /** * Storage backend interface */ export interface StorageBackend { /** * Store data */ store(key: string, value: any): Promise; /** * Retrieve data */ retrieve(key: string): Promise; /** * Delete data */ delete(key: string): Promise; /** * List keys */ list(prefix: string): Promise; } //# sourceMappingURL=storage.d.ts.map