/// <reference types="node" />
import { EventEmitter } from 'events';
interface PromptOptions {
    default?: string;
    validate?: (input: string) => boolean | string;
    transformer?: (input: string) => string;
    mask?: boolean;
}
export declare class Prompt extends EventEmitter {
    private static instance;
    private isReading;
    private constructor();
    static getInstance(): Prompt;
    ask(question: string, options?: PromptOptions): Promise<string>;
    confirm(message: string, defaultValue?: boolean): Promise<boolean>;
    select<T extends string>(message: string, choices: T[], defaultChoice?: T): Promise<T>;
}
export {};
//# sourceMappingURL=prompt.d.ts.map