-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.d.ts
133 lines (130 loc) · 4.06 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
// Type definitions for chalk-advanced
// Definitions by: MarcDev
export {
ChalkAdvanced,
black,
red,
green,
yellow,
blue,
magenta,
cyan,
white,
gray,
redBright,
greenBright,
yellowBright,
blueBright,
magentaBright,
cyanBright,
whiteBright,
bgBlack,
bgRed,
bgGreen,
bgYellow,
bgBlue,
bgMagenta,
bgCyan,
bgWhite,
bgRedBright,
bgGreenBright,
bgYellowBright,
bgBlueBright,
bgMagentaBright,
bgCyanBright,
bgWhiteBright,
bold,
dim,
italic,
underline,
inverse,
hide,
strikethrough,
hex,
rgb,
hsl,
};
declare function black(text: string): string;
declare function red(text: string): string;
declare function green(text: string): string;
declare function yellow(text: string): string;
declare function blue(text: string): string;
declare function magenta(text: string): string;
declare function cyan(text: string): string;
declare function white(text: string): string;
declare function gray(text: string): string;
declare function redBright(text: string): string;
declare function greenBright(text: string): string;
declare function yellowBright(text: string): string;
declare function blueBright(text: string): string;
declare function magentaBright(text: string): string;
declare function cyanBright(text: string): string;
declare function whiteBright(text: string): string;
declare function bgBlack(text: string): string;
declare function bgRed(text: string): string;
declare function bgGreen(text: string): string;
declare function bgYellow(text: string): string;
declare function bgBlue(text: string): string;
declare function bgMagenta(text: string): string;
declare function bgCyan(text: string): string;
declare function bgWhite(text: string): string;
declare function bgRedBright(text: string): string;
declare function bgGreenBright(text: string): string;
declare function bgYellowBright(text: string): string;
declare function bgBlueBright(text: string): string;
declare function bgMagentaBright(text: string): string;
declare function bgCyanBright(text: string): string;
declare function bgWhiteBright(text: string): string;
declare function bold(text: string): string;
declare function dim(text: string): string;
declare function italic(text: string): string;
declare function underline(text: string): string;
declare function inverse(text: string): string;
declare function hide(text: string): string;
declare function strikethrough(text: string): string;
declare function hex(code: string, text: string): string;
declare function rgb(r: number, g: number, b: number, text: string): string;
declare function hsl(h: number, s: number, l: number, text: string): string;
declare class ChalkAdvanced {
black(text: string): string;
red(text: string): string;
green(text: string): string;
yellow(text: string): string;
blue(text: string): string;
magenta(text: string): string;
cyan(text: string): string;
white(text: string): string;
gray(text: string): string;
redBright(text: string): string;
greenBright(text: string): string;
yellowBright(text: string): string;
blueBright(text: string): string;
magentaBright(text: string): string;
cyanBright(text: string): string;
whiteBright(text: string): string;
bgBlack(text: string): string;
bgRed(text: string): string;
bgGreen(text: string): string;
bgYellow(text: string): string;
bgBlue(text: string): string;
bgMagenta(text: string): string;
bgCyan(text: string): string;
bgWhite(text: string): string;
bgRedBright(text: string): string;
bgGreenBright(text: string): string;
bgYellowBright(text: string): string;
bgBlueBright(text: string): string;
bgMagentaBright(text: string): string;
bgCyanBright(text: string): string;
bgWhiteBright(text: string): string;
bold(text: string): string;
dim(text: string): string;
italic(text: string): string;
underline(text: string): string;
inverse(text: string): string;
hide(text: string): string;
strikethrough(text: string): string;
hex(code: string, text: string): string;
rgb(r: number, g: number, b: number, text: string): string;
hsl(h: number, s: number, l: number, text: string): string;
}