interface ConfirmOptions {
    /** Skip the prompt and treat as approved. CI / scripted apply path. */
    yes: boolean;
    /** Plan summary line to show next to the prompt for confirmation context. */
    summaryLine: string;
}
/**
 * Block until the user explicitly accepts the plan. `--yes` short-circuits
 * to true. Non-TTY without `--yes` exits with a clear error rather than
 * trying to read from a closed stdin and hanging.
 */
export declare function confirmPlan(opts: ConfirmOptions): Promise<boolean>;
/**
 * Extra blast-radius gate when a code-managed apply would delete more than a
 * handful of definitions. The plan confirm already shows the deletes; this is
 * a second, explicit "yes, delete N" so a large accidental prune (e.g. a config
 * pointed at the wrong org) can't sail through on a reflexive first y/N.
 * `yes` short-circuits (CI); non-TTY without `--yes` throws.
 */
export declare function confirmDeletions(count: number, yes: boolean): Promise<boolean>;
/**
 * Confirm uploading + compiling custom connector source on the gateway.
 * `yes` short-circuits to true; non-TTY without `--yes` throws rather than
 * hanging on a closed stdin.
 */
export declare function confirmCustomConnectors(yes: boolean): Promise<boolean>;
export {};
//# sourceMappingURL=prompt.d.ts.map