Version: 0.0.00.0.11.0.01.0.11.1.01.1.11.1.21.1.31.1.41.1.51.1.61.1.71.1.81.1.91.1.101.1.111.1.121.1.132.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.72.0.82.0.92.0.102.0.112.0.122.0.132.0.142.0.152.0.162.0.172.0.182.0.192.0.202.0.212.1.02.1.13.0.0-alpha.03.0.0-alpha.13.0.0-alpha.23.0.0-alpha.33.0.0-alpha.43.0.0-alpha.53.0.03.0.13.1.03.1.13.1.23.1.33.1.43.1.53.1.63.1.73.2.03.2.13.2.23.3.03.3.13.3.23.3.33.3.43.3.53.3.63.3.73.3.83.3.93.3.103.3.113.3.123.3.133.3.143.3.153.3.163.3.173.3.183.3.193.3.203.3.213.3.223.3.233.3.243.3.253.3.263.3.273.3.283.3.293.3.303.3.313.4.03.4.13.5.04.0.04.0.14.1.04.2.04.2.14.2.24.2.34.3.04.3.14.4.04.4.14.5.04.5.14.6.04.6.14.6.24.6.34.7.04.7.14.7.24.7.34.8.04.8.14.8.24.9.04.9.14.9.24.9.35.0.0-05.0.0-15.0.0-25.0.0-35.0.0-45.0.05.1.05.2.05.2.15.2.25.3.05.3.15.3.25.3.35.4.05.4.15.4.25.4.35.4.45.4.55.4.65.4.75.4.85.4.95.4.105.5.05.5.15.6.25.6.35.6.45.6.55.6.65.6.76.0.06.0.16.0.26.0.36.0.46.0.56.0.66.0.76.0.86.0.9
export interface IPromptOptions {
prompt?: string;
type?: 'normal' | 'mask' | 'hide' | 'single';
timeout?: number;
/**
* Requires user input if true, otherwise allows empty input
*/
required?: boolean;
default?: string;
}
* prompt for input
export declare function prompt(name: string, options?: IPromptOptions): Promise<any>;
* confirmation prompt (yes/no)
export declare function confirm(message: string): Promise<boolean>;
* "press anykey to continue"
export declare function anykey(message?: string): Promise<void>;