import { provenanceContext } from "./provenance-context.js"; declare const writeClaudeSession: (payload: { readonly destinationSessionId: string; readonly messages: readonly { role: "user" | "assistant"; content: string; }[]; readonly provenance: Parameters[0]; }, workspace: string) => { probe: () => Promise>; stage: () => Promise<{ readonly ok: false; readonly error: import("../../../_utils/cli-error.js").CliError; } | { readonly ok: true; readonly value: { recoveryCommand: string; path: string; }; }>; parse: (staged: { path: string; }) => Promise<{ readonly ok: false; readonly error: import("../../../_utils/cli-error.js").CliError; } | { readonly ok: true; readonly value: { role: "user" | "assistant"; content: string; }[]; }>; install: (staged: { path: string; recoveryCommand: string; }) => Promise>; launch: (_installed: { recoveryCommand: string; }) => Promise>; cleanup: (staged: { path: string; }) => Promise; }; export { writeClaudeSession };