export declare function question(text: string, validator: (answer: string) => boolean): Promise;