import type { PlaybookRunManifest } from "./types.ts"; /** * Persistent store for playbook runs. A playbook run is the bundle of * per-step sessions created by `action: "dry_run"` and consumed by * `action: "run"`. Layout: * * ~/.sandbox-seed/playbook-runs// * manifest.json # PlaybookRunManifest * aggregated-dry-run.md # rolled-up human report (written by aggregate-dry-run.ts) * * Per-step sessions still live at ~/.sandbox-seed/sessions// * as usual — they're owned by the `SessionStore`, we just reference them * here by id. */ export type PlaybookRunStoreOptions = { /** Defaults to `~/.sandbox-seed`. */ rootDir?: string; }; export declare class PlaybookRunStore { private readonly rootDir; constructor(opts?: PlaybookRunStoreOptions); runDir(runId: string): string; aggregatedDryRunPath(runId: string): string; private manifestPath; create(manifest: PlaybookRunManifest): Promise; load(runId: string): Promise; save(manifest: PlaybookRunManifest): Promise; } export declare function newPlaybookRunId(): string;