/** * Checkpoint Module * * Extracted from engine.ts per DESIGN.md ยง8.1. * Handles checkpoint creation, listing, and auto-checkpoint logic. */ import type { VcsOp } from './types.js'; import type { EngineContext } from './engine-context.js'; export type CheckpointTrigger = 'manual' | 'op-count' | 'interval' | 'green-build'; export interface CheckpointInfo { id: string; createdAt?: string; trigger?: string; atOpHash?: string; } /** * Create a checkpoint at the current position in the causal stream. */ export declare function createCheckpoint(ctx: EngineContext, trigger?: CheckpointTrigger): Promise; /** * List all checkpoints from the EAV store. */ export declare function listCheckpoints(ctx: EngineContext): CheckpointInfo[]; //# sourceMappingURL=checkpoint.d.ts.map