import { Answers, Choice, Options, PromptType } from 'prompts'; import { Question } from './easMultiselect'; export { PromptType, Question, Choice }; export interface ExpoChoice extends Choice { value: T; } type NamelessQuestion = Omit, 'name' | 'type'>; export declare function promptAsync(questions: Question | Question[], options?: Options): Promise>; export declare function confirmAsync(question: NamelessQuestion, options?: Options): Promise; export declare function selectAsync(message: string, choices: ExpoChoice[], config?: { options?: Options; initial?: T; warningMessageForDisabledEntries?: string; }): Promise; /** * Create a more dynamic yes/no confirmation that can be cancelled. * * @param questions * @param options */ export declare function toggleConfirmAsync(questions: NamelessQuestion, options?: Options): Promise; export declare function pressAnyKeyToContinueAsync(): Promise;