ethers.js/misc/admin/lib/log.d.ts

13 lines
494 B
TypeScript
Raw Normal View History

export declare function getProgressBar(action: string): (percent: number) => void;
export declare type ColorifyFunc = (text: string) => string;
export declare const colorify: {
[format: string]: ColorifyFunc;
};
2020-09-23 05:54:48 +03:00
export declare type PromptOptions = {
choice?: Array<string>;
defaultChoice?: string;
mask?: string;
};
export declare function getPrompt(prompt: string, options: PromptOptions): Promise<string>;
export declare function getPassword(prompt: string): Promise<string>;