@types/node 14.14.17 → 14.14.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 +2 -2
- node/assert.d.ts +1 -3
- node/child_process.d.ts +6 -6
- node/crypto.d.ts +20 -2
- node/dns.d.ts +5 -2
- node/domain.d.ts +2 -2
- node/events.d.ts +22 -27
- node/fs.d.ts +1 -1
- node/http.d.ts +2 -1
- node/index.d.ts +1 -0
- node/net.d.ts +1 -0
- node/package.json +8 -3
- node/stream.d.ts +3 -3
- node/url.d.ts +6 -0
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 14 Jan 2021 21:29:33 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alexander T.](https://github.com/a-tarasyuk), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Flarna](https://github.com/Flarna), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Jordi Oliveras Rovira](https://github.com/j-oliveras), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK),
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alexander T.](https://github.com/a-tarasyuk), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Flarna](https://github.com/Flarna), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Jordi Oliveras Rovira](https://github.com/j-oliveras), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), and [Yongsheng Zhang](https://github.com/ZYSzys).
|
node/assert.d.ts
CHANGED
|
@@ -2,9 +2,7 @@ declare module 'assert' {
|
|
|
2
2
|
/** An alias of `assert.ok()`. */
|
|
3
3
|
function assert(value: any, message?: string | Error): asserts value;
|
|
4
4
|
namespace assert {
|
|
5
|
-
class AssertionError
|
|
6
|
-
name: string;
|
|
7
|
-
message: string;
|
|
5
|
+
class AssertionError extends Error {
|
|
8
6
|
actual: any;
|
|
9
7
|
expected: any;
|
|
10
8
|
operator: string;
|
node/child_process.d.ts
CHANGED
|
@@ -44,42 +44,42 @@ declare module "child_process" {
|
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
46
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
47
|
-
addListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
47
|
+
addListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
48
48
|
addListener(event: "disconnect", listener: () => void): this;
|
|
49
49
|
addListener(event: "error", listener: (err: Error) => void): this;
|
|
50
50
|
addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
51
51
|
addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
52
52
|
|
|
53
53
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
54
|
-
emit(event: "close", code: number, signal: NodeJS.Signals): boolean;
|
|
54
|
+
emit(event: "close", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
55
55
|
emit(event: "disconnect"): boolean;
|
|
56
56
|
emit(event: "error", err: Error): boolean;
|
|
57
57
|
emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean;
|
|
58
58
|
emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean;
|
|
59
59
|
|
|
60
60
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
61
|
-
on(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
61
|
+
on(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
62
62
|
on(event: "disconnect", listener: () => void): this;
|
|
63
63
|
on(event: "error", listener: (err: Error) => void): this;
|
|
64
64
|
on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
65
65
|
on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
66
66
|
|
|
67
67
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
68
|
-
once(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
68
|
+
once(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
69
69
|
once(event: "disconnect", listener: () => void): this;
|
|
70
70
|
once(event: "error", listener: (err: Error) => void): this;
|
|
71
71
|
once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
72
72
|
once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
73
73
|
|
|
74
74
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
75
|
-
prependListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
75
|
+
prependListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
76
76
|
prependListener(event: "disconnect", listener: () => void): this;
|
|
77
77
|
prependListener(event: "error", listener: (err: Error) => void): this;
|
|
78
78
|
prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
79
79
|
prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this;
|
|
80
80
|
|
|
81
81
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
82
|
-
prependOnceListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this;
|
|
82
|
+
prependOnceListener(event: "close", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
|
83
83
|
prependOnceListener(event: "disconnect", listener: () => void): this;
|
|
84
84
|
prependOnceListener(event: "error", listener: (err: Error) => void): this;
|
|
85
85
|
prependOnceListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this;
|
node/crypto.d.ts
CHANGED
|
@@ -2,12 +2,30 @@ declare module 'crypto' {
|
|
|
2
2
|
import * as stream from 'stream';
|
|
3
3
|
|
|
4
4
|
interface Certificate {
|
|
5
|
+
/**
|
|
6
|
+
* @param spkac
|
|
7
|
+
* @returns The challenge component of the `spkac` data structure,
|
|
8
|
+
* which includes a public key and a challenge.
|
|
9
|
+
*/
|
|
5
10
|
exportChallenge(spkac: BinaryLike): Buffer;
|
|
6
|
-
|
|
11
|
+
/**
|
|
12
|
+
* @param spkac
|
|
13
|
+
* @param encoding The encoding of the spkac string.
|
|
14
|
+
* @returns The public key component of the `spkac` data structure,
|
|
15
|
+
* which includes a public key and a challenge.
|
|
16
|
+
*/
|
|
17
|
+
exportPublicKey(spkac: BinaryLike, encoding?: string): Buffer;
|
|
18
|
+
/**
|
|
19
|
+
* @param spkac
|
|
20
|
+
* @returns `true` if the given `spkac` data structure is valid,
|
|
21
|
+
* `false` otherwise.
|
|
22
|
+
*/
|
|
7
23
|
verifySpkac(spkac: NodeJS.ArrayBufferView): boolean;
|
|
8
24
|
}
|
|
9
|
-
const Certificate: {
|
|
25
|
+
const Certificate: Certificate & {
|
|
26
|
+
/** @deprecated since v14.9.0 - Use static methods of `crypto.Certificate` instead. */
|
|
10
27
|
new (): Certificate;
|
|
28
|
+
/** @deprecated since v14.9.0 - Use static methods of `crypto.Certificate` instead. */
|
|
11
29
|
(): Certificate;
|
|
12
30
|
};
|
|
13
31
|
|
node/dns.d.ts
CHANGED
|
@@ -277,8 +277,8 @@ declare module "dns" {
|
|
|
277
277
|
const CANCELLED: string;
|
|
278
278
|
|
|
279
279
|
class Resolver {
|
|
280
|
+
cancel(): void;
|
|
280
281
|
getServers: typeof getServers;
|
|
281
|
-
setServers: typeof setServers;
|
|
282
282
|
resolve: typeof resolve;
|
|
283
283
|
resolve4: typeof resolve4;
|
|
284
284
|
resolve6: typeof resolve6;
|
|
@@ -292,7 +292,8 @@ declare module "dns" {
|
|
|
292
292
|
resolveSrv: typeof resolveSrv;
|
|
293
293
|
resolveTxt: typeof resolveTxt;
|
|
294
294
|
reverse: typeof reverse;
|
|
295
|
-
|
|
295
|
+
setLocalAddress(ipv4?: string, ipv6?: string): void;
|
|
296
|
+
setServers: typeof setServers;
|
|
296
297
|
}
|
|
297
298
|
|
|
298
299
|
namespace promises {
|
|
@@ -351,6 +352,7 @@ declare module "dns" {
|
|
|
351
352
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
352
353
|
|
|
353
354
|
class Resolver {
|
|
355
|
+
cancel(): void;
|
|
354
356
|
getServers: typeof getServers;
|
|
355
357
|
resolve: typeof resolve;
|
|
356
358
|
resolve4: typeof resolve4;
|
|
@@ -365,6 +367,7 @@ declare module "dns" {
|
|
|
365
367
|
resolveSrv: typeof resolveSrv;
|
|
366
368
|
resolveTxt: typeof resolveTxt;
|
|
367
369
|
reverse: typeof reverse;
|
|
370
|
+
setLocalAddress(ipv4?: string, ipv6?: string): void;
|
|
368
371
|
setServers: typeof setServers;
|
|
369
372
|
}
|
|
370
373
|
}
|
node/domain.d.ts
CHANGED
node/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module
|
|
1
|
+
declare module 'events' {
|
|
2
2
|
interface EventEmitterOptions {
|
|
3
3
|
/**
|
|
4
4
|
* Enables automatic capturing of promise rejection.
|
|
@@ -14,11 +14,16 @@ declare module "events" {
|
|
|
14
14
|
addEventListener(event: string, listener: (...args: any[]) => void, opts?: { once: boolean }): any;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
interface EventEmitter extends NodeJS.EventEmitter {}
|
|
18
|
+
class EventEmitter {
|
|
19
|
+
constructor(options?: EventEmitterOptions);
|
|
20
|
+
|
|
21
|
+
static once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>;
|
|
22
|
+
static once(emitter: DOMEventTarget, event: string): Promise<any[]>;
|
|
23
|
+
static on(emitter: NodeJS.EventEmitter, event: string): AsyncIterableIterator<any>;
|
|
24
|
+
|
|
25
|
+
/** @deprecated since v4.0.0 */
|
|
26
|
+
static listenerCount(emitter: NodeJS.EventEmitter, event: string | symbol): number;
|
|
22
27
|
|
|
23
28
|
/**
|
|
24
29
|
* This symbol shall be used to install a listener for only monitoring `'error'`
|
|
@@ -29,31 +34,21 @@ declare module "events" {
|
|
|
29
34
|
* `'error'` event is emitted, therefore the process will still crash if no
|
|
30
35
|
* regular `'error'` listener is installed.
|
|
31
36
|
*/
|
|
32
|
-
|
|
37
|
+
static readonly errorMonitor: unique symbol;
|
|
38
|
+
static readonly captureRejectionSymbol: unique symbol;
|
|
39
|
+
|
|
33
40
|
/**
|
|
34
41
|
* Sets or gets the default captureRejection value for all emitters.
|
|
35
42
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
43
|
+
// TODO: These should be described using static getter/setter pairs:
|
|
44
|
+
static captureRejections: boolean;
|
|
45
|
+
static defaultMaxListeners: number;
|
|
46
|
+
}
|
|
40
47
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
static defaultMaxListeners: number;
|
|
46
|
-
/**
|
|
47
|
-
* This symbol shall be used to install a listener for only monitoring `'error'`
|
|
48
|
-
* events. Listeners installed using this symbol are called before the regular
|
|
49
|
-
* `'error'` listeners are called.
|
|
50
|
-
*
|
|
51
|
-
* Installing a listener using this symbol does not change the behavior once an
|
|
52
|
-
* `'error'` event is emitted, therefore the process will still crash if no
|
|
53
|
-
* regular `'error'` listener is installed.
|
|
54
|
-
*/
|
|
55
|
-
static readonly errorMonitor: unique symbol;
|
|
56
|
-
}
|
|
48
|
+
import internal = require('events');
|
|
49
|
+
namespace EventEmitter {
|
|
50
|
+
// Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4
|
|
51
|
+
export { internal as EventEmitter };
|
|
57
52
|
}
|
|
58
53
|
|
|
59
54
|
global {
|
node/fs.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ declare module "fs" {
|
|
|
105
105
|
* If there are no more directory entries to read, null will be returned.
|
|
106
106
|
* Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms.
|
|
107
107
|
*/
|
|
108
|
-
readSync(): Dirent;
|
|
108
|
+
readSync(): Dirent | null;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
export interface FSWatcher extends events.EventEmitter {
|
node/http.d.ts
CHANGED
|
@@ -220,6 +220,7 @@ declare module "http" {
|
|
|
220
220
|
|
|
221
221
|
method: string;
|
|
222
222
|
path: string;
|
|
223
|
+
/** @deprecated since v14.1.0 Use `request.destroy()` instead. */
|
|
223
224
|
abort(): void;
|
|
224
225
|
onSocket(socket: Socket): void;
|
|
225
226
|
setTimeout(timeout: number, callback?: () => void): this;
|
|
@@ -316,7 +317,7 @@ declare module "http" {
|
|
|
316
317
|
httpVersionMinor: number;
|
|
317
318
|
complete: boolean;
|
|
318
319
|
/**
|
|
319
|
-
* @
|
|
320
|
+
* @deprecated since v13.0.0 - Use `socket` instead.
|
|
320
321
|
*/
|
|
321
322
|
connection: Socket;
|
|
322
323
|
socket: Socket;
|
node/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
// Anna Henningsen <https://github.com/addaleax>
|
|
45
45
|
// Jason Kwok <https://github.com/JasonHK>
|
|
46
46
|
// Victor Perin <https://github.com/victorperin>
|
|
47
|
+
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
47
48
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
48
49
|
|
|
49
50
|
// NOTE: These definitions support NodeJS and TypeScript 3.7.
|
node/net.d.ts
CHANGED
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.21",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -223,6 +223,11 @@
|
|
|
223
223
|
"name": "Victor Perin",
|
|
224
224
|
"url": "https://github.com/victorperin",
|
|
225
225
|
"githubUsername": "victorperin"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "Yongsheng Zhang",
|
|
229
|
+
"url": "https://github.com/ZYSzys",
|
|
230
|
+
"githubUsername": "ZYSzys"
|
|
226
231
|
}
|
|
227
232
|
],
|
|
228
233
|
"main": "",
|
|
@@ -246,6 +251,6 @@
|
|
|
246
251
|
},
|
|
247
252
|
"scripts": {},
|
|
248
253
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
250
|
-
"typeScriptVersion": "3.
|
|
254
|
+
"typesPublisherContentHash": "1a40e0df056d33fd040f811ee3fd362ffee55f73924d333e10c98bbfd01438ed",
|
|
255
|
+
"typeScriptVersion": "3.4"
|
|
251
256
|
}
|
node/stream.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare module
|
|
2
|
-
import
|
|
1
|
+
declare module 'stream' {
|
|
2
|
+
import EventEmitter = require('events');
|
|
3
3
|
|
|
4
|
-
class internal extends
|
|
4
|
+
class internal extends EventEmitter {
|
|
5
5
|
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
|
|
6
6
|
}
|
|
7
7
|
|
node/url.d.ts
CHANGED
|
@@ -40,13 +40,19 @@ declare module "url" {
|
|
|
40
40
|
query: string | null;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
|
|
43
44
|
function parse(urlStr: string): UrlWithStringQuery;
|
|
45
|
+
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
|
|
44
46
|
function parse(urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
|
|
47
|
+
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
|
|
45
48
|
function parse(urlStr: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
|
|
49
|
+
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
|
|
46
50
|
function parse(urlStr: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
|
|
47
51
|
|
|
48
52
|
function format(URL: URL, options?: URLFormatOptions): string;
|
|
53
|
+
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
|
|
49
54
|
function format(urlObject: UrlObject | string): string;
|
|
55
|
+
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
|
|
50
56
|
function resolve(from: string, to: string): string;
|
|
51
57
|
|
|
52
58
|
function domainToASCII(domain: string): string;
|