import type { ResumeOverrides } from "../runtime/resumeSetup.js"; import { type CheckpointEdit } from "../runtime/state/checkpointPatch/index.js"; export type ResumeOverrideFlags = { localVar?: string[]; arg?: string[]; globalVar?: string[]; /** Each `--edit`, one edit as JSON. */ edit?: string[]; /** `--edits`, a file holding a JSON array of edits. */ edits?: string; }; export declare function parseResumeOverrides(flags: ResumeOverrideFlags): ResumeOverrides; /** The edits `--edit` and `--edits` name, in that order, each checked * against the edit schema here so a wrong shape is refused before the * program starts. `--edits` is read relative to `cwd`. */ export declare function parseResumeEdits(flags: ResumeOverrideFlags, cwd?: string): CheckpointEdit[];