/**
 * ContextSnapshot — persisted snapshot of ContextCapsule per attempt.
 *
 * Enables post-hoc analysis of what context was provided to each runtime,
 * supporting diagnosis of context_overflow and evidence_failed attempts.
 */
import type { ContextCapsule } from "../runtime/context-capsule.js";
export interface ContextSnapshotMeta {
    readonly runId: string;
    readonly nodeId: string;
    readonly attemptId: string;
    readonly capturedAt: string;
    readonly estimatedTokens: number;
}
export interface ContextSnapshotStore {
    save(capsule: ContextCapsule, attemptId: string): Promise<void>;
    load(runId: string, nodeId: string, attemptId: string): Promise<ContextCapsule | null>;
    list(runId: string): Promise<ContextSnapshotMeta[]>;
}
export declare function createContextSnapshotStore(runsDir?: string): ContextSnapshotStore;
