import type { ScopedLogger } from "../logger.js"; export interface DestructiveConfirmation { logger: ScopedLogger; flags: { dryRun: boolean; assumeYes: boolean; }; /** Command wording used in the danger copy and the non-interactive error, e.g. "worktree remove wt". */ action: string; /** Blast radius: everything the executor is about to destroy. */ summary: readonly string[]; message: string; } /** * Gate placed in front of a destructive executor. Prints the blast radius, then * requires either --yes or an interactive confirmation. --dry-run previews never * prompt, so the safe preview path stays usable without a TTY. */ export declare function confirmDestructive(confirmation: DestructiveConfirmation): Promise;