import type { ResumeFn } from "./interruptResolution.js"; import type { RunNodeCoreResult } from "./types.js"; import type { PromptFn, ValuePromptFn } from "./interruptPrompts.js"; export type ResolveCliInterruptOptions = { prompt?: PromptFn; valuePrompt?: ValuePromptFn; }; /** * Decisions: `--interactive` prompts on the terminal ("always" answers are * remembered for the rest of the run); without it every surfaced interrupt is * rejected (the documented default). Value-expecting interrupts get the answer * prompt instead. Without any policy flag at all (or in an IPC subprocess, which * never owns the terminal), this reports the unhandled interrupt and exits * non-zero — the historical no-flag behavior. */ export declare function resolveCliInterrupts(result: RunNodeCoreResult, respond: ResumeFn>, options?: ResolveCliInterruptOptions): Promise>;