import { type Interface } from 'node:readline/promises';
/** Line prompts on the terminal, including hidden input for secret fields (4.7). */
export declare class Prompter {
    private rl?;
    get interface(): Interface;
    get interactive(): boolean;
    ask(question: string, signal?: AbortSignal): Promise<string>;
    /** Reads without echoing: the value is never shown back, logged, or stored by the CLI. */
    askSecret(question: string): Promise<string>;
    confirm(question: string): Promise<boolean>;
    close(): void;
}
//# sourceMappingURL=prompt.d.ts.map