import type { WorkspaceCheckpointRef, WorkspaceMaterializationResult } from '../types/session.js'; export interface CheckpointGitResult { code: number; stdout: string; stderr: string; /** Set when the runner discarded output after its safety limit. */ stdoutTruncated?: boolean | undefined; stderrTruncated?: boolean | undefined; } export interface SessionCheckpointCasOptions { rootDir: string; projectRoot: string; runGit?: ((args: string[], cwd: string) => Promise) | undefined; } /** * Content-addressed workspace checkpoint store. * * A manifest references a Git base tree plus CAS blobs for every changed or * untracked, non-ignored path. Applying it to a checkout at the same baseHead * reproduces the checkpoint without touching the parent working tree. */ export declare class SessionCheckpointCas { private readonly rootDir; private readonly projectRoot; private readonly runGit; constructor(opts: SessionCheckpointCasOptions); capture(_sessionId: string, _promptIndex: number): Promise; materialize(checkpoint: WorkspaceCheckpointRef, targetRoot: string): Promise; private objectPath; private manifestPath; private putBlob; private putManifest; private readBlob; private loadManifest; private safeOutputPath; } //# sourceMappingURL=session-checkpoint-cas.d.ts.map