Optional
$prompt
$prompt?: {
checkbox: <Value>(
config: {},
context?: Context,
) => Promise<Value[]> & {};
confirm: Prompt<boolean, ConfirmConfig>;
editor: Prompt<string, EditorConfig>;
expand: <Value>(config: {}, context?: Context) => Promise<Value> & {};
input: Prompt<string, InputConfig>;
number: <Required extends boolean>(
config: {},
context?: Context,
) => Promise<Required extends true ? number : number> & {};
password: Prompt<string, PasswordConfig>;
rawlist: <Value>(config: {}, context?: Context) => Promise<Value> & {};
search: <Value>(config: {}, context?: Context) => Promise<Value> & {};
select: <Value>(config: {}, context?: Context) => Promise<Value> & {};
}