/** * Interactive y/N confirmation that returns a boolean. * * Returns `true` when the user answers "y" / "yes" (case-insensitive). * Returns `true` automatically when the global `--yes` flag is set or * when stdin is not a TTY (so non-interactive pipelines do not hang * waiting for input — the caller is expected to gate destructive * operations behind `--yes` in that case). */ export declare function confirmAction(message: string): Promise; /** * Same prompt as {@link confirmAction} but throws a structured * `CliExitError("ABORTED", ...)` when the user declines instead of * returning false. Use when the calling command has nothing useful to * do after a refusal — e.g. delete-style operations. */ export declare function confirmOrAbort(message: string): Promise; //# sourceMappingURL=confirm.d.ts.map