import type { Prompter } from '../verify/prompter.js'; import type { DraftGateImpl } from './draft-types.js'; /** * Phase 24.1 — manual approve gate prompt walker. Accepts y/yes/n/no * (case-insensitive); 3 retries before refuse. Mirrors the 3-retry pattern * from `verify/interactive.ts` askVerdict. Re-exported from `draft.ts` for the * `ask-approve-verdict` suite. */ export declare function askApproveVerdict(prompter: Prompter): Promise<'yes' | 'no'>; /** * Manual approve gate (Phase 24.1). Extracted from draft.ts (Phase 39.7). * Fires when `'approve'` is in the effective gate set and `--no-approve` * (`opts.approve === false`) was not passed. Builds the prompter via the port * (a non-TTY throw → refuse with the `manual-approve: …` line), runs the verdict * walker, refuses on `no`. Coherence blockers + soft cap already refused in the * router before this gate, so the prompt only appears for otherwise-passable * approvals. */ export declare const runApproveGate: DraftGateImpl; //# sourceMappingURL=approve.d.ts.map