/** * Checkpoint stores for workflow resume support */ import type { WorkflowCheckpoint, CheckpointStore } from '@cogitator-ai/types'; /** * In-memory checkpoint store (for testing and short-lived workflows) */ export declare class InMemoryCheckpointStore implements CheckpointStore { private checkpoints; save(checkpoint: WorkflowCheckpoint): Promise; load(id: string): Promise; list(workflowName: string): Promise; delete(id: string): Promise; clear(): void; } /** * File-based checkpoint store (persists to disk) */ export declare class FileCheckpointStore implements CheckpointStore { private directory; constructor(directory?: string); private ensureDirectory; private getFilePath; save(checkpoint: WorkflowCheckpoint): Promise; load(id: string): Promise; list(workflowName: string): Promise; delete(id: string): Promise; } /** * Create a new checkpoint ID */ export declare function createCheckpointId(): string; //# sourceMappingURL=checkpoint.d.ts.map