UNPKG

cross-tools

Version:

Cross-platform fundamental tools for developers

16 lines (15 loc) 521 B
import prompts from 'prompts'; interface IChoice { title: string; value: any; disabled?: boolean; selected?: boolean; description?: string; } interface IOption { message?: string; } export declare const askFuzzy: (choices: IChoice[], option: IOption) => Promise<prompts.Answers<"operation">>; export declare const askTextInput: (option: IOption) => Promise<prompts.Answers<"userInput">>; export declare const getConfirmation: (message: string) => Promise<prompts.Answers<"confirmed">>; export {};