import { type ProgramIO } from '../../cli-helpers.js'; /** A `--dry-run --apply` refusal, resolved per verb. */ export type FlagConflict = { readonly command: string; readonly code: string; readonly nextActions: readonly string[]; readonly json: boolean | undefined; readonly dryRun: boolean | undefined; readonly apply: boolean | undefined; }; /** * `--dry-run` and `--apply` are mutually exclusive: previewing and writing in * one invocation has no defined meaning, so refuse before any work happens. */ export declare function refuseBothFlags(io: ProgramIO, conflict: FlagConflict): boolean; /** A verb whose lazy `memory-commands.ts` import or run failed. */ export type BootstrapFailure = { readonly command: string; readonly code: string; readonly message: string; readonly json: boolean | undefined; readonly nextActions?: readonly string[] | undefined; }; /** Print the `*_BOOTSTRAP_FAILED` envelope and mark the process failed. */ export declare function emitBootstrapFailure(io: ProgramIO, failure: BootstrapFailure): void;