1 | declare class Log {
|
2 | debugMode: boolean;
|
3 | private bar?;
|
4 | private lines;
|
5 | debug(text: string, lines?: string[] | string): void;
|
6 | info(text: string, lines?: string[] | string): void;
|
7 | warn(text: string, lines?: string[] | string): void;
|
8 | error(text: Error | string, lines?: string[] | string): void;
|
9 | enableProgress(text: string): void;
|
10 | showProgress(percentage: number): void;
|
11 | disableProgress(): void;
|
12 | }
|
13 | export declare const log: Log;
|
14 | declare class ReportedError extends Error {
|
15 | name: string;
|
16 | wasReported: boolean;
|
17 | }
|
18 | export declare function wasReported(error?: string, lines?: string[] | string | string): ReportedError;
|
19 | export {};
|
20 |
|
\ | No newline at end of file |