@types/node 10.12.20 → 10.12.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node/README.md +1 -1
- node/assert.d.ts +52 -0
- node/async_hooks.d.ts +144 -0
- node/buffer.d.ts +6 -0
- node/child_process.d.ts +358 -0
- node/cluster.d.ts +261 -0
- node/console.d.ts +3 -0
- node/constants.d.ts +279 -0
- node/crypto.d.ts +369 -0
- node/dgram.d.ts +97 -0
- node/dns.d.ts +292 -0
- node/domain.d.ts +16 -0
- node/events.d.ts +29 -0
- node/fs.d.ts +2272 -0
- node/globals.d.ts +1031 -0
- node/http.d.ts +247 -0
- node/http2.d.ts +861 -0
- node/https.d.ts +37 -0
- node/index.d.ts +40 -9186
- node/inspector.d.ts +0 -1
- node/module.d.ts +3 -0
- node/net.d.ts +251 -0
- node/os.d.ts +192 -0
- node/package.json +2 -2
- node/path.d.ts +159 -0
- node/perf_hooks.d.ts +241 -0
- node/process.d.ts +3 -0
- node/punycode.d.ts +12 -0
- node/querystring.d.ts +17 -0
- node/readline.d.ts +135 -0
- node/repl.d.ts +372 -0
- node/stream.d.ts +294 -0
- node/string_decoder.d.ts +9 -0
- node/timers.d.ts +16 -0
- node/tls.d.ts +371 -0
- node/trace_events.d.ts +61 -0
- node/tty.d.ts +15 -0
- node/url.d.ts +104 -0
- node/util.d.ts +173 -0
- node/v8.d.ts +28 -0
- node/vm.d.ts +64 -0
- node/worker_threads.d.ts +124 -0
- node/zlib.d.ts +141 -0
node/perf_hooks.d.ts
ADDED
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
declare module "perf_hooks" {
|
|
2
|
+
import { AsyncResource } from "async_hooks";
|
|
3
|
+
|
|
4
|
+
interface PerformanceEntry {
|
|
5
|
+
/**
|
|
6
|
+
* The total number of milliseconds elapsed for this entry.
|
|
7
|
+
* This value will not be meaningful for all Performance Entry types.
|
|
8
|
+
*/
|
|
9
|
+
readonly duration: number;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* The name of the performance entry.
|
|
13
|
+
*/
|
|
14
|
+
readonly name: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The high resolution millisecond timestamp marking the starting time of the Performance Entry.
|
|
18
|
+
*/
|
|
19
|
+
readonly startTime: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The type of the performance entry.
|
|
23
|
+
* Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'.
|
|
24
|
+
*/
|
|
25
|
+
readonly entryType: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* When performanceEntry.entryType is equal to 'gc', the performance.kind property identifies
|
|
29
|
+
* the type of garbage collection operation that occurred.
|
|
30
|
+
* The value may be one of perf_hooks.constants.
|
|
31
|
+
*/
|
|
32
|
+
readonly kind?: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
interface PerformanceNodeTiming extends PerformanceEntry {
|
|
36
|
+
/**
|
|
37
|
+
* The high resolution millisecond timestamp at which the Node.js process completed bootstrap.
|
|
38
|
+
*/
|
|
39
|
+
readonly bootstrapComplete: number;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* The high resolution millisecond timestamp at which cluster processing ended.
|
|
43
|
+
*/
|
|
44
|
+
readonly clusterSetupEnd: number;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The high resolution millisecond timestamp at which cluster processing started.
|
|
48
|
+
*/
|
|
49
|
+
readonly clusterSetupStart: number;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The high resolution millisecond timestamp at which the Node.js event loop exited.
|
|
53
|
+
*/
|
|
54
|
+
readonly loopExit: number;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The high resolution millisecond timestamp at which the Node.js event loop started.
|
|
58
|
+
*/
|
|
59
|
+
readonly loopStart: number;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The high resolution millisecond timestamp at which main module load ended.
|
|
63
|
+
*/
|
|
64
|
+
readonly moduleLoadEnd: number;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The high resolution millisecond timestamp at which main module load started.
|
|
68
|
+
*/
|
|
69
|
+
readonly moduleLoadStart: number;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The high resolution millisecond timestamp at which the Node.js process was initialized.
|
|
73
|
+
*/
|
|
74
|
+
readonly nodeStart: number;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The high resolution millisecond timestamp at which preload module load ended.
|
|
78
|
+
*/
|
|
79
|
+
readonly preloadModuleLoadEnd: number;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The high resolution millisecond timestamp at which preload module load started.
|
|
83
|
+
*/
|
|
84
|
+
readonly preloadModuleLoadStart: number;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The high resolution millisecond timestamp at which third_party_main processing ended.
|
|
88
|
+
*/
|
|
89
|
+
readonly thirdPartyMainEnd: number;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* The high resolution millisecond timestamp at which third_party_main processing started.
|
|
93
|
+
*/
|
|
94
|
+
readonly thirdPartyMainStart: number;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The high resolution millisecond timestamp at which the V8 platform was initialized.
|
|
98
|
+
*/
|
|
99
|
+
readonly v8Start: number;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
interface Performance {
|
|
103
|
+
/**
|
|
104
|
+
* If name is not provided, removes all PerformanceFunction objects from the Performance Timeline.
|
|
105
|
+
* If name is provided, removes entries with name.
|
|
106
|
+
* @param name
|
|
107
|
+
*/
|
|
108
|
+
clearFunctions(name?: string): void;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* If name is not provided, removes all PerformanceMark objects from the Performance Timeline.
|
|
112
|
+
* If name is provided, removes only the named mark.
|
|
113
|
+
* @param name
|
|
114
|
+
*/
|
|
115
|
+
clearMarks(name?: string): void;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* If name is not provided, removes all PerformanceMeasure objects from the Performance Timeline.
|
|
119
|
+
* If name is provided, removes only objects whose performanceEntry.name matches name.
|
|
120
|
+
*/
|
|
121
|
+
clearMeasures(name?: string): void;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.
|
|
125
|
+
* @return list of all PerformanceEntry objects
|
|
126
|
+
*/
|
|
127
|
+
getEntries(): PerformanceEntry[];
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
|
|
131
|
+
* whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.
|
|
132
|
+
* @param name
|
|
133
|
+
* @param type
|
|
134
|
+
* @return list of all PerformanceEntry objects
|
|
135
|
+
*/
|
|
136
|
+
getEntriesByName(name: string, type?: string): PerformanceEntry[];
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Returns a list of all PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
|
|
140
|
+
* whose performanceEntry.entryType is equal to type.
|
|
141
|
+
* @param type
|
|
142
|
+
* @return list of all PerformanceEntry objects
|
|
143
|
+
*/
|
|
144
|
+
getEntriesByType(type: string): PerformanceEntry[];
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Creates a new PerformanceMark entry in the Performance Timeline.
|
|
148
|
+
* A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark',
|
|
149
|
+
* and whose performanceEntry.duration is always 0.
|
|
150
|
+
* Performance marks are used to mark specific significant moments in the Performance Timeline.
|
|
151
|
+
* @param name
|
|
152
|
+
*/
|
|
153
|
+
mark(name?: string): void;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Creates a new PerformanceMeasure entry in the Performance Timeline.
|
|
157
|
+
* A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
|
|
158
|
+
* and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark.
|
|
159
|
+
*
|
|
160
|
+
* The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify
|
|
161
|
+
* any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist,
|
|
162
|
+
* then startMark is set to timeOrigin by default.
|
|
163
|
+
*
|
|
164
|
+
* The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp
|
|
165
|
+
* properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown.
|
|
166
|
+
* @param name
|
|
167
|
+
* @param startMark
|
|
168
|
+
* @param endMark
|
|
169
|
+
*/
|
|
170
|
+
measure(name: string, startMark: string, endMark: string): void;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
|
|
174
|
+
*/
|
|
175
|
+
readonly nodeTiming: PerformanceNodeTiming;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* @return the current high resolution millisecond timestamp
|
|
179
|
+
*/
|
|
180
|
+
now(): number;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured.
|
|
184
|
+
*/
|
|
185
|
+
readonly timeOrigin: number;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Wraps a function within a new function that measures the running time of the wrapped function.
|
|
189
|
+
* A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed.
|
|
190
|
+
* @param fn
|
|
191
|
+
*/
|
|
192
|
+
timerify<T extends (...optionalParams: any[]) => any>(fn: T): T;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
interface PerformanceObserverEntryList {
|
|
196
|
+
/**
|
|
197
|
+
* @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.
|
|
198
|
+
*/
|
|
199
|
+
getEntries(): PerformanceEntry[];
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
|
|
203
|
+
* whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.
|
|
204
|
+
*/
|
|
205
|
+
getEntriesByName(name: string, type?: string): PerformanceEntry[];
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @return Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
|
|
209
|
+
* whose performanceEntry.entryType is equal to type.
|
|
210
|
+
*/
|
|
211
|
+
getEntriesByType(type: string): PerformanceEntry[];
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void;
|
|
215
|
+
|
|
216
|
+
class PerformanceObserver extends AsyncResource {
|
|
217
|
+
constructor(callback: PerformanceObserverCallback);
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Disconnects the PerformanceObserver instance from all notifications.
|
|
221
|
+
*/
|
|
222
|
+
disconnect(): void;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes.
|
|
226
|
+
* When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance.
|
|
227
|
+
* Property buffered defaults to false.
|
|
228
|
+
* @param options
|
|
229
|
+
*/
|
|
230
|
+
observe(options: { entryTypes: string[], buffered?: boolean }): void;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
namespace constants {
|
|
234
|
+
const NODE_PERFORMANCE_GC_MAJOR: number;
|
|
235
|
+
const NODE_PERFORMANCE_GC_MINOR: number;
|
|
236
|
+
const NODE_PERFORMANCE_GC_INCREMENTAL: number;
|
|
237
|
+
const NODE_PERFORMANCE_GC_WEAKCB: number;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
const performance: Performance;
|
|
241
|
+
}
|
node/process.d.ts
ADDED
node/punycode.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare module "punycode" {
|
|
2
|
+
function decode(string: string): string;
|
|
3
|
+
function encode(string: string): string;
|
|
4
|
+
function toUnicode(domain: string): string;
|
|
5
|
+
function toASCII(domain: string): string;
|
|
6
|
+
const ucs2: ucs2;
|
|
7
|
+
interface ucs2 {
|
|
8
|
+
decode(string: string): number[];
|
|
9
|
+
encode(codePoints: number[]): string;
|
|
10
|
+
}
|
|
11
|
+
const version: any;
|
|
12
|
+
}
|
node/querystring.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare module "querystring" {
|
|
2
|
+
interface StringifyOptions {
|
|
3
|
+
encodeURIComponent?: Function;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
interface ParseOptions {
|
|
7
|
+
maxKeys?: number;
|
|
8
|
+
decodeURIComponent?: Function;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
interface ParsedUrlQuery { [key: string]: string | string[]; }
|
|
12
|
+
|
|
13
|
+
function stringify(obj?: {}, sep?: string, eq?: string, options?: StringifyOptions): string;
|
|
14
|
+
function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
|
|
15
|
+
function escape(str: string): string;
|
|
16
|
+
function unescape(str: string): string;
|
|
17
|
+
}
|
node/readline.d.ts
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
declare module "readline" {
|
|
2
|
+
import * as events from "events";
|
|
3
|
+
import * as stream from "stream";
|
|
4
|
+
|
|
5
|
+
interface Key {
|
|
6
|
+
sequence?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
ctrl?: boolean;
|
|
9
|
+
meta?: boolean;
|
|
10
|
+
shift?: boolean;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class Interface extends events.EventEmitter {
|
|
14
|
+
readonly terminal: boolean;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* NOTE: According to the documentation:
|
|
18
|
+
*
|
|
19
|
+
* > Instances of the `readline.Interface` class are constructed using the
|
|
20
|
+
* > `readline.createInterface()` method.
|
|
21
|
+
*
|
|
22
|
+
* @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
|
|
23
|
+
*/
|
|
24
|
+
protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean);
|
|
25
|
+
/**
|
|
26
|
+
* NOTE: According to the documentation:
|
|
27
|
+
*
|
|
28
|
+
* > Instances of the `readline.Interface` class are constructed using the
|
|
29
|
+
* > `readline.createInterface()` method.
|
|
30
|
+
*
|
|
31
|
+
* @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
|
|
32
|
+
*/
|
|
33
|
+
protected constructor(options: ReadLineOptions);
|
|
34
|
+
|
|
35
|
+
setPrompt(prompt: string): void;
|
|
36
|
+
prompt(preserveCursor?: boolean): void;
|
|
37
|
+
question(query: string, callback: (answer: string) => void): void;
|
|
38
|
+
pause(): this;
|
|
39
|
+
resume(): this;
|
|
40
|
+
close(): void;
|
|
41
|
+
write(data: string | Buffer, key?: Key): void;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* events.EventEmitter
|
|
45
|
+
* 1. close
|
|
46
|
+
* 2. line
|
|
47
|
+
* 3. pause
|
|
48
|
+
* 4. resume
|
|
49
|
+
* 5. SIGCONT
|
|
50
|
+
* 6. SIGINT
|
|
51
|
+
* 7. SIGTSTP
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
55
|
+
addListener(event: "close", listener: () => void): this;
|
|
56
|
+
addListener(event: "line", listener: (input: string) => void): this;
|
|
57
|
+
addListener(event: "pause", listener: () => void): this;
|
|
58
|
+
addListener(event: "resume", listener: () => void): this;
|
|
59
|
+
addListener(event: "SIGCONT", listener: () => void): this;
|
|
60
|
+
addListener(event: "SIGINT", listener: () => void): this;
|
|
61
|
+
addListener(event: "SIGTSTP", listener: () => void): this;
|
|
62
|
+
|
|
63
|
+
emit(event: string | symbol, ...args: any[]): boolean;
|
|
64
|
+
emit(event: "close"): boolean;
|
|
65
|
+
emit(event: "line", input: string): boolean;
|
|
66
|
+
emit(event: "pause"): boolean;
|
|
67
|
+
emit(event: "resume"): boolean;
|
|
68
|
+
emit(event: "SIGCONT"): boolean;
|
|
69
|
+
emit(event: "SIGINT"): boolean;
|
|
70
|
+
emit(event: "SIGTSTP"): boolean;
|
|
71
|
+
|
|
72
|
+
on(event: string, listener: (...args: any[]) => void): this;
|
|
73
|
+
on(event: "close", listener: () => void): this;
|
|
74
|
+
on(event: "line", listener: (input: string) => void): this;
|
|
75
|
+
on(event: "pause", listener: () => void): this;
|
|
76
|
+
on(event: "resume", listener: () => void): this;
|
|
77
|
+
on(event: "SIGCONT", listener: () => void): this;
|
|
78
|
+
on(event: "SIGINT", listener: () => void): this;
|
|
79
|
+
on(event: "SIGTSTP", listener: () => void): this;
|
|
80
|
+
|
|
81
|
+
once(event: string, listener: (...args: any[]) => void): this;
|
|
82
|
+
once(event: "close", listener: () => void): this;
|
|
83
|
+
once(event: "line", listener: (input: string) => void): this;
|
|
84
|
+
once(event: "pause", listener: () => void): this;
|
|
85
|
+
once(event: "resume", listener: () => void): this;
|
|
86
|
+
once(event: "SIGCONT", listener: () => void): this;
|
|
87
|
+
once(event: "SIGINT", listener: () => void): this;
|
|
88
|
+
once(event: "SIGTSTP", listener: () => void): this;
|
|
89
|
+
|
|
90
|
+
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
91
|
+
prependListener(event: "close", listener: () => void): this;
|
|
92
|
+
prependListener(event: "line", listener: (input: string) => void): this;
|
|
93
|
+
prependListener(event: "pause", listener: () => void): this;
|
|
94
|
+
prependListener(event: "resume", listener: () => void): this;
|
|
95
|
+
prependListener(event: "SIGCONT", listener: () => void): this;
|
|
96
|
+
prependListener(event: "SIGINT", listener: () => void): this;
|
|
97
|
+
prependListener(event: "SIGTSTP", listener: () => void): this;
|
|
98
|
+
|
|
99
|
+
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
100
|
+
prependOnceListener(event: "close", listener: () => void): this;
|
|
101
|
+
prependOnceListener(event: "line", listener: (input: string) => void): this;
|
|
102
|
+
prependOnceListener(event: "pause", listener: () => void): this;
|
|
103
|
+
prependOnceListener(event: "resume", listener: () => void): this;
|
|
104
|
+
prependOnceListener(event: "SIGCONT", listener: () => void): this;
|
|
105
|
+
prependOnceListener(event: "SIGINT", listener: () => void): this;
|
|
106
|
+
prependOnceListener(event: "SIGTSTP", listener: () => void): this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
type ReadLine = Interface; // type forwarded for backwards compatiblity
|
|
110
|
+
|
|
111
|
+
type Completer = (line: string) => CompleterResult;
|
|
112
|
+
type AsyncCompleter = (line: string, callback: (err: any, result: CompleterResult) => void) => any;
|
|
113
|
+
|
|
114
|
+
type CompleterResult = [string[], string];
|
|
115
|
+
|
|
116
|
+
interface ReadLineOptions {
|
|
117
|
+
input: NodeJS.ReadableStream;
|
|
118
|
+
output?: NodeJS.WritableStream;
|
|
119
|
+
completer?: Completer | AsyncCompleter;
|
|
120
|
+
terminal?: boolean;
|
|
121
|
+
historySize?: number;
|
|
122
|
+
prompt?: string;
|
|
123
|
+
crlfDelay?: number;
|
|
124
|
+
removeHistoryDuplicates?: boolean;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
|
|
128
|
+
function createInterface(options: ReadLineOptions): Interface;
|
|
129
|
+
|
|
130
|
+
function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number): void;
|
|
131
|
+
function emitKeypressEvents(stream: NodeJS.ReadableStream, interface?: Interface): void;
|
|
132
|
+
function moveCursor(stream: NodeJS.WritableStream, dx: number | string, dy: number | string): void;
|
|
133
|
+
function clearLine(stream: NodeJS.WritableStream, dir: number): void;
|
|
134
|
+
function clearScreenDown(stream: NodeJS.WritableStream): void;
|
|
135
|
+
}
|