1 | export declare const enum SupportLevel {
|
2 | none = 0,
|
3 | ansi = 1,
|
4 | ansi256 = 2
|
5 | }
|
6 | export declare let options: {
|
7 | enabled: boolean;
|
8 | supportLevel: SupportLevel;
|
9 | };
|
10 | export declare function stripColors(str: string | number): string;
|
11 | export declare const reset: (str: string | number) => string;
|
12 | export declare const bold: (str: string | number) => string;
|
13 | export declare const dim: (str: string | number) => string;
|
14 | export declare const italic: (str: string | number) => string;
|
15 | export declare const underline: (str: string | number) => string;
|
16 | export declare const inverse: (str: string | number) => string;
|
17 | export declare const hidden: (str: string | number) => string;
|
18 | export declare const strikethrough: (str: string | number) => string;
|
19 | export declare const black: (str: string | number) => string;
|
20 | export declare const red: (str: string | number) => string;
|
21 | export declare const green: (str: string | number) => string;
|
22 | export declare const yellow: (str: string | number) => string;
|
23 | export declare const blue: (str: string | number) => string;
|
24 | export declare const magenta: (str: string | number) => string;
|
25 | export declare const cyan: (str: string | number) => string;
|
26 | export declare const white: (str: string | number) => string;
|
27 | export declare const gray: (str: string | number) => string;
|
28 | export declare const lightGray: (str: string | number) => string;
|
29 | export declare const lightRed: (str: string | number) => string;
|
30 | export declare const lightGreen: (str: string | number) => string;
|
31 | export declare const lightYellow: (str: string | number) => string;
|
32 | export declare const lightBlue: (str: string | number) => string;
|
33 | export declare const lightMagenta: (str: string | number) => string;
|
34 | export declare const lightCyan: (str: string | number) => string;
|
35 | export declare const bgBlack: (str: string | number) => string;
|
36 | export declare const bgRed: (str: string | number) => string;
|
37 | export declare const bgGreen: (str: string | number) => string;
|
38 | export declare const bgYellow: (str: string | number) => string;
|
39 | export declare const bgBlue: (str: string | number) => string;
|
40 | export declare const bgMagenta: (str: string | number) => string;
|
41 | export declare const bgCyan: (str: string | number) => string;
|
42 | export declare const bgWhite: (str: string | number) => string;
|
43 | export declare const bgGray: (str: string | number) => string;
|
44 | export declare const bgLightRed: (str: string | number) => string;
|
45 | export declare const bgLightGreen: (str: string | number) => string;
|
46 | export declare const bgLightYellow: (str: string | number) => string;
|
47 | export declare const bgLightBlue: (str: string | number) => string;
|
48 | export declare const bgLightMagenta: (str: string | number) => string;
|
49 | export declare const bgLightCyan: (str: string | number) => string;
|
50 | export declare const bgLightGray: (str: string | number) => string;
|
51 | export declare const ansi256: (n: number) => (str: string | number) => string;
|
52 | export declare const ansi256Bg: (n: number) => (str: string | number) => string;
|
53 | export declare function link(text: string, url: string): string;
|