import type { StageOutput } from '../types/command.types.js'; export interface StageCheckpoint { completedAt: string; output: StageOutput; stageIndex: number; stageName: string; } export declare class CheckpointManager { private readonly dataDir; private readonly ttlMs; constructor(dataDir?: string, ttlMs?: number); clear(sessionId: string, commandName: string): void; read(sessionId: string, commandName: string): StageCheckpoint[]; write(sessionId: string, commandName: string, checkpoint: StageCheckpoint): void; /** * Defense-in-depth: sessionId/commandName are internally-controlled today * (sessionId from SessionStore's own generator, commandName constrained * to the resolved command registry), not raw externally-influenced input * reaching this file-path-building function directly — but validating * cheaply here at the choke point costs nothing and closes the risk if a * future caller ever changes that. */ private filePath; private isExpired; private readCreatedAt; } //# sourceMappingURL=checkpoint-manager.d.ts.map