@tsonic/nodejs 10.0.2 → 10.0.6
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.
- package/index/internal/index.d.ts +528 -261
- package/nodejs.Http/internal/index.d.ts +40 -24
- package/package.json +3 -3
|
@@ -9,23 +9,25 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ptr } from "@tsonic/core/types.js";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
13
|
-
import type {
|
|
14
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
15
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
16
|
-
import * as
|
|
17
|
-
import type {
|
|
18
|
-
import
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
21
|
-
import type {
|
|
22
|
-
import
|
|
23
|
-
import type {
|
|
12
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
13
|
+
import type { Dictionary_2, IAsyncEnumerable_1, ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, KeyValuePair_2 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
15
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
16
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
17
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
18
|
+
import type { SslProtocols } from "@tsonic/dotnet/System.Security.Authentication/internal/index.js";
|
|
19
|
+
import type { X509Certificate2, X509Certificate2Collection } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
20
|
+
import type { Regex } from "@tsonic/dotnet/System.Text.RegularExpressions/internal/index.js";
|
|
21
|
+
import type { Task, Task_1 } from "@tsonic/dotnet/System.Threading.Tasks/internal/index.js";
|
|
22
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
23
|
+
import type { Action, Action_1, Action_2, Action_3, AsyncCallback, Boolean as ClrBoolean, Byte, DateTime, Delegate, Double, Exception, Func_1, IAsyncResult, ICloneable, IDisposable, Int16, Int32, Int64, IntPtr, MulticastDelegate, Nullable_1, Object as ClrObject, SByte, Single, String as ClrString, UInt16, UInt32, UInt64, ValueTuple_2, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
24
24
|
|
|
25
25
|
export type DebugLogFunction = (message: string, args: unknown[]) => void;
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
export interface AddressInfo$instance {
|
|
29
|
+
readonly __tsonic_type_nodejs_AddressInfo: never;
|
|
30
|
+
|
|
29
31
|
address: string;
|
|
30
32
|
family: string;
|
|
31
33
|
port: int;
|
|
@@ -40,6 +42,8 @@ export const AddressInfo: {
|
|
|
40
42
|
export type AddressInfo = AddressInfo$instance;
|
|
41
43
|
|
|
42
44
|
export interface AnyAaaaRecord$instance extends RecordWithTtl {
|
|
45
|
+
readonly __tsonic_type_nodejs_AnyAaaaRecord: never;
|
|
46
|
+
|
|
43
47
|
readonly type: string;
|
|
44
48
|
}
|
|
45
49
|
|
|
@@ -52,6 +56,8 @@ export const AnyAaaaRecord: {
|
|
|
52
56
|
export type AnyAaaaRecord = AnyAaaaRecord$instance;
|
|
53
57
|
|
|
54
58
|
export interface AnyARecord$instance extends RecordWithTtl {
|
|
59
|
+
readonly __tsonic_type_nodejs_AnyARecord: never;
|
|
60
|
+
|
|
55
61
|
readonly type: string;
|
|
56
62
|
}
|
|
57
63
|
|
|
@@ -64,6 +70,8 @@ export const AnyARecord: {
|
|
|
64
70
|
export type AnyARecord = AnyARecord$instance;
|
|
65
71
|
|
|
66
72
|
export interface AnyCaaRecord$instance extends CaaRecord {
|
|
73
|
+
readonly __tsonic_type_nodejs_AnyCaaRecord: never;
|
|
74
|
+
|
|
67
75
|
readonly type: string;
|
|
68
76
|
}
|
|
69
77
|
|
|
@@ -76,6 +84,8 @@ export const AnyCaaRecord: {
|
|
|
76
84
|
export type AnyCaaRecord = AnyCaaRecord$instance;
|
|
77
85
|
|
|
78
86
|
export interface AnyCnameRecord$instance {
|
|
87
|
+
readonly __tsonic_type_nodejs_AnyCnameRecord: never;
|
|
88
|
+
|
|
79
89
|
readonly type: string;
|
|
80
90
|
value: string;
|
|
81
91
|
}
|
|
@@ -89,6 +99,8 @@ export const AnyCnameRecord: {
|
|
|
89
99
|
export type AnyCnameRecord = AnyCnameRecord$instance;
|
|
90
100
|
|
|
91
101
|
export interface AnyMxRecord$instance extends MxRecord {
|
|
102
|
+
readonly __tsonic_type_nodejs_AnyMxRecord: never;
|
|
103
|
+
|
|
92
104
|
readonly type: string;
|
|
93
105
|
}
|
|
94
106
|
|
|
@@ -101,6 +113,8 @@ export const AnyMxRecord: {
|
|
|
101
113
|
export type AnyMxRecord = AnyMxRecord$instance;
|
|
102
114
|
|
|
103
115
|
export interface AnyNaptrRecord$instance extends NaptrRecord {
|
|
116
|
+
readonly __tsonic_type_nodejs_AnyNaptrRecord: never;
|
|
117
|
+
|
|
104
118
|
readonly type: string;
|
|
105
119
|
}
|
|
106
120
|
|
|
@@ -113,6 +127,8 @@ export const AnyNaptrRecord: {
|
|
|
113
127
|
export type AnyNaptrRecord = AnyNaptrRecord$instance;
|
|
114
128
|
|
|
115
129
|
export interface AnyNsRecord$instance {
|
|
130
|
+
readonly __tsonic_type_nodejs_AnyNsRecord: never;
|
|
131
|
+
|
|
116
132
|
readonly type: string;
|
|
117
133
|
value: string;
|
|
118
134
|
}
|
|
@@ -126,6 +142,8 @@ export const AnyNsRecord: {
|
|
|
126
142
|
export type AnyNsRecord = AnyNsRecord$instance;
|
|
127
143
|
|
|
128
144
|
export interface AnyPtrRecord$instance {
|
|
145
|
+
readonly __tsonic_type_nodejs_AnyPtrRecord: never;
|
|
146
|
+
|
|
129
147
|
readonly type: string;
|
|
130
148
|
value: string;
|
|
131
149
|
}
|
|
@@ -139,6 +157,8 @@ export const AnyPtrRecord: {
|
|
|
139
157
|
export type AnyPtrRecord = AnyPtrRecord$instance;
|
|
140
158
|
|
|
141
159
|
export interface AnyRecord$instance {
|
|
160
|
+
readonly __tsonic_type_nodejs_AnyRecord: never;
|
|
161
|
+
|
|
142
162
|
type: string;
|
|
143
163
|
}
|
|
144
164
|
|
|
@@ -150,6 +170,8 @@ export const AnyRecord: (abstract new() => AnyRecord) & {
|
|
|
150
170
|
export type AnyRecord = AnyRecord$instance;
|
|
151
171
|
|
|
152
172
|
export interface AnySoaRecord$instance extends SoaRecord {
|
|
173
|
+
readonly __tsonic_type_nodejs_AnySoaRecord: never;
|
|
174
|
+
|
|
153
175
|
readonly type: string;
|
|
154
176
|
}
|
|
155
177
|
|
|
@@ -162,6 +184,8 @@ export const AnySoaRecord: {
|
|
|
162
184
|
export type AnySoaRecord = AnySoaRecord$instance;
|
|
163
185
|
|
|
164
186
|
export interface AnySrvRecord$instance extends SrvRecord {
|
|
187
|
+
readonly __tsonic_type_nodejs_AnySrvRecord: never;
|
|
188
|
+
|
|
165
189
|
readonly type: string;
|
|
166
190
|
}
|
|
167
191
|
|
|
@@ -174,6 +198,8 @@ export const AnySrvRecord: {
|
|
|
174
198
|
export type AnySrvRecord = AnySrvRecord$instance;
|
|
175
199
|
|
|
176
200
|
export interface AnyTlsaRecord$instance extends TlsaRecord {
|
|
201
|
+
readonly __tsonic_type_nodejs_AnyTlsaRecord: never;
|
|
202
|
+
|
|
177
203
|
readonly type: string;
|
|
178
204
|
}
|
|
179
205
|
|
|
@@ -186,6 +212,8 @@ export const AnyTlsaRecord: {
|
|
|
186
212
|
export type AnyTlsaRecord = AnyTlsaRecord$instance;
|
|
187
213
|
|
|
188
214
|
export interface AnyTxtRecord$instance {
|
|
215
|
+
readonly __tsonic_type_nodejs_AnyTxtRecord: never;
|
|
216
|
+
|
|
189
217
|
entries: string[];
|
|
190
218
|
readonly type: string;
|
|
191
219
|
}
|
|
@@ -199,6 +227,10 @@ export const AnyTxtRecord: {
|
|
|
199
227
|
export type AnyTxtRecord = AnyTxtRecord$instance;
|
|
200
228
|
|
|
201
229
|
export interface AssertionError$instance extends Exception {
|
|
230
|
+
readonly __tsonic_type_nodejs_AssertionError: never;
|
|
231
|
+
|
|
232
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
233
|
+
|
|
202
234
|
get actual(): unknown | undefined;
|
|
203
235
|
set actual(value: unknown | undefined);
|
|
204
236
|
readonly code: string;
|
|
@@ -217,11 +249,13 @@ export const AssertionError: {
|
|
|
217
249
|
export type AssertionError = AssertionError$instance;
|
|
218
250
|
|
|
219
251
|
export interface BindOptions$instance {
|
|
252
|
+
readonly __tsonic_type_nodejs_BindOptions: never;
|
|
253
|
+
|
|
220
254
|
get address(): string | undefined;
|
|
221
255
|
set address(value: string | undefined);
|
|
222
256
|
exclusive: boolean;
|
|
223
|
-
fd:
|
|
224
|
-
port:
|
|
257
|
+
fd: Nullable_1<System_Internal.Int32>;
|
|
258
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
225
259
|
}
|
|
226
260
|
|
|
227
261
|
|
|
@@ -233,6 +267,8 @@ export const BindOptions: {
|
|
|
233
267
|
export type BindOptions = BindOptions$instance;
|
|
234
268
|
|
|
235
269
|
export interface BlockList$instance {
|
|
270
|
+
readonly __tsonic_type_nodejs_BlockList: never;
|
|
271
|
+
|
|
236
272
|
addAddress(address: string, type?: string): void;
|
|
237
273
|
addRange(start: string, end: string, type?: string): void;
|
|
238
274
|
addSubnet(network: string, prefix: int, type?: string): void;
|
|
@@ -249,9 +285,11 @@ export const BlockList: {
|
|
|
249
285
|
export type BlockList = BlockList$instance;
|
|
250
286
|
|
|
251
287
|
export interface BrotliOptions$instance {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
288
|
+
readonly __tsonic_type_nodejs_BrotliOptions: never;
|
|
289
|
+
|
|
290
|
+
chunkSize: Nullable_1<System_Internal.Int32>;
|
|
291
|
+
maxOutputLength: Nullable_1<System_Internal.Int32>;
|
|
292
|
+
quality: Nullable_1<System_Internal.Int32>;
|
|
255
293
|
}
|
|
256
294
|
|
|
257
295
|
|
|
@@ -263,15 +301,17 @@ export const BrotliOptions: {
|
|
|
263
301
|
export type BrotliOptions = BrotliOptions$instance;
|
|
264
302
|
|
|
265
303
|
export interface Buffer$instance {
|
|
304
|
+
readonly __tsonic_type_nodejs_Buffer: never;
|
|
305
|
+
|
|
266
306
|
[index: number]: byte;
|
|
267
307
|
readonly length: int;
|
|
268
|
-
compare(target: Buffer, targetStart?:
|
|
269
|
-
copy(target: Buffer, targetStart?: int, sourceStart?:
|
|
308
|
+
compare(target: Buffer, targetStart?: Nullable_1<System_Internal.Int32>, targetEnd?: Nullable_1<System_Internal.Int32>, sourceStart?: Nullable_1<System_Internal.Int32>, sourceEnd?: Nullable_1<System_Internal.Int32>): int;
|
|
309
|
+
copy(target: Buffer, targetStart?: int, sourceStart?: Nullable_1<System_Internal.Int32>, sourceEnd?: Nullable_1<System_Internal.Int32>): int;
|
|
270
310
|
equals(otherBuffer: Buffer): boolean;
|
|
271
|
-
fill(value: unknown, offset?: int, end?:
|
|
311
|
+
fill(value: unknown, offset?: int, end?: Nullable_1<System_Internal.Int32>, encoding?: string): Buffer;
|
|
272
312
|
includes(value: unknown, byteOffset?: int, encoding?: string): boolean;
|
|
273
313
|
indexOf(value: unknown, byteOffset?: int, encoding?: string): int;
|
|
274
|
-
lastIndexOf(value: unknown, byteOffset?:
|
|
314
|
+
lastIndexOf(value: unknown, byteOffset?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
|
|
275
315
|
readBigInt64BE(offset?: int): long;
|
|
276
316
|
readBigInt64LE(offset?: int): long;
|
|
277
317
|
readBigUint64BE(offset?: int): ulong;
|
|
@@ -304,14 +344,14 @@ export interface Buffer$instance {
|
|
|
304
344
|
readUintLE(offset: int, byteLength: int): ulong;
|
|
305
345
|
readUIntLE(offset: int, byteLength: int): ulong;
|
|
306
346
|
reverse(): Buffer;
|
|
307
|
-
slice(start?:
|
|
308
|
-
subarray(start?:
|
|
347
|
+
slice(start?: Nullable_1<System_Internal.Int32>, end?: Nullable_1<System_Internal.Int32>): Buffer;
|
|
348
|
+
subarray(start?: Nullable_1<System_Internal.Int32>, end?: Nullable_1<System_Internal.Int32>): Buffer;
|
|
309
349
|
swap16(): Buffer;
|
|
310
350
|
swap32(): Buffer;
|
|
311
351
|
swap64(): Buffer;
|
|
312
352
|
toJSON(): unknown;
|
|
313
|
-
toString(encoding?: string, start?: int, end?:
|
|
314
|
-
write(str: string, offset?: int, length?:
|
|
353
|
+
toString(encoding?: string, start?: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
354
|
+
write(str: string, offset?: int, length?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
|
|
315
355
|
writeBigInt64BE(value: long, offset?: int): int;
|
|
316
356
|
writeBigInt64LE(value: long, offset?: int): int;
|
|
317
357
|
writeBigUint64BE(value: ulong, offset?: int): int;
|
|
@@ -353,7 +393,7 @@ export const Buffer: {
|
|
|
353
393
|
allocUnsafeSlow(size: int): Buffer;
|
|
354
394
|
byteLength(str: string, encoding?: string): int;
|
|
355
395
|
compare(buf1: Buffer, buf2: Buffer): int;
|
|
356
|
-
concat(list: Buffer[], totalLength?:
|
|
396
|
+
concat(list: Buffer[], totalLength?: Nullable_1<System_Internal.Int32>): Buffer;
|
|
357
397
|
from(buffer: Buffer): Buffer;
|
|
358
398
|
from(array: byte[]): Buffer;
|
|
359
399
|
from(array: int[]): Buffer;
|
|
@@ -367,6 +407,8 @@ export const Buffer: {
|
|
|
367
407
|
export type Buffer = Buffer$instance;
|
|
368
408
|
|
|
369
409
|
export interface BufferConstants$instance {
|
|
410
|
+
readonly __tsonic_type_nodejs_BufferConstants: never;
|
|
411
|
+
|
|
370
412
|
readonly MAX_LENGTH: int;
|
|
371
413
|
readonly MAX_STRING_LENGTH: int;
|
|
372
414
|
}
|
|
@@ -380,6 +422,8 @@ export const BufferConstants: {
|
|
|
380
422
|
export type BufferConstants = BufferConstants$instance;
|
|
381
423
|
|
|
382
424
|
export interface CaaRecord$instance {
|
|
425
|
+
readonly __tsonic_type_nodejs_CaaRecord: never;
|
|
426
|
+
|
|
383
427
|
get contactemail(): string | undefined;
|
|
384
428
|
set contactemail(value: string | undefined);
|
|
385
429
|
get contactphone(): string | undefined;
|
|
@@ -402,8 +446,10 @@ export const CaaRecord: {
|
|
|
402
446
|
export type CaaRecord = CaaRecord$instance;
|
|
403
447
|
|
|
404
448
|
export interface ChildProcess$instance extends EventEmitter {
|
|
449
|
+
readonly __tsonic_type_nodejs_ChildProcess: never;
|
|
450
|
+
|
|
405
451
|
connected: boolean;
|
|
406
|
-
exitCode:
|
|
452
|
+
exitCode: Nullable_1<System_Internal.Int32>;
|
|
407
453
|
readonly killed: boolean;
|
|
408
454
|
readonly pid: int;
|
|
409
455
|
referenced: boolean;
|
|
@@ -420,7 +466,7 @@ export interface ChildProcess$instance extends EventEmitter {
|
|
|
420
466
|
disconnect(): void;
|
|
421
467
|
kill(signal?: string): boolean;
|
|
422
468
|
ref(): void;
|
|
423
|
-
send(message: unknown, sendHandle?: unknown, options?: unknown, callback?:
|
|
469
|
+
send(message: unknown, sendHandle?: unknown, options?: unknown, callback?: Action_1<Exception>): boolean;
|
|
424
470
|
unref(): void;
|
|
425
471
|
}
|
|
426
472
|
|
|
@@ -432,6 +478,8 @@ export const ChildProcess: {
|
|
|
432
478
|
export type ChildProcess = ChildProcess$instance;
|
|
433
479
|
|
|
434
480
|
export interface Cipher$instance extends Transform {
|
|
481
|
+
readonly __tsonic_type_nodejs_Cipher: never;
|
|
482
|
+
|
|
435
483
|
Dispose(): void;
|
|
436
484
|
final(outputEncoding?: string): string;
|
|
437
485
|
final(): byte[];
|
|
@@ -451,6 +499,8 @@ export const Cipher: {
|
|
|
451
499
|
export type Cipher = Cipher$instance;
|
|
452
500
|
|
|
453
501
|
export interface CipherNameAndProtocol$instance {
|
|
502
|
+
readonly __tsonic_type_nodejs_CipherNameAndProtocol: never;
|
|
503
|
+
|
|
454
504
|
name: string;
|
|
455
505
|
standardName: string;
|
|
456
506
|
version: string;
|
|
@@ -465,11 +515,13 @@ export const CipherNameAndProtocol: {
|
|
|
465
515
|
export type CipherNameAndProtocol = CipherNameAndProtocol$instance;
|
|
466
516
|
|
|
467
517
|
export interface CommonConnectionOptions$instance {
|
|
518
|
+
readonly __tsonic_type_nodejs_CommonConnectionOptions: never;
|
|
519
|
+
|
|
468
520
|
get ALPNProtocols(): string[] | undefined;
|
|
469
521
|
set ALPNProtocols(value: string[] | undefined);
|
|
470
|
-
enableTrace:
|
|
471
|
-
rejectUnauthorized:
|
|
472
|
-
requestCert:
|
|
522
|
+
enableTrace: Nullable_1<System_Internal.Boolean>;
|
|
523
|
+
rejectUnauthorized: Nullable_1<System_Internal.Boolean>;
|
|
524
|
+
requestCert: Nullable_1<System_Internal.Boolean>;
|
|
473
525
|
get secureContext(): SecureContext | undefined;
|
|
474
526
|
set secureContext(value: SecureContext | undefined);
|
|
475
527
|
}
|
|
@@ -483,6 +535,8 @@ export const CommonConnectionOptions: {
|
|
|
483
535
|
export type CommonConnectionOptions = CommonConnectionOptions$instance;
|
|
484
536
|
|
|
485
537
|
export interface ConnectionOptions$instance extends CommonConnectionOptions {
|
|
538
|
+
readonly __tsonic_type_nodejs_ConnectionOptions: never;
|
|
539
|
+
|
|
486
540
|
get ca(): unknown | undefined;
|
|
487
541
|
set ca(value: unknown | undefined);
|
|
488
542
|
get cert(): unknown | undefined;
|
|
@@ -493,10 +547,10 @@ export interface ConnectionOptions$instance extends CommonConnectionOptions {
|
|
|
493
547
|
set key(value: unknown | undefined);
|
|
494
548
|
get passphrase(): string | undefined;
|
|
495
549
|
set passphrase(value: string | undefined);
|
|
496
|
-
port:
|
|
550
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
497
551
|
get servername(): string | undefined;
|
|
498
552
|
set servername(value: string | undefined);
|
|
499
|
-
timeout:
|
|
553
|
+
timeout: Nullable_1<System_Internal.Int32>;
|
|
500
554
|
}
|
|
501
555
|
|
|
502
556
|
|
|
@@ -508,6 +562,8 @@ export const ConnectionOptions: {
|
|
|
508
562
|
export type ConnectionOptions = ConnectionOptions$instance;
|
|
509
563
|
|
|
510
564
|
export interface ConsoleConstructor$instance {
|
|
565
|
+
readonly __tsonic_type_nodejs_ConsoleConstructor: never;
|
|
566
|
+
|
|
511
567
|
assert(value: boolean, message?: string, ...optionalParams: unknown[]): void;
|
|
512
568
|
clear(): void;
|
|
513
569
|
count(label?: string): void;
|
|
@@ -534,13 +590,15 @@ export interface ConsoleConstructor$instance {
|
|
|
534
590
|
|
|
535
591
|
|
|
536
592
|
export const ConsoleConstructor: {
|
|
537
|
-
new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions:
|
|
593
|
+
new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions: Nullable_1<System_Internal.Int32>, groupIndentation: boolean): ConsoleConstructor;
|
|
538
594
|
};
|
|
539
595
|
|
|
540
596
|
|
|
541
597
|
export type ConsoleConstructor = ConsoleConstructor$instance;
|
|
542
598
|
|
|
543
599
|
export interface CpuInfo$instance {
|
|
600
|
+
readonly __tsonic_type_nodejs_CpuInfo: never;
|
|
601
|
+
|
|
544
602
|
model: string;
|
|
545
603
|
speed: int;
|
|
546
604
|
times: CpuTimes;
|
|
@@ -555,6 +613,8 @@ export const CpuInfo: {
|
|
|
555
613
|
export type CpuInfo = CpuInfo$instance;
|
|
556
614
|
|
|
557
615
|
export interface CpuTimes$instance {
|
|
616
|
+
readonly __tsonic_type_nodejs_CpuTimes: never;
|
|
617
|
+
|
|
558
618
|
idle: long;
|
|
559
619
|
irq: long;
|
|
560
620
|
nice: long;
|
|
@@ -571,6 +631,8 @@ export const CpuTimes: {
|
|
|
571
631
|
export type CpuTimes = CpuTimes$instance;
|
|
572
632
|
|
|
573
633
|
export interface CursorPosition$instance {
|
|
634
|
+
readonly __tsonic_type_nodejs_CursorPosition: never;
|
|
635
|
+
|
|
574
636
|
cols: int;
|
|
575
637
|
rows: int;
|
|
576
638
|
}
|
|
@@ -584,6 +646,8 @@ export const CursorPosition: {
|
|
|
584
646
|
export type CursorPosition = CursorPosition$instance;
|
|
585
647
|
|
|
586
648
|
export interface Decipher$instance extends Transform {
|
|
649
|
+
readonly __tsonic_type_nodejs_Decipher: never;
|
|
650
|
+
|
|
587
651
|
Dispose(): void;
|
|
588
652
|
final(outputEncoding?: string): string;
|
|
589
653
|
final(): byte[];
|
|
@@ -602,6 +666,8 @@ export const Decipher: {
|
|
|
602
666
|
export type Decipher = Decipher$instance;
|
|
603
667
|
|
|
604
668
|
export interface DetailedPeerCertificate$instance extends PeerCertificate {
|
|
669
|
+
readonly __tsonic_type_nodejs_DetailedPeerCertificate: never;
|
|
670
|
+
|
|
605
671
|
get issuerCertificate(): DetailedPeerCertificate | undefined;
|
|
606
672
|
set issuerCertificate(value: DetailedPeerCertificate | undefined);
|
|
607
673
|
}
|
|
@@ -615,6 +681,8 @@ export const DetailedPeerCertificate: {
|
|
|
615
681
|
export type DetailedPeerCertificate = DetailedPeerCertificate$instance;
|
|
616
682
|
|
|
617
683
|
export interface DgramSocket$instance extends EventEmitter {
|
|
684
|
+
readonly __tsonic_type_nodejs_DgramSocket: never;
|
|
685
|
+
|
|
618
686
|
addMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
619
687
|
address(): AddressInfo;
|
|
620
688
|
addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
|
|
@@ -634,15 +702,15 @@ export interface DgramSocket$instance extends EventEmitter {
|
|
|
634
702
|
getSendQueueSize(): int;
|
|
635
703
|
ref(): DgramSocket;
|
|
636
704
|
remoteAddress(): AddressInfo;
|
|
637
|
-
send(msg: byte[], port?:
|
|
638
|
-
send(msg: string, port?:
|
|
639
|
-
send(msg: byte[], port: int, callback:
|
|
640
|
-
send(msg: string, port: int, callback:
|
|
641
|
-
send(msg: byte[], callback:
|
|
642
|
-
send(msg: string, callback:
|
|
643
|
-
send(msg: byte[], offset: int, length: int, port?:
|
|
644
|
-
send(msg: byte[], offset: int, length: int, port: int, callback:
|
|
645
|
-
send(msg: byte[], offset: int, length: int, callback:
|
|
705
|
+
send(msg: byte[], port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
|
|
706
|
+
send(msg: string, port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
|
|
707
|
+
send(msg: byte[], port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
708
|
+
send(msg: string, port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
709
|
+
send(msg: byte[], callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
710
|
+
send(msg: string, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
711
|
+
send(msg: byte[], offset: int, length: int, port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
|
|
712
|
+
send(msg: byte[], offset: int, length: int, port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
713
|
+
send(msg: byte[], offset: int, length: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
646
714
|
setBroadcast(flag: boolean): void;
|
|
647
715
|
setMulticastInterface(multicastInterface: string): void;
|
|
648
716
|
setMulticastLoopback(flag: boolean): boolean;
|
|
@@ -661,6 +729,10 @@ export const DgramSocket: {
|
|
|
661
729
|
export type DgramSocket = DgramSocket$instance;
|
|
662
730
|
|
|
663
731
|
export interface DiffieHellman$instance {
|
|
732
|
+
readonly __tsonic_type_nodejs_DiffieHellman: never;
|
|
733
|
+
|
|
734
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
735
|
+
|
|
664
736
|
computeSecret(otherPublicKey: string, inputEncoding?: string, outputEncoding?: string): string;
|
|
665
737
|
computeSecret(otherPublicKey: byte[], outputEncoding?: string): string;
|
|
666
738
|
computeSecret(otherPublicKey: byte[]): byte[];
|
|
@@ -691,29 +763,31 @@ export const DiffieHellman: {
|
|
|
691
763
|
export type DiffieHellman = DiffieHellman$instance;
|
|
692
764
|
|
|
693
765
|
export interface DnsPromises$instance {
|
|
766
|
+
readonly __tsonic_type_nodejs_DnsPromises: never;
|
|
767
|
+
|
|
694
768
|
getDefaultResultOrder(): string;
|
|
695
769
|
getServers(): string[];
|
|
696
|
-
lookup(hostname: string, options?: LookupOptions):
|
|
697
|
-
lookupAll(hostname: string, options?: LookupOptions):
|
|
698
|
-
lookupService(address: string, port: int):
|
|
699
|
-
resolve(hostname: string):
|
|
700
|
-
resolve(hostname: string, rrtype: string):
|
|
701
|
-
resolve4(hostname: string):
|
|
702
|
-
resolve4(hostname: string, options: ResolveOptions):
|
|
703
|
-
resolve6(hostname: string):
|
|
704
|
-
resolve6(hostname: string, options: ResolveOptions):
|
|
705
|
-
resolveAny(hostname: string):
|
|
706
|
-
resolveCaa(hostname: string):
|
|
707
|
-
resolveCname(hostname: string):
|
|
708
|
-
resolveMx(hostname: string):
|
|
709
|
-
resolveNaptr(hostname: string):
|
|
710
|
-
resolveNs(hostname: string):
|
|
711
|
-
resolvePtr(hostname: string):
|
|
712
|
-
resolveSoa(hostname: string):
|
|
713
|
-
resolveSrv(hostname: string):
|
|
714
|
-
resolveTlsa(hostname: string):
|
|
715
|
-
resolveTxt(hostname: string):
|
|
716
|
-
reverse(ip: string):
|
|
770
|
+
lookup(hostname: string, options?: LookupOptions): Task_1<LookupAddress>;
|
|
771
|
+
lookupAll(hostname: string, options?: LookupOptions): Task_1<LookupAddress[]>;
|
|
772
|
+
lookupService(address: string, port: int): Task_1<LookupServiceResult>;
|
|
773
|
+
resolve(hostname: string): Task_1<string[]>;
|
|
774
|
+
resolve(hostname: string, rrtype: string): Task_1<unknown>;
|
|
775
|
+
resolve4(hostname: string): Task_1<string[]>;
|
|
776
|
+
resolve4(hostname: string, options: ResolveOptions): Task_1<unknown>;
|
|
777
|
+
resolve6(hostname: string): Task_1<string[]>;
|
|
778
|
+
resolve6(hostname: string, options: ResolveOptions): Task_1<unknown>;
|
|
779
|
+
resolveAny(hostname: string): Task_1<unknown[]>;
|
|
780
|
+
resolveCaa(hostname: string): Task_1<CaaRecord[]>;
|
|
781
|
+
resolveCname(hostname: string): Task_1<string[]>;
|
|
782
|
+
resolveMx(hostname: string): Task_1<MxRecord[]>;
|
|
783
|
+
resolveNaptr(hostname: string): Task_1<NaptrRecord[]>;
|
|
784
|
+
resolveNs(hostname: string): Task_1<string[]>;
|
|
785
|
+
resolvePtr(hostname: string): Task_1<string[]>;
|
|
786
|
+
resolveSoa(hostname: string): Task_1<SoaRecord>;
|
|
787
|
+
resolveSrv(hostname: string): Task_1<SrvRecord[]>;
|
|
788
|
+
resolveTlsa(hostname: string): Task_1<TlsaRecord[]>;
|
|
789
|
+
resolveTxt(hostname: string): Task_1<string[][]>;
|
|
790
|
+
reverse(ip: string): Task_1<string[]>;
|
|
717
791
|
setDefaultResultOrder(order: string): void;
|
|
718
792
|
setServers(servers: string[]): void;
|
|
719
793
|
}
|
|
@@ -727,8 +801,12 @@ export const DnsPromises: {
|
|
|
727
801
|
export type DnsPromises = DnsPromises$instance;
|
|
728
802
|
|
|
729
803
|
export interface DSAPrivateKeyObject$instance extends KeyObject {
|
|
804
|
+
readonly __tsonic_type_nodejs_DSAPrivateKeyObject: never;
|
|
805
|
+
|
|
806
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
807
|
+
|
|
730
808
|
readonly asymmetricKeyType: string | undefined;
|
|
731
|
-
readonly symmetricKeySize:
|
|
809
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
732
810
|
readonly type: string;
|
|
733
811
|
Dispose(): void;
|
|
734
812
|
export(options?: unknown): unknown;
|
|
@@ -742,8 +820,12 @@ export const DSAPrivateKeyObject: {
|
|
|
742
820
|
export type DSAPrivateKeyObject = DSAPrivateKeyObject$instance;
|
|
743
821
|
|
|
744
822
|
export interface DSAPublicKeyObject$instance extends KeyObject {
|
|
823
|
+
readonly __tsonic_type_nodejs_DSAPublicKeyObject: never;
|
|
824
|
+
|
|
825
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
826
|
+
|
|
745
827
|
readonly asymmetricKeyType: string | undefined;
|
|
746
|
-
readonly symmetricKeySize:
|
|
828
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
747
829
|
readonly type: string;
|
|
748
830
|
Dispose(): void;
|
|
749
831
|
export(options?: unknown): unknown;
|
|
@@ -757,6 +839,8 @@ export const DSAPublicKeyObject: {
|
|
|
757
839
|
export type DSAPublicKeyObject = DSAPublicKeyObject$instance;
|
|
758
840
|
|
|
759
841
|
export interface Duplex$instance extends Readable {
|
|
842
|
+
readonly __tsonic_type_nodejs_Duplex: never;
|
|
843
|
+
|
|
760
844
|
readonly writable: boolean;
|
|
761
845
|
readonly writableCorked: boolean;
|
|
762
846
|
readonly writableEnded: boolean;
|
|
@@ -778,6 +862,10 @@ export const Duplex: {
|
|
|
778
862
|
export type Duplex = Duplex$instance;
|
|
779
863
|
|
|
780
864
|
export interface ECDH$instance {
|
|
865
|
+
readonly __tsonic_type_nodejs_ECDH: never;
|
|
866
|
+
|
|
867
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
868
|
+
|
|
781
869
|
computeSecret(otherPublicKey: string, inputEncoding?: string, outputEncoding?: string): string;
|
|
782
870
|
computeSecret(otherPublicKey: byte[], outputEncoding?: string): string;
|
|
783
871
|
computeSecret(otherPublicKey: byte[]): byte[];
|
|
@@ -803,8 +891,12 @@ export const ECDH: {
|
|
|
803
891
|
export type ECDH = ECDH$instance;
|
|
804
892
|
|
|
805
893
|
export interface EdDSAPrivateKeyObject$instance extends KeyObject {
|
|
894
|
+
readonly __tsonic_type_nodejs_EdDSAPrivateKeyObject: never;
|
|
895
|
+
|
|
896
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
897
|
+
|
|
806
898
|
readonly asymmetricKeyType: string | undefined;
|
|
807
|
-
readonly symmetricKeySize:
|
|
899
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
808
900
|
readonly type: string;
|
|
809
901
|
Dispose(): void;
|
|
810
902
|
export(options?: unknown): unknown;
|
|
@@ -818,8 +910,12 @@ export const EdDSAPrivateKeyObject: {
|
|
|
818
910
|
export type EdDSAPrivateKeyObject = EdDSAPrivateKeyObject$instance;
|
|
819
911
|
|
|
820
912
|
export interface EdDSAPublicKeyObject$instance extends KeyObject {
|
|
913
|
+
readonly __tsonic_type_nodejs_EdDSAPublicKeyObject: never;
|
|
914
|
+
|
|
915
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
916
|
+
|
|
821
917
|
readonly asymmetricKeyType: string | undefined;
|
|
822
|
-
readonly symmetricKeySize:
|
|
918
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
823
919
|
readonly type: string;
|
|
824
920
|
Dispose(): void;
|
|
825
921
|
export(options?: unknown): unknown;
|
|
@@ -833,6 +929,8 @@ export const EdDSAPublicKeyObject: {
|
|
|
833
929
|
export type EdDSAPublicKeyObject = EdDSAPublicKeyObject$instance;
|
|
834
930
|
|
|
835
931
|
export interface EphemeralKeyInfo$instance {
|
|
932
|
+
readonly __tsonic_type_nodejs_EphemeralKeyInfo: never;
|
|
933
|
+
|
|
836
934
|
get name(): string | undefined;
|
|
837
935
|
set name(value: string | undefined);
|
|
838
936
|
size: int;
|
|
@@ -848,6 +946,8 @@ export const EphemeralKeyInfo: {
|
|
|
848
946
|
export type EphemeralKeyInfo = EphemeralKeyInfo$instance;
|
|
849
947
|
|
|
850
948
|
export interface EventEmitter$instance {
|
|
949
|
+
readonly __tsonic_type_nodejs_EventEmitter: never;
|
|
950
|
+
|
|
851
951
|
addListener(eventName: string, listener: Function): EventEmitter;
|
|
852
952
|
emit(eventName: string, ...args: unknown[]): boolean;
|
|
853
953
|
eventNames(): string[];
|
|
@@ -869,13 +969,15 @@ export interface EventEmitter$instance {
|
|
|
869
969
|
export const EventEmitter: {
|
|
870
970
|
new(): EventEmitter;
|
|
871
971
|
defaultMaxListeners: int;
|
|
872
|
-
once(emitter: EventEmitter, eventName: string):
|
|
972
|
+
once(emitter: EventEmitter, eventName: string): Task_1<(unknown | undefined)[]>;
|
|
873
973
|
};
|
|
874
974
|
|
|
875
975
|
|
|
876
976
|
export type EventEmitter = EventEmitter$instance;
|
|
877
977
|
|
|
878
978
|
export interface ExecOptions$instance {
|
|
979
|
+
readonly __tsonic_type_nodejs_ExecOptions: never;
|
|
980
|
+
|
|
879
981
|
get argv0(): string | undefined;
|
|
880
982
|
set argv0(value: string | undefined);
|
|
881
983
|
get cwd(): string | undefined;
|
|
@@ -885,7 +987,7 @@ export interface ExecOptions$instance {
|
|
|
885
987
|
set encoding(value: string | undefined);
|
|
886
988
|
get env(): unknown | undefined;
|
|
887
989
|
set env(value: unknown | undefined);
|
|
888
|
-
gid:
|
|
990
|
+
gid: Nullable_1<System_Internal.Int32>;
|
|
889
991
|
get input(): string | undefined;
|
|
890
992
|
set input(value: string | undefined);
|
|
891
993
|
get killSignal(): string | undefined;
|
|
@@ -896,7 +998,7 @@ export interface ExecOptions$instance {
|
|
|
896
998
|
get stdio(): string | undefined;
|
|
897
999
|
set stdio(value: string | undefined);
|
|
898
1000
|
timeout: int;
|
|
899
|
-
uid:
|
|
1001
|
+
uid: Nullable_1<System_Internal.Int32>;
|
|
900
1002
|
windowsHide: boolean;
|
|
901
1003
|
windowsVerbatimArguments: boolean;
|
|
902
1004
|
}
|
|
@@ -910,30 +1012,32 @@ export const ExecOptions: {
|
|
|
910
1012
|
export type ExecOptions = ExecOptions$instance;
|
|
911
1013
|
|
|
912
1014
|
export interface FsPromises$instance {
|
|
1015
|
+
readonly __tsonic_type_nodejs_FsPromises: never;
|
|
1016
|
+
|
|
913
1017
|
access(path: string, mode?: int): Task;
|
|
914
1018
|
appendFile(path: string, data: string, encoding?: string): Task;
|
|
915
1019
|
chmod(path: string, mode: int): Task;
|
|
916
1020
|
close(fd: int): Task;
|
|
917
1021
|
copyFile(src: string, dest: string, mode?: int): Task;
|
|
918
1022
|
cp(src: string, dest: string, recursive?: boolean): Task;
|
|
919
|
-
fstat(fd: int):
|
|
1023
|
+
fstat(fd: int): Task_1<Stats>;
|
|
920
1024
|
mkdir(path: string, recursive?: boolean): Task;
|
|
921
|
-
open(path: string, flags: string, mode?:
|
|
922
|
-
read(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
923
|
-
readdir(path: string, withFileTypes?: boolean):
|
|
924
|
-
readFile(path: string, encoding?: string):
|
|
925
|
-
readFileBytes(path: string):
|
|
926
|
-
readlink(path: string):
|
|
927
|
-
realpath(path: string):
|
|
1025
|
+
open(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
1026
|
+
read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
1027
|
+
readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
|
|
1028
|
+
readFile(path: string, encoding?: string): Task_1<System_Internal.String>;
|
|
1029
|
+
readFileBytes(path: string): Task_1<byte[]>;
|
|
1030
|
+
readlink(path: string): Task_1<System_Internal.String>;
|
|
1031
|
+
realpath(path: string): Task_1<System_Internal.String>;
|
|
928
1032
|
rename(oldPath: string, newPath: string): Task;
|
|
929
1033
|
rm(path: string, recursive?: boolean): Task;
|
|
930
1034
|
rmdir(path: string, recursive?: boolean): Task;
|
|
931
|
-
stat(path: string):
|
|
1035
|
+
stat(path: string): Task_1<Stats>;
|
|
932
1036
|
symlink(target: string, path: string, type?: string): Task;
|
|
933
1037
|
truncate(path: string, len?: long): Task;
|
|
934
1038
|
unlink(path: string): Task;
|
|
935
|
-
write(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
936
|
-
write(fd: int, data: string, position?:
|
|
1039
|
+
write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
1040
|
+
write(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): Task_1<System_Internal.Int32>;
|
|
937
1041
|
writeFile(path: string, data: string, encoding?: string): Task;
|
|
938
1042
|
writeFileBytes(path: string, data: byte[]): Task;
|
|
939
1043
|
}
|
|
@@ -947,6 +1051,8 @@ export const FsPromises: {
|
|
|
947
1051
|
export type FsPromises = FsPromises$instance;
|
|
948
1052
|
|
|
949
1053
|
export interface Hash$instance extends Transform {
|
|
1054
|
+
readonly __tsonic_type_nodejs_Hash: never;
|
|
1055
|
+
|
|
950
1056
|
copy(): Hash;
|
|
951
1057
|
digest(encoding: string): string;
|
|
952
1058
|
digest(): byte[];
|
|
@@ -965,6 +1071,8 @@ export const Hash: {
|
|
|
965
1071
|
export type Hash = Hash$instance;
|
|
966
1072
|
|
|
967
1073
|
export interface Hmac$instance extends Transform {
|
|
1074
|
+
readonly __tsonic_type_nodejs_Hmac: never;
|
|
1075
|
+
|
|
968
1076
|
digest(encoding?: string): string;
|
|
969
1077
|
digest(): byte[];
|
|
970
1078
|
Dispose(): void;
|
|
@@ -981,6 +1089,10 @@ export const Hmac: {
|
|
|
981
1089
|
export type Hmac = Hmac$instance;
|
|
982
1090
|
|
|
983
1091
|
export interface Immediate$instance {
|
|
1092
|
+
readonly __tsonic_type_nodejs_Immediate: never;
|
|
1093
|
+
|
|
1094
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1095
|
+
|
|
984
1096
|
Dispose(): void;
|
|
985
1097
|
hasRef(): boolean;
|
|
986
1098
|
ref(): Immediate;
|
|
@@ -995,6 +1107,8 @@ export const Immediate: {
|
|
|
995
1107
|
export type Immediate = Immediate$instance;
|
|
996
1108
|
|
|
997
1109
|
export interface Interface$instance extends EventEmitter {
|
|
1110
|
+
readonly __tsonic_type_nodejs_Interface: never;
|
|
1111
|
+
|
|
998
1112
|
readonly cursor: int;
|
|
999
1113
|
readonly line: string;
|
|
1000
1114
|
close(): void;
|
|
@@ -1002,8 +1116,8 @@ export interface Interface$instance extends EventEmitter {
|
|
|
1002
1116
|
getPrompt(): string;
|
|
1003
1117
|
pause(): Interface;
|
|
1004
1118
|
prompt(preserveCursor?: boolean): void;
|
|
1005
|
-
question(query: string, callback:
|
|
1006
|
-
questionAsync(query: string):
|
|
1119
|
+
question(query: string, callback: Action_1<System_Internal.String>): void;
|
|
1120
|
+
questionAsync(query: string): Task_1<System_Internal.String>;
|
|
1007
1121
|
resume(): Interface;
|
|
1008
1122
|
setPrompt(prompt: string): void;
|
|
1009
1123
|
write(data: unknown, key?: unknown): void;
|
|
@@ -1017,19 +1131,21 @@ export const Interface: {
|
|
|
1017
1131
|
export type Interface = Interface$instance;
|
|
1018
1132
|
|
|
1019
1133
|
export interface InterfaceOptions$instance {
|
|
1020
|
-
|
|
1134
|
+
readonly __tsonic_type_nodejs_InterfaceOptions: never;
|
|
1135
|
+
|
|
1136
|
+
escapeCodeTimeout: Nullable_1<System_Internal.Int32>;
|
|
1021
1137
|
get history(): string[] | undefined;
|
|
1022
1138
|
set history(value: string[] | undefined);
|
|
1023
|
-
historySize:
|
|
1139
|
+
historySize: Nullable_1<System_Internal.Int32>;
|
|
1024
1140
|
get input(): Readable | undefined;
|
|
1025
1141
|
set input(value: Readable | undefined);
|
|
1026
1142
|
get output(): Writable | undefined;
|
|
1027
1143
|
set output(value: Writable | undefined);
|
|
1028
1144
|
get prompt(): string | undefined;
|
|
1029
1145
|
set prompt(value: string | undefined);
|
|
1030
|
-
removeHistoryDuplicates:
|
|
1031
|
-
tabSize:
|
|
1032
|
-
terminal:
|
|
1146
|
+
removeHistoryDuplicates: Nullable_1<System_Internal.Boolean>;
|
|
1147
|
+
tabSize: Nullable_1<System_Internal.Int32>;
|
|
1148
|
+
terminal: Nullable_1<System_Internal.Boolean>;
|
|
1033
1149
|
}
|
|
1034
1150
|
|
|
1035
1151
|
|
|
@@ -1041,6 +1157,8 @@ export const InterfaceOptions: {
|
|
|
1041
1157
|
export type InterfaceOptions = InterfaceOptions$instance;
|
|
1042
1158
|
|
|
1043
1159
|
export interface IpcSocketConnectOpts$instance {
|
|
1160
|
+
readonly __tsonic_type_nodejs_IpcSocketConnectOpts: never;
|
|
1161
|
+
|
|
1044
1162
|
path: string;
|
|
1045
1163
|
}
|
|
1046
1164
|
|
|
@@ -1053,8 +1171,12 @@ export const IpcSocketConnectOpts: {
|
|
|
1053
1171
|
export type IpcSocketConnectOpts = IpcSocketConnectOpts$instance;
|
|
1054
1172
|
|
|
1055
1173
|
export interface KeyObject$instance {
|
|
1174
|
+
readonly __tsonic_type_nodejs_KeyObject: never;
|
|
1175
|
+
|
|
1176
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1177
|
+
|
|
1056
1178
|
readonly asymmetricKeyType: string | undefined;
|
|
1057
|
-
readonly symmetricKeySize:
|
|
1179
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1058
1180
|
readonly type: string;
|
|
1059
1181
|
Dispose(): void;
|
|
1060
1182
|
export(options?: unknown): unknown;
|
|
@@ -1068,13 +1190,15 @@ export const KeyObject: (abstract new() => KeyObject) & {
|
|
|
1068
1190
|
export type KeyObject = KeyObject$instance;
|
|
1069
1191
|
|
|
1070
1192
|
export interface ListenOptions$instance {
|
|
1071
|
-
|
|
1193
|
+
readonly __tsonic_type_nodejs_ListenOptions: never;
|
|
1194
|
+
|
|
1195
|
+
backlog: Nullable_1<System_Internal.Int32>;
|
|
1072
1196
|
get host(): string | undefined;
|
|
1073
1197
|
set host(value: string | undefined);
|
|
1074
|
-
ipv6Only:
|
|
1198
|
+
ipv6Only: Nullable_1<System_Internal.Boolean>;
|
|
1075
1199
|
get path(): string | undefined;
|
|
1076
1200
|
set path(value: string | undefined);
|
|
1077
|
-
port:
|
|
1201
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
1078
1202
|
}
|
|
1079
1203
|
|
|
1080
1204
|
|
|
@@ -1086,6 +1210,8 @@ export const ListenOptions: {
|
|
|
1086
1210
|
export type ListenOptions = ListenOptions$instance;
|
|
1087
1211
|
|
|
1088
1212
|
export interface LookupAddress$instance {
|
|
1213
|
+
readonly __tsonic_type_nodejs_LookupAddress: never;
|
|
1214
|
+
|
|
1089
1215
|
address: string;
|
|
1090
1216
|
family: int;
|
|
1091
1217
|
}
|
|
@@ -1099,13 +1225,15 @@ export const LookupAddress: {
|
|
|
1099
1225
|
export type LookupAddress = LookupAddress$instance;
|
|
1100
1226
|
|
|
1101
1227
|
export interface LookupOptions$instance {
|
|
1102
|
-
|
|
1228
|
+
readonly __tsonic_type_nodejs_LookupOptions: never;
|
|
1229
|
+
|
|
1230
|
+
all: Nullable_1<System_Internal.Boolean>;
|
|
1103
1231
|
get family(): unknown | undefined;
|
|
1104
1232
|
set family(value: unknown | undefined);
|
|
1105
|
-
hints:
|
|
1233
|
+
hints: Nullable_1<System_Internal.Int32>;
|
|
1106
1234
|
get order(): string | undefined;
|
|
1107
1235
|
set order(value: string | undefined);
|
|
1108
|
-
verbatim:
|
|
1236
|
+
verbatim: Nullable_1<System_Internal.Boolean>;
|
|
1109
1237
|
}
|
|
1110
1238
|
|
|
1111
1239
|
|
|
@@ -1117,6 +1245,8 @@ export const LookupOptions: {
|
|
|
1117
1245
|
export type LookupOptions = LookupOptions$instance;
|
|
1118
1246
|
|
|
1119
1247
|
export interface LookupServiceResult$instance {
|
|
1248
|
+
readonly __tsonic_type_nodejs_LookupServiceResult: never;
|
|
1249
|
+
|
|
1120
1250
|
hostname: string;
|
|
1121
1251
|
service: string;
|
|
1122
1252
|
}
|
|
@@ -1130,9 +1260,11 @@ export const LookupServiceResult: {
|
|
|
1130
1260
|
export type LookupServiceResult = LookupServiceResult$instance;
|
|
1131
1261
|
|
|
1132
1262
|
export interface MarkOptions$instance {
|
|
1263
|
+
readonly __tsonic_type_nodejs_MarkOptions: never;
|
|
1264
|
+
|
|
1133
1265
|
get detail(): unknown | undefined;
|
|
1134
1266
|
set detail(value: unknown | undefined);
|
|
1135
|
-
startTime:
|
|
1267
|
+
startTime: Nullable_1<System_Internal.Double>;
|
|
1136
1268
|
}
|
|
1137
1269
|
|
|
1138
1270
|
|
|
@@ -1144,12 +1276,14 @@ export const MarkOptions: {
|
|
|
1144
1276
|
export type MarkOptions = MarkOptions$instance;
|
|
1145
1277
|
|
|
1146
1278
|
export interface MeasureOptions$instance {
|
|
1279
|
+
readonly __tsonic_type_nodejs_MeasureOptions: never;
|
|
1280
|
+
|
|
1147
1281
|
get detail(): unknown | undefined;
|
|
1148
1282
|
set detail(value: unknown | undefined);
|
|
1149
|
-
end:
|
|
1283
|
+
end: Nullable_1<System_Internal.Double>;
|
|
1150
1284
|
get endMark(): string | undefined;
|
|
1151
1285
|
set endMark(value: string | undefined);
|
|
1152
|
-
start:
|
|
1286
|
+
start: Nullable_1<System_Internal.Double>;
|
|
1153
1287
|
get startMark(): string | undefined;
|
|
1154
1288
|
set startMark(value: string | undefined);
|
|
1155
1289
|
}
|
|
@@ -1163,6 +1297,8 @@ export const MeasureOptions: {
|
|
|
1163
1297
|
export type MeasureOptions = MeasureOptions$instance;
|
|
1164
1298
|
|
|
1165
1299
|
export interface MxRecord$instance {
|
|
1300
|
+
readonly __tsonic_type_nodejs_MxRecord: never;
|
|
1301
|
+
|
|
1166
1302
|
exchange: string;
|
|
1167
1303
|
priority: int;
|
|
1168
1304
|
}
|
|
@@ -1176,6 +1312,8 @@ export const MxRecord: {
|
|
|
1176
1312
|
export type MxRecord = MxRecord$instance;
|
|
1177
1313
|
|
|
1178
1314
|
export interface NaptrRecord$instance {
|
|
1315
|
+
readonly __tsonic_type_nodejs_NaptrRecord: never;
|
|
1316
|
+
|
|
1179
1317
|
flags: string;
|
|
1180
1318
|
order: int;
|
|
1181
1319
|
preference: int;
|
|
@@ -1193,6 +1331,8 @@ export const NaptrRecord: {
|
|
|
1193
1331
|
export type NaptrRecord = NaptrRecord$instance;
|
|
1194
1332
|
|
|
1195
1333
|
export interface ParsedPath$instance {
|
|
1334
|
+
readonly __tsonic_type_nodejs_ParsedPath: never;
|
|
1335
|
+
|
|
1196
1336
|
base: string;
|
|
1197
1337
|
dir: string;
|
|
1198
1338
|
ext: string;
|
|
@@ -1209,8 +1349,10 @@ export const ParsedPath: {
|
|
|
1209
1349
|
export type ParsedPath = ParsedPath$instance;
|
|
1210
1350
|
|
|
1211
1351
|
export interface PassThrough$instance extends Transform {
|
|
1212
|
-
|
|
1213
|
-
|
|
1352
|
+
readonly __tsonic_type_nodejs_PassThrough: never;
|
|
1353
|
+
|
|
1354
|
+
_transform(chunk: unknown, encoding: string, callback: Action_2<Exception, unknown>): void;
|
|
1355
|
+
_transform(chunk: unknown, encoding: string, callback: Action_2<Exception, unknown>): void;
|
|
1214
1356
|
}
|
|
1215
1357
|
|
|
1216
1358
|
|
|
@@ -1222,6 +1364,8 @@ export const PassThrough: {
|
|
|
1222
1364
|
export type PassThrough = PassThrough$instance;
|
|
1223
1365
|
|
|
1224
1366
|
export interface PathModule$instance {
|
|
1367
|
+
readonly __tsonic_type_nodejs_PathModule: never;
|
|
1368
|
+
|
|
1225
1369
|
readonly delimiter: string;
|
|
1226
1370
|
readonly posix: PathModule;
|
|
1227
1371
|
readonly sep: string;
|
|
@@ -1249,6 +1393,8 @@ export const PathModule: {
|
|
|
1249
1393
|
export type PathModule = PathModule$instance;
|
|
1250
1394
|
|
|
1251
1395
|
export interface PeerCertificate$instance {
|
|
1396
|
+
readonly __tsonic_type_nodejs_PeerCertificate: never;
|
|
1397
|
+
|
|
1252
1398
|
ca: boolean;
|
|
1253
1399
|
get ext_key_usage(): string[] | undefined;
|
|
1254
1400
|
set ext_key_usage(value: string[] | undefined);
|
|
@@ -1275,6 +1421,8 @@ export const PeerCertificate: {
|
|
|
1275
1421
|
export type PeerCertificate = PeerCertificate$instance;
|
|
1276
1422
|
|
|
1277
1423
|
export interface PerformanceEntry$instance {
|
|
1424
|
+
readonly __tsonic_type_nodejs_PerformanceEntry: never;
|
|
1425
|
+
|
|
1278
1426
|
readonly duration: double;
|
|
1279
1427
|
readonly entryType: string;
|
|
1280
1428
|
readonly name: string;
|
|
@@ -1289,6 +1437,8 @@ export const PerformanceEntry: {
|
|
|
1289
1437
|
export type PerformanceEntry = PerformanceEntry$instance;
|
|
1290
1438
|
|
|
1291
1439
|
export interface PerformanceMark$instance extends PerformanceEntry {
|
|
1440
|
+
readonly __tsonic_type_nodejs_PerformanceMark: never;
|
|
1441
|
+
|
|
1292
1442
|
readonly detail: unknown | undefined;
|
|
1293
1443
|
}
|
|
1294
1444
|
|
|
@@ -1301,6 +1451,8 @@ export const PerformanceMark: {
|
|
|
1301
1451
|
export type PerformanceMark = PerformanceMark$instance;
|
|
1302
1452
|
|
|
1303
1453
|
export interface PerformanceMeasure$instance extends PerformanceEntry {
|
|
1454
|
+
readonly __tsonic_type_nodejs_PerformanceMeasure: never;
|
|
1455
|
+
|
|
1304
1456
|
readonly detail: unknown | undefined;
|
|
1305
1457
|
}
|
|
1306
1458
|
|
|
@@ -1313,6 +1465,8 @@ export const PerformanceMeasure: {
|
|
|
1313
1465
|
export type PerformanceMeasure = PerformanceMeasure$instance;
|
|
1314
1466
|
|
|
1315
1467
|
export interface PerformanceObserver$instance {
|
|
1468
|
+
readonly __tsonic_type_nodejs_PerformanceObserver: never;
|
|
1469
|
+
|
|
1316
1470
|
disconnect(): void;
|
|
1317
1471
|
observe(options: PerformanceObserverOptions): void;
|
|
1318
1472
|
takeRecords(): PerformanceObserverEntryList;
|
|
@@ -1320,7 +1474,7 @@ export interface PerformanceObserver$instance {
|
|
|
1320
1474
|
|
|
1321
1475
|
|
|
1322
1476
|
export const PerformanceObserver: {
|
|
1323
|
-
new(callback:
|
|
1477
|
+
new(callback: Action_2<PerformanceObserverEntryList, PerformanceObserver>): PerformanceObserver;
|
|
1324
1478
|
supportedEntryTypes(): string[];
|
|
1325
1479
|
};
|
|
1326
1480
|
|
|
@@ -1328,6 +1482,8 @@ export const PerformanceObserver: {
|
|
|
1328
1482
|
export type PerformanceObserver = PerformanceObserver$instance;
|
|
1329
1483
|
|
|
1330
1484
|
export interface PerformanceObserverEntryList$instance {
|
|
1485
|
+
readonly __tsonic_type_nodejs_PerformanceObserverEntryList: never;
|
|
1486
|
+
|
|
1331
1487
|
getEntries(): PerformanceEntry[];
|
|
1332
1488
|
getEntriesByName(name: string, type?: string): PerformanceEntry[];
|
|
1333
1489
|
getEntriesByType(type: string): PerformanceEntry[];
|
|
@@ -1342,6 +1498,8 @@ export const PerformanceObserverEntryList: {
|
|
|
1342
1498
|
export type PerformanceObserverEntryList = PerformanceObserverEntryList$instance;
|
|
1343
1499
|
|
|
1344
1500
|
export interface PerformanceObserverOptions$instance {
|
|
1501
|
+
readonly __tsonic_type_nodejs_PerformanceObserverOptions: never;
|
|
1502
|
+
|
|
1345
1503
|
buffered: boolean;
|
|
1346
1504
|
get entryTypes(): string[] | undefined;
|
|
1347
1505
|
set entryTypes(value: string[] | undefined);
|
|
@@ -1356,8 +1514,12 @@ export const PerformanceObserverOptions: {
|
|
|
1356
1514
|
export type PerformanceObserverOptions = PerformanceObserverOptions$instance;
|
|
1357
1515
|
|
|
1358
1516
|
export interface PrivateKeyObject$instance extends KeyObject {
|
|
1517
|
+
readonly __tsonic_type_nodejs_PrivateKeyObject: never;
|
|
1518
|
+
|
|
1519
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1520
|
+
|
|
1359
1521
|
readonly asymmetricKeyType: string | undefined;
|
|
1360
|
-
readonly symmetricKeySize:
|
|
1522
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1361
1523
|
readonly type: string;
|
|
1362
1524
|
Dispose(): void;
|
|
1363
1525
|
export(options?: unknown): unknown;
|
|
@@ -1372,20 +1534,27 @@ export const PrivateKeyObject: {
|
|
|
1372
1534
|
export type PrivateKeyObject = PrivateKeyObject$instance;
|
|
1373
1535
|
|
|
1374
1536
|
export interface ProcessEnv$instance {
|
|
1537
|
+
readonly __tsonic_type_nodejs_ProcessEnv: never;
|
|
1538
|
+
|
|
1539
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
1540
|
+
readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
|
|
1541
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
1542
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1543
|
+
|
|
1375
1544
|
readonly Count: int;
|
|
1376
1545
|
readonly IsReadOnly: boolean;
|
|
1377
1546
|
[key: string]: string | undefined;
|
|
1378
|
-
readonly Keys:
|
|
1379
|
-
readonly Values:
|
|
1547
|
+
readonly Keys: ICollection_1<System_Internal.String>;
|
|
1548
|
+
readonly Values: ICollection_1<string | undefined>;
|
|
1380
1549
|
Add(key: string, value: string): void;
|
|
1381
|
-
Add(item:
|
|
1550
|
+
Add(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): void;
|
|
1382
1551
|
Clear(): void;
|
|
1383
|
-
Contains(item:
|
|
1552
|
+
Contains(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): boolean;
|
|
1384
1553
|
ContainsKey(key: string): boolean;
|
|
1385
|
-
CopyTo(array:
|
|
1386
|
-
GetEnumerator():
|
|
1554
|
+
CopyTo(array: KeyValuePair_2<System_Internal.String, System_Internal.String>[], arrayIndex: int): void;
|
|
1555
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
|
|
1387
1556
|
Remove(key: string): boolean;
|
|
1388
|
-
Remove(item:
|
|
1557
|
+
Remove(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): boolean;
|
|
1389
1558
|
TryGetValue(key: string, value: string): boolean;
|
|
1390
1559
|
}
|
|
1391
1560
|
|
|
@@ -1398,6 +1567,8 @@ export const ProcessEnv: {
|
|
|
1398
1567
|
export type ProcessEnv = ProcessEnv$instance;
|
|
1399
1568
|
|
|
1400
1569
|
export interface ProcessVersions$instance {
|
|
1570
|
+
readonly __tsonic_type_nodejs_ProcessVersions: never;
|
|
1571
|
+
|
|
1401
1572
|
dotnet: string;
|
|
1402
1573
|
node: string;
|
|
1403
1574
|
tsonic: string;
|
|
@@ -1413,8 +1584,12 @@ export const ProcessVersions: {
|
|
|
1413
1584
|
export type ProcessVersions = ProcessVersions$instance;
|
|
1414
1585
|
|
|
1415
1586
|
export interface PublicKeyObject$instance extends KeyObject {
|
|
1587
|
+
readonly __tsonic_type_nodejs_PublicKeyObject: never;
|
|
1588
|
+
|
|
1589
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1590
|
+
|
|
1416
1591
|
readonly asymmetricKeyType: string | undefined;
|
|
1417
|
-
readonly symmetricKeySize:
|
|
1592
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1418
1593
|
readonly type: string;
|
|
1419
1594
|
Dispose(): void;
|
|
1420
1595
|
export(options?: unknown): unknown;
|
|
@@ -1429,17 +1604,19 @@ export const PublicKeyObject: {
|
|
|
1429
1604
|
export type PublicKeyObject = PublicKeyObject$instance;
|
|
1430
1605
|
|
|
1431
1606
|
export interface Readable$instance extends Stream {
|
|
1607
|
+
readonly __tsonic_type_nodejs_Readable: never;
|
|
1608
|
+
|
|
1432
1609
|
destroyed: boolean;
|
|
1433
1610
|
readonly readable: boolean;
|
|
1434
1611
|
readonly readableEnded: boolean;
|
|
1435
|
-
readonly readableFlowing:
|
|
1612
|
+
readonly readableFlowing: Nullable_1<System_Internal.Boolean>;
|
|
1436
1613
|
readonly readableLength: int;
|
|
1437
1614
|
_read(size: int): void;
|
|
1438
1615
|
destroy(error?: Exception): void;
|
|
1439
1616
|
isPaused(): boolean;
|
|
1440
1617
|
pause(): Readable;
|
|
1441
1618
|
push(chunk: unknown, encoding?: string): boolean;
|
|
1442
|
-
read(size?:
|
|
1619
|
+
read(size?: Nullable_1<System_Internal.Int32>): unknown | undefined;
|
|
1443
1620
|
resume(): Readable;
|
|
1444
1621
|
setEncoding(encoding: string): Readable;
|
|
1445
1622
|
unpipe(destination?: Stream): Readable;
|
|
@@ -1455,9 +1632,11 @@ export const Readable: {
|
|
|
1455
1632
|
export type Readable = Readable$instance;
|
|
1456
1633
|
|
|
1457
1634
|
export interface ReadlinePromises$instance {
|
|
1635
|
+
readonly __tsonic_type_nodejs_ReadlinePromises: never;
|
|
1636
|
+
|
|
1458
1637
|
createInterface(options: InterfaceOptions): Interface;
|
|
1459
1638
|
createInterface(input: Readable, output?: Writable): Interface;
|
|
1460
|
-
question(rl: Interface, query: string):
|
|
1639
|
+
question(rl: Interface, query: string): Task_1<System_Internal.String>;
|
|
1461
1640
|
}
|
|
1462
1641
|
|
|
1463
1642
|
|
|
@@ -1469,6 +1648,8 @@ export const ReadlinePromises: {
|
|
|
1469
1648
|
export type ReadlinePromises = ReadlinePromises$instance;
|
|
1470
1649
|
|
|
1471
1650
|
export interface RecordWithTtl$instance {
|
|
1651
|
+
readonly __tsonic_type_nodejs_RecordWithTtl: never;
|
|
1652
|
+
|
|
1472
1653
|
address: string;
|
|
1473
1654
|
ttl: int;
|
|
1474
1655
|
}
|
|
@@ -1482,6 +1663,8 @@ export const RecordWithTtl: {
|
|
|
1482
1663
|
export type RecordWithTtl = RecordWithTtl$instance;
|
|
1483
1664
|
|
|
1484
1665
|
export interface RemoteInfo$instance {
|
|
1666
|
+
readonly __tsonic_type_nodejs_RemoteInfo: never;
|
|
1667
|
+
|
|
1485
1668
|
address: string;
|
|
1486
1669
|
family: string;
|
|
1487
1670
|
port: int;
|
|
@@ -1497,6 +1680,8 @@ export const RemoteInfo: {
|
|
|
1497
1680
|
export type RemoteInfo = RemoteInfo$instance;
|
|
1498
1681
|
|
|
1499
1682
|
export interface ResolveOptions$instance {
|
|
1683
|
+
readonly __tsonic_type_nodejs_ResolveOptions: never;
|
|
1684
|
+
|
|
1500
1685
|
ttl: boolean;
|
|
1501
1686
|
}
|
|
1502
1687
|
|
|
@@ -1509,26 +1694,28 @@ export const ResolveOptions: {
|
|
|
1509
1694
|
export type ResolveOptions = ResolveOptions$instance;
|
|
1510
1695
|
|
|
1511
1696
|
export interface Resolver$instance {
|
|
1697
|
+
readonly __tsonic_type_nodejs_Resolver: never;
|
|
1698
|
+
|
|
1512
1699
|
cancel(): void;
|
|
1513
1700
|
getServers(): string[];
|
|
1514
|
-
resolve(hostname: string, callback:
|
|
1515
|
-
resolve(hostname: string, rrtype: string, callback:
|
|
1516
|
-
resolve4(hostname: string, callback:
|
|
1517
|
-
resolve4(hostname: string, options: ResolveOptions, callback:
|
|
1518
|
-
resolve6(hostname: string, callback:
|
|
1519
|
-
resolve6(hostname: string, options: ResolveOptions, callback:
|
|
1520
|
-
resolveAny(hostname: string, callback:
|
|
1521
|
-
resolveCaa(hostname: string, callback:
|
|
1522
|
-
resolveCname(hostname: string, callback:
|
|
1523
|
-
resolveMx(hostname: string, callback:
|
|
1524
|
-
resolveNaptr(hostname: string, callback:
|
|
1525
|
-
resolveNs(hostname: string, callback:
|
|
1526
|
-
resolvePtr(hostname: string, callback:
|
|
1527
|
-
resolveSoa(hostname: string, callback:
|
|
1528
|
-
resolveSrv(hostname: string, callback:
|
|
1529
|
-
resolveTlsa(hostname: string, callback:
|
|
1530
|
-
resolveTxt(hostname: string, callback:
|
|
1531
|
-
reverse(ip: string, callback:
|
|
1701
|
+
resolve(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1702
|
+
resolve(hostname: string, rrtype: string, callback: Action_2<Exception, unknown>): void;
|
|
1703
|
+
resolve4(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1704
|
+
resolve4(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
1705
|
+
resolve6(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1706
|
+
resolve6(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
1707
|
+
resolveAny(hostname: string, callback: Action_2<Exception, unknown[]>): void;
|
|
1708
|
+
resolveCaa(hostname: string, callback: Action_2<Exception, CaaRecord[]>): void;
|
|
1709
|
+
resolveCname(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1710
|
+
resolveMx(hostname: string, callback: Action_2<Exception, MxRecord[]>): void;
|
|
1711
|
+
resolveNaptr(hostname: string, callback: Action_2<Exception, NaptrRecord[]>): void;
|
|
1712
|
+
resolveNs(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1713
|
+
resolvePtr(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1714
|
+
resolveSoa(hostname: string, callback: Action_2<Exception, SoaRecord>): void;
|
|
1715
|
+
resolveSrv(hostname: string, callback: Action_2<Exception, SrvRecord[]>): void;
|
|
1716
|
+
resolveTlsa(hostname: string, callback: Action_2<Exception, TlsaRecord[]>): void;
|
|
1717
|
+
resolveTxt(hostname: string, callback: Action_2<Exception, string[][]>): void;
|
|
1718
|
+
reverse(ip: string, callback: Action_2<Exception, string[]>): void;
|
|
1532
1719
|
setLocalAddress(ipv4?: string, ipv6?: string): void;
|
|
1533
1720
|
setServers(servers: string[]): void;
|
|
1534
1721
|
}
|
|
@@ -1543,9 +1730,11 @@ export const Resolver: {
|
|
|
1543
1730
|
export type Resolver = Resolver$instance;
|
|
1544
1731
|
|
|
1545
1732
|
export interface ResolverOptions$instance {
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1733
|
+
readonly __tsonic_type_nodejs_ResolverOptions: never;
|
|
1734
|
+
|
|
1735
|
+
maxTimeout: Nullable_1<System_Internal.Int32>;
|
|
1736
|
+
timeout: Nullable_1<System_Internal.Int32>;
|
|
1737
|
+
tries: Nullable_1<System_Internal.Int32>;
|
|
1549
1738
|
}
|
|
1550
1739
|
|
|
1551
1740
|
|
|
@@ -1557,8 +1746,12 @@ export const ResolverOptions: {
|
|
|
1557
1746
|
export type ResolverOptions = ResolverOptions$instance;
|
|
1558
1747
|
|
|
1559
1748
|
export interface SecretKeyObject$instance extends KeyObject {
|
|
1749
|
+
readonly __tsonic_type_nodejs_SecretKeyObject: never;
|
|
1750
|
+
|
|
1751
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1752
|
+
|
|
1560
1753
|
readonly asymmetricKeyType: string | undefined;
|
|
1561
|
-
readonly symmetricKeySize:
|
|
1754
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1562
1755
|
readonly type: string;
|
|
1563
1756
|
Dispose(): void;
|
|
1564
1757
|
export(options?: unknown): unknown;
|
|
@@ -1573,6 +1766,8 @@ export const SecretKeyObject: {
|
|
|
1573
1766
|
export type SecretKeyObject = SecretKeyObject$instance;
|
|
1574
1767
|
|
|
1575
1768
|
export interface SecureContext$instance {
|
|
1769
|
+
readonly __tsonic_type_nodejs_SecureContext: never;
|
|
1770
|
+
|
|
1576
1771
|
readonly CACertificates: X509Certificate2Collection | undefined;
|
|
1577
1772
|
readonly Certificate: X509Certificate2 | undefined;
|
|
1578
1773
|
get context(): unknown | undefined;
|
|
@@ -1592,6 +1787,8 @@ export const SecureContext: {
|
|
|
1592
1787
|
export type SecureContext = SecureContext$instance;
|
|
1593
1788
|
|
|
1594
1789
|
export interface SecureContextOptions$instance {
|
|
1790
|
+
readonly __tsonic_type_nodejs_SecureContextOptions: never;
|
|
1791
|
+
|
|
1595
1792
|
get ca(): unknown | undefined;
|
|
1596
1793
|
set ca(value: unknown | undefined);
|
|
1597
1794
|
get cert(): unknown | undefined;
|
|
@@ -1619,11 +1816,13 @@ export const SecureContextOptions: {
|
|
|
1619
1816
|
export type SecureContextOptions = SecureContextOptions$instance;
|
|
1620
1817
|
|
|
1621
1818
|
export interface Server$instance extends EventEmitter {
|
|
1819
|
+
readonly __tsonic_type_nodejs_Server: never;
|
|
1820
|
+
|
|
1622
1821
|
readonly listening: boolean;
|
|
1623
1822
|
maxConnections: int;
|
|
1624
1823
|
address(): unknown | undefined;
|
|
1625
|
-
close(callback?:
|
|
1626
|
-
getConnections(callback:
|
|
1824
|
+
close(callback?: Action_1<Exception>): Server;
|
|
1825
|
+
getConnections(callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
1627
1826
|
listen(port: int, hostname: string, backlog: int, listeningListener?: Action): Server;
|
|
1628
1827
|
listen(port: int, hostname: string, listeningListener?: Action): Server;
|
|
1629
1828
|
listen(port: int, backlog: int, listeningListener?: Action): Server;
|
|
@@ -1636,16 +1835,18 @@ export interface Server$instance extends EventEmitter {
|
|
|
1636
1835
|
|
|
1637
1836
|
export const Server: {
|
|
1638
1837
|
new(): Server;
|
|
1639
|
-
new(connectionListener:
|
|
1640
|
-
new(options: ServerOpts, connectionListener:
|
|
1838
|
+
new(connectionListener: Action_1<Socket>): Server;
|
|
1839
|
+
new(options: ServerOpts, connectionListener: Action_1<Socket>): Server;
|
|
1641
1840
|
};
|
|
1642
1841
|
|
|
1643
1842
|
|
|
1644
1843
|
export type Server = Server$instance;
|
|
1645
1844
|
|
|
1646
1845
|
export interface ServerOpts$instance {
|
|
1647
|
-
|
|
1648
|
-
|
|
1846
|
+
readonly __tsonic_type_nodejs_ServerOpts: never;
|
|
1847
|
+
|
|
1848
|
+
allowHalfOpen: Nullable_1<System_Internal.Boolean>;
|
|
1849
|
+
pauseOnConnect: Nullable_1<System_Internal.Boolean>;
|
|
1649
1850
|
}
|
|
1650
1851
|
|
|
1651
1852
|
|
|
@@ -1657,6 +1858,8 @@ export const ServerOpts: {
|
|
|
1657
1858
|
export type ServerOpts = ServerOpts$instance;
|
|
1658
1859
|
|
|
1659
1860
|
export interface Sign$instance extends Transform {
|
|
1861
|
+
readonly __tsonic_type_nodejs_Sign: never;
|
|
1862
|
+
|
|
1660
1863
|
Dispose(): void;
|
|
1661
1864
|
Finalize(): void;
|
|
1662
1865
|
sign(privateKey: string, outputEncoding?: string): string;
|
|
@@ -1675,6 +1878,8 @@ export const Sign: {
|
|
|
1675
1878
|
export type Sign = Sign$instance;
|
|
1676
1879
|
|
|
1677
1880
|
export interface SoaRecord$instance {
|
|
1881
|
+
readonly __tsonic_type_nodejs_SoaRecord: never;
|
|
1882
|
+
|
|
1678
1883
|
expire: int;
|
|
1679
1884
|
hostmaster: string;
|
|
1680
1885
|
minttl: int;
|
|
@@ -1693,6 +1898,8 @@ export const SoaRecord: {
|
|
|
1693
1898
|
export type SoaRecord = SoaRecord$instance;
|
|
1694
1899
|
|
|
1695
1900
|
export interface Socket$instance extends Stream {
|
|
1901
|
+
readonly __tsonic_type_nodejs_Socket: never;
|
|
1902
|
+
|
|
1696
1903
|
bytesRead: long;
|
|
1697
1904
|
bytesWritten: long;
|
|
1698
1905
|
readonly connecting: boolean;
|
|
@@ -1701,13 +1908,13 @@ export interface Socket$instance extends Stream {
|
|
|
1701
1908
|
set localAddress(value: string | undefined);
|
|
1702
1909
|
get localFamily(): string | undefined;
|
|
1703
1910
|
set localFamily(value: string | undefined);
|
|
1704
|
-
localPort:
|
|
1911
|
+
localPort: Nullable_1<System_Internal.Int32>;
|
|
1705
1912
|
readonly readyState: string;
|
|
1706
1913
|
get remoteAddress(): string | undefined;
|
|
1707
1914
|
set remoteAddress(value: string | undefined);
|
|
1708
1915
|
get remoteFamily(): string | undefined;
|
|
1709
1916
|
set remoteFamily(value: string | undefined);
|
|
1710
|
-
remotePort:
|
|
1917
|
+
remotePort: Nullable_1<System_Internal.Int32>;
|
|
1711
1918
|
address(): unknown;
|
|
1712
1919
|
connect(port: int, host?: string, connectionListener?: Action): Socket;
|
|
1713
1920
|
connect(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
|
|
@@ -1727,8 +1934,8 @@ export interface Socket$instance extends Stream {
|
|
|
1727
1934
|
setNoDelay(noDelay?: boolean): Socket;
|
|
1728
1935
|
setTimeout(timeout: int, callback?: Action): Socket;
|
|
1729
1936
|
unref(): Socket;
|
|
1730
|
-
write(data: byte[], callback?:
|
|
1731
|
-
write(data: string, encoding?: string, callback?:
|
|
1937
|
+
write(data: byte[], callback?: Action_1<Exception>): boolean;
|
|
1938
|
+
write(data: string, encoding?: string, callback?: Action_1<Exception>): boolean;
|
|
1732
1939
|
}
|
|
1733
1940
|
|
|
1734
1941
|
|
|
@@ -1741,9 +1948,11 @@ export const Socket: {
|
|
|
1741
1948
|
export type Socket = Socket$instance;
|
|
1742
1949
|
|
|
1743
1950
|
export interface SocketAddress$instance {
|
|
1951
|
+
readonly __tsonic_type_nodejs_SocketAddress: never;
|
|
1952
|
+
|
|
1744
1953
|
address: string;
|
|
1745
1954
|
family: string;
|
|
1746
|
-
flowlabel:
|
|
1955
|
+
flowlabel: Nullable_1<System_Internal.Int32>;
|
|
1747
1956
|
port: int;
|
|
1748
1957
|
}
|
|
1749
1958
|
|
|
@@ -1756,12 +1965,14 @@ export const SocketAddress: {
|
|
|
1756
1965
|
export type SocketAddress = SocketAddress$instance;
|
|
1757
1966
|
|
|
1758
1967
|
export interface SocketAddressInitOptions$instance {
|
|
1968
|
+
readonly __tsonic_type_nodejs_SocketAddressInitOptions: never;
|
|
1969
|
+
|
|
1759
1970
|
get address(): string | undefined;
|
|
1760
1971
|
set address(value: string | undefined);
|
|
1761
1972
|
get family(): string | undefined;
|
|
1762
1973
|
set family(value: string | undefined);
|
|
1763
|
-
flowlabel:
|
|
1764
|
-
port:
|
|
1974
|
+
flowlabel: Nullable_1<System_Internal.Int32>;
|
|
1975
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
1765
1976
|
}
|
|
1766
1977
|
|
|
1767
1978
|
|
|
@@ -1773,10 +1984,12 @@ export const SocketAddressInitOptions: {
|
|
|
1773
1984
|
export type SocketAddressInitOptions = SocketAddressInitOptions$instance;
|
|
1774
1985
|
|
|
1775
1986
|
export interface SocketConstructorOpts$instance {
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1987
|
+
readonly __tsonic_type_nodejs_SocketConstructorOpts: never;
|
|
1988
|
+
|
|
1989
|
+
allowHalfOpen: Nullable_1<System_Internal.Boolean>;
|
|
1990
|
+
fd: Nullable_1<System_Internal.Int32>;
|
|
1991
|
+
readable: Nullable_1<System_Internal.Boolean>;
|
|
1992
|
+
writable: Nullable_1<System_Internal.Boolean>;
|
|
1780
1993
|
}
|
|
1781
1994
|
|
|
1782
1995
|
|
|
@@ -1788,11 +2001,13 @@ export const SocketConstructorOpts: {
|
|
|
1788
2001
|
export type SocketConstructorOpts = SocketConstructorOpts$instance;
|
|
1789
2002
|
|
|
1790
2003
|
export interface SocketOptions$instance {
|
|
2004
|
+
readonly __tsonic_type_nodejs_SocketOptions: never;
|
|
2005
|
+
|
|
1791
2006
|
ipv6Only: boolean;
|
|
1792
|
-
recvBufferSize:
|
|
2007
|
+
recvBufferSize: Nullable_1<System_Internal.Int32>;
|
|
1793
2008
|
reuseAddr: boolean;
|
|
1794
2009
|
reusePort: boolean;
|
|
1795
|
-
sendBufferSize:
|
|
2010
|
+
sendBufferSize: Nullable_1<System_Internal.Int32>;
|
|
1796
2011
|
type: string;
|
|
1797
2012
|
}
|
|
1798
2013
|
|
|
@@ -1805,13 +2020,15 @@ export const SocketOptions: {
|
|
|
1805
2020
|
export type SocketOptions = SocketOptions$instance;
|
|
1806
2021
|
|
|
1807
2022
|
export interface SpawnSyncReturns_1$instance<T> {
|
|
2023
|
+
readonly __tsonic_type_nodejs_SpawnSyncReturns_1: never;
|
|
2024
|
+
|
|
1808
2025
|
get error(): Exception | undefined;
|
|
1809
2026
|
set error(value: Exception | undefined);
|
|
1810
2027
|
output: (T | undefined)[];
|
|
1811
2028
|
pid: int;
|
|
1812
2029
|
get signal(): string | undefined;
|
|
1813
2030
|
set signal(value: string | undefined);
|
|
1814
|
-
status:
|
|
2031
|
+
status: Nullable_1<System_Internal.Int32>;
|
|
1815
2032
|
stderr: T;
|
|
1816
2033
|
stdout: T;
|
|
1817
2034
|
}
|
|
@@ -1825,6 +2042,8 @@ export const SpawnSyncReturns_1: {
|
|
|
1825
2042
|
export type SpawnSyncReturns_1<T> = SpawnSyncReturns_1$instance<T>;
|
|
1826
2043
|
|
|
1827
2044
|
export interface SrvRecord$instance {
|
|
2045
|
+
readonly __tsonic_type_nodejs_SrvRecord: never;
|
|
2046
|
+
|
|
1828
2047
|
name: string;
|
|
1829
2048
|
port: int;
|
|
1830
2049
|
priority: int;
|
|
@@ -1840,6 +2059,8 @@ export const SrvRecord: {
|
|
|
1840
2059
|
export type SrvRecord = SrvRecord$instance;
|
|
1841
2060
|
|
|
1842
2061
|
export interface Stats$instance {
|
|
2062
|
+
readonly __tsonic_type_nodejs_Stats: never;
|
|
2063
|
+
|
|
1843
2064
|
atime: DateTime;
|
|
1844
2065
|
birthtime: DateTime;
|
|
1845
2066
|
ctime: DateTime;
|
|
@@ -1866,6 +2087,8 @@ export const Stats: {
|
|
|
1866
2087
|
export type Stats = Stats$instance;
|
|
1867
2088
|
|
|
1868
2089
|
export interface Stream$instance extends EventEmitter {
|
|
2090
|
+
readonly __tsonic_type_nodejs_Stream: never;
|
|
2091
|
+
|
|
1869
2092
|
destroy(error?: Exception): void;
|
|
1870
2093
|
pipe(destination: Stream, end?: boolean): Stream;
|
|
1871
2094
|
}
|
|
@@ -1879,6 +2102,8 @@ export const Stream: {
|
|
|
1879
2102
|
export type Stream = Stream$instance;
|
|
1880
2103
|
|
|
1881
2104
|
export interface StreamPromises$instance {
|
|
2105
|
+
readonly __tsonic_type_nodejs_StreamPromises: never;
|
|
2106
|
+
|
|
1882
2107
|
finished(streamValue: Stream): Task;
|
|
1883
2108
|
pipeline(...streams: Stream[]): Task;
|
|
1884
2109
|
}
|
|
@@ -1892,6 +2117,8 @@ export const StreamPromises: {
|
|
|
1892
2117
|
export type StreamPromises = StreamPromises$instance;
|
|
1893
2118
|
|
|
1894
2119
|
export interface StringDecoder$instance {
|
|
2120
|
+
readonly __tsonic_type_nodejs_StringDecoder: never;
|
|
2121
|
+
|
|
1895
2122
|
end(buffer?: byte[]): string;
|
|
1896
2123
|
write(buffer: byte[]): string;
|
|
1897
2124
|
}
|
|
@@ -1905,16 +2132,18 @@ export const StringDecoder: {
|
|
|
1905
2132
|
export type StringDecoder = StringDecoder$instance;
|
|
1906
2133
|
|
|
1907
2134
|
export interface TcpSocketConnectOpts$instance {
|
|
1908
|
-
|
|
1909
|
-
|
|
2135
|
+
readonly __tsonic_type_nodejs_TcpSocketConnectOpts: never;
|
|
2136
|
+
|
|
2137
|
+
family: Nullable_1<System_Internal.Int32>;
|
|
2138
|
+
hints: Nullable_1<System_Internal.Int32>;
|
|
1910
2139
|
get host(): string | undefined;
|
|
1911
2140
|
set host(value: string | undefined);
|
|
1912
|
-
keepAlive:
|
|
1913
|
-
keepAliveInitialDelay:
|
|
2141
|
+
keepAlive: Nullable_1<System_Internal.Boolean>;
|
|
2142
|
+
keepAliveInitialDelay: Nullable_1<System_Internal.Int32>;
|
|
1914
2143
|
get localAddress(): string | undefined;
|
|
1915
2144
|
set localAddress(value: string | undefined);
|
|
1916
|
-
localPort:
|
|
1917
|
-
noDelay:
|
|
2145
|
+
localPort: Nullable_1<System_Internal.Int32>;
|
|
2146
|
+
noDelay: Nullable_1<System_Internal.Boolean>;
|
|
1918
2147
|
port: int;
|
|
1919
2148
|
}
|
|
1920
2149
|
|
|
@@ -1927,6 +2156,10 @@ export const TcpSocketConnectOpts: {
|
|
|
1927
2156
|
export type TcpSocketConnectOpts = TcpSocketConnectOpts$instance;
|
|
1928
2157
|
|
|
1929
2158
|
export interface Timeout$instance {
|
|
2159
|
+
readonly __tsonic_type_nodejs_Timeout: never;
|
|
2160
|
+
|
|
2161
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
2162
|
+
|
|
1930
2163
|
close(): void;
|
|
1931
2164
|
Dispose(): void;
|
|
1932
2165
|
hasRef(): boolean;
|
|
@@ -1943,10 +2176,12 @@ export const Timeout: {
|
|
|
1943
2176
|
export type Timeout = Timeout$instance;
|
|
1944
2177
|
|
|
1945
2178
|
export interface TimersPromises$instance {
|
|
2179
|
+
readonly __tsonic_type_nodejs_TimersPromises: never;
|
|
2180
|
+
|
|
1946
2181
|
readonly scheduler: TimersScheduler;
|
|
1947
|
-
setImmediate(value?: unknown):
|
|
1948
|
-
setInterval(delay?: int, value?: unknown):
|
|
1949
|
-
setTimeout(delay?: int, value?: unknown):
|
|
2182
|
+
setImmediate(value?: unknown): Task_1<unknown | undefined>;
|
|
2183
|
+
setInterval(delay?: int, value?: unknown): IAsyncEnumerable_1<unknown | undefined>;
|
|
2184
|
+
setTimeout(delay?: int, value?: unknown): Task_1<unknown | undefined>;
|
|
1950
2185
|
}
|
|
1951
2186
|
|
|
1952
2187
|
|
|
@@ -1958,6 +2193,8 @@ export const TimersPromises: {
|
|
|
1958
2193
|
export type TimersPromises = TimersPromises$instance;
|
|
1959
2194
|
|
|
1960
2195
|
export interface TimersScheduler$instance {
|
|
2196
|
+
readonly __tsonic_type_nodejs_TimersScheduler: never;
|
|
2197
|
+
|
|
1961
2198
|
wait(delay?: int): Task;
|
|
1962
2199
|
yield(): Task;
|
|
1963
2200
|
}
|
|
@@ -1971,6 +2208,8 @@ export const TimersScheduler: {
|
|
|
1971
2208
|
export type TimersScheduler = TimersScheduler$instance;
|
|
1972
2209
|
|
|
1973
2210
|
export interface TlsaRecord$instance {
|
|
2211
|
+
readonly __tsonic_type_nodejs_TlsaRecord: never;
|
|
2212
|
+
|
|
1974
2213
|
certUsage: int;
|
|
1975
2214
|
data: byte[];
|
|
1976
2215
|
match: int;
|
|
@@ -1986,6 +2225,8 @@ export const TlsaRecord: {
|
|
|
1986
2225
|
export type TlsaRecord = TlsaRecord$instance;
|
|
1987
2226
|
|
|
1988
2227
|
export interface TLSCertificateInfo$instance {
|
|
2228
|
+
readonly __tsonic_type_nodejs_TLSCertificateInfo: never;
|
|
2229
|
+
|
|
1989
2230
|
C: string;
|
|
1990
2231
|
CN: string;
|
|
1991
2232
|
L: string;
|
|
@@ -2003,18 +2244,20 @@ export const TLSCertificateInfo: {
|
|
|
2003
2244
|
export type TLSCertificateInfo = TLSCertificateInfo$instance;
|
|
2004
2245
|
|
|
2005
2246
|
export interface TlsOptions$instance extends CommonConnectionOptions {
|
|
2006
|
-
|
|
2247
|
+
readonly __tsonic_type_nodejs_TlsOptions: never;
|
|
2248
|
+
|
|
2249
|
+
allowHalfOpen: Nullable_1<System_Internal.Boolean>;
|
|
2007
2250
|
get ca(): unknown | undefined;
|
|
2008
2251
|
set ca(value: unknown | undefined);
|
|
2009
2252
|
get cert(): unknown | undefined;
|
|
2010
2253
|
set cert(value: unknown | undefined);
|
|
2011
|
-
handshakeTimeout:
|
|
2254
|
+
handshakeTimeout: Nullable_1<System_Internal.Int32>;
|
|
2012
2255
|
get key(): unknown | undefined;
|
|
2013
2256
|
set key(value: unknown | undefined);
|
|
2014
2257
|
get passphrase(): string | undefined;
|
|
2015
2258
|
set passphrase(value: string | undefined);
|
|
2016
|
-
pauseOnConnect:
|
|
2017
|
-
sessionTimeout:
|
|
2259
|
+
pauseOnConnect: Nullable_1<System_Internal.Boolean>;
|
|
2260
|
+
sessionTimeout: Nullable_1<System_Internal.Int32>;
|
|
2018
2261
|
}
|
|
2019
2262
|
|
|
2020
2263
|
|
|
@@ -2026,6 +2269,8 @@ export const TlsOptions: {
|
|
|
2026
2269
|
export type TlsOptions = TlsOptions$instance;
|
|
2027
2270
|
|
|
2028
2271
|
export interface TLSServer$instance extends Server {
|
|
2272
|
+
readonly __tsonic_type_nodejs_TLSServer: never;
|
|
2273
|
+
|
|
2029
2274
|
addContext(hostname: string, context: unknown): void;
|
|
2030
2275
|
getTicketKeys(): byte[];
|
|
2031
2276
|
setSecureContext(options: SecureContextOptions): void;
|
|
@@ -2035,14 +2280,16 @@ export interface TLSServer$instance extends Server {
|
|
|
2035
2280
|
|
|
2036
2281
|
export const TLSServer: {
|
|
2037
2282
|
new(): TLSServer;
|
|
2038
|
-
new(secureConnectionListener:
|
|
2039
|
-
new(options: TlsOptions, secureConnectionListener:
|
|
2283
|
+
new(secureConnectionListener: Action_1<TLSSocket>): TLSServer;
|
|
2284
|
+
new(options: TlsOptions, secureConnectionListener: Action_1<TLSSocket>): TLSServer;
|
|
2040
2285
|
};
|
|
2041
2286
|
|
|
2042
2287
|
|
|
2043
2288
|
export type TLSServer = TLSServer$instance;
|
|
2044
2289
|
|
|
2045
2290
|
export interface TLSSocket$instance extends Socket {
|
|
2291
|
+
readonly __tsonic_type_nodejs_TLSSocket: never;
|
|
2292
|
+
|
|
2046
2293
|
readonly alpnProtocol: string | undefined;
|
|
2047
2294
|
readonly authorizationError: Exception | undefined;
|
|
2048
2295
|
readonly authorized: boolean;
|
|
@@ -2063,13 +2310,13 @@ export interface TLSSocket$instance extends Socket {
|
|
|
2063
2310
|
getTLSTicket(): byte[] | undefined;
|
|
2064
2311
|
getX509Certificate(): unknown | undefined;
|
|
2065
2312
|
isSessionReused(): boolean;
|
|
2066
|
-
renegotiate(options: unknown, callback:
|
|
2313
|
+
renegotiate(options: unknown, callback: Action_1<Exception>): boolean;
|
|
2067
2314
|
setKeyCert(context: unknown): void;
|
|
2068
2315
|
setMaxSendFragment(size: int): boolean;
|
|
2069
|
-
write(data: byte[], callback?:
|
|
2070
|
-
write(data: string, encoding?: string, callback?:
|
|
2071
|
-
write(data: byte[], callback?:
|
|
2072
|
-
write(data: string, encoding?: string, callback?:
|
|
2316
|
+
write(data: byte[], callback?: Action_1<Exception>): boolean;
|
|
2317
|
+
write(data: string, encoding?: string, callback?: Action_1<Exception>): boolean;
|
|
2318
|
+
write(data: byte[], callback?: Action_1<Exception>): boolean;
|
|
2319
|
+
write(data: string, encoding?: string, callback?: Action_1<Exception>): boolean;
|
|
2073
2320
|
}
|
|
2074
2321
|
|
|
2075
2322
|
|
|
@@ -2081,11 +2328,13 @@ export const TLSSocket: {
|
|
|
2081
2328
|
export type TLSSocket = TLSSocket$instance;
|
|
2082
2329
|
|
|
2083
2330
|
export interface TLSSocketOptions$instance extends CommonConnectionOptions {
|
|
2331
|
+
readonly __tsonic_type_nodejs_TLSSocketOptions: never;
|
|
2332
|
+
|
|
2084
2333
|
get ca(): unknown | undefined;
|
|
2085
2334
|
set ca(value: unknown | undefined);
|
|
2086
2335
|
get cert(): unknown | undefined;
|
|
2087
2336
|
set cert(value: unknown | undefined);
|
|
2088
|
-
isServer:
|
|
2337
|
+
isServer: Nullable_1<System_Internal.Boolean>;
|
|
2089
2338
|
get key(): unknown | undefined;
|
|
2090
2339
|
set key(value: unknown | undefined);
|
|
2091
2340
|
get passphrase(): string | undefined;
|
|
@@ -2105,8 +2354,10 @@ export const TLSSocketOptions: {
|
|
|
2105
2354
|
export type TLSSocketOptions = TLSSocketOptions$instance;
|
|
2106
2355
|
|
|
2107
2356
|
export interface Transform$instance extends Duplex {
|
|
2108
|
-
|
|
2109
|
-
|
|
2357
|
+
readonly __tsonic_type_nodejs_Transform: never;
|
|
2358
|
+
|
|
2359
|
+
_flush(callback: Action_1<Exception>): void;
|
|
2360
|
+
_transform(chunk: unknown, encoding: string, callback: Action_2<Exception, unknown>): void;
|
|
2110
2361
|
_write(chunk: unknown, encoding: string, callback: Action): void;
|
|
2111
2362
|
}
|
|
2112
2363
|
|
|
@@ -2119,6 +2370,8 @@ export const Transform: {
|
|
|
2119
2370
|
export type Transform = Transform$instance;
|
|
2120
2371
|
|
|
2121
2372
|
export interface URL$instance {
|
|
2373
|
+
readonly __tsonic_type_nodejs_URL: never;
|
|
2374
|
+
|
|
2122
2375
|
hash: string;
|
|
2123
2376
|
host: string;
|
|
2124
2377
|
hostname: string;
|
|
@@ -2146,7 +2399,9 @@ export const URL: {
|
|
|
2146
2399
|
export type URL = URL$instance;
|
|
2147
2400
|
|
|
2148
2401
|
export interface URLPattern$instance {
|
|
2149
|
-
|
|
2402
|
+
readonly __tsonic_type_nodejs_URLPattern: never;
|
|
2403
|
+
|
|
2404
|
+
exec(input: string): Dictionary_2<System_Internal.String, System_Internal.String> | undefined;
|
|
2150
2405
|
test(input: string): boolean;
|
|
2151
2406
|
}
|
|
2152
2407
|
|
|
@@ -2159,19 +2414,21 @@ export const URLPattern: {
|
|
|
2159
2414
|
export type URLPattern = URLPattern$instance;
|
|
2160
2415
|
|
|
2161
2416
|
export interface URLSearchParams$instance {
|
|
2417
|
+
readonly __tsonic_type_nodejs_URLSearchParams: never;
|
|
2418
|
+
|
|
2162
2419
|
readonly size: int;
|
|
2163
2420
|
append(name: string, value: string): void;
|
|
2164
2421
|
delete(name: string, value?: string): void;
|
|
2165
|
-
entries():
|
|
2166
|
-
forEach(callback:
|
|
2422
|
+
entries(): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
|
|
2423
|
+
forEach(callback: Action_2<System_Internal.String, System_Internal.String>): void;
|
|
2167
2424
|
get(name: string): string | undefined;
|
|
2168
2425
|
getAll(name: string): string[];
|
|
2169
2426
|
has(name: string, value?: string): boolean;
|
|
2170
|
-
keys():
|
|
2427
|
+
keys(): IEnumerable_1<System_Internal.String>;
|
|
2171
2428
|
set(name: string, value: string): void;
|
|
2172
2429
|
sort(): void;
|
|
2173
2430
|
ToString(): string;
|
|
2174
|
-
values():
|
|
2431
|
+
values(): IEnumerable_1<System_Internal.String>;
|
|
2175
2432
|
}
|
|
2176
2433
|
|
|
2177
2434
|
|
|
@@ -2183,6 +2440,8 @@ export const URLSearchParams: {
|
|
|
2183
2440
|
export type URLSearchParams = URLSearchParams$instance;
|
|
2184
2441
|
|
|
2185
2442
|
export interface UserInfo$instance {
|
|
2443
|
+
readonly __tsonic_type_nodejs_UserInfo: never;
|
|
2444
|
+
|
|
2186
2445
|
gid: int;
|
|
2187
2446
|
homedir: string;
|
|
2188
2447
|
get shell(): string | undefined;
|
|
@@ -2200,6 +2459,8 @@ export const UserInfo: {
|
|
|
2200
2459
|
export type UserInfo = UserInfo$instance;
|
|
2201
2460
|
|
|
2202
2461
|
export interface Verify$instance extends Transform {
|
|
2462
|
+
readonly __tsonic_type_nodejs_Verify: never;
|
|
2463
|
+
|
|
2203
2464
|
Dispose(): void;
|
|
2204
2465
|
Finalize(): void;
|
|
2205
2466
|
update(data: string, inputEncoding?: string): Verify;
|
|
@@ -2218,6 +2479,8 @@ export const Verify: {
|
|
|
2218
2479
|
export type Verify = Verify$instance;
|
|
2219
2480
|
|
|
2220
2481
|
export interface Writable$instance extends Stream {
|
|
2482
|
+
readonly __tsonic_type_nodejs_Writable: never;
|
|
2483
|
+
|
|
2221
2484
|
destroyed: boolean;
|
|
2222
2485
|
readonly writable: boolean;
|
|
2223
2486
|
readonly writableCorked: boolean;
|
|
@@ -2241,6 +2504,8 @@ export const Writable: {
|
|
|
2241
2504
|
export type Writable = Writable$instance;
|
|
2242
2505
|
|
|
2243
2506
|
export interface X509CertificateInfo$instance {
|
|
2507
|
+
readonly __tsonic_type_nodejs_X509CertificateInfo: never;
|
|
2508
|
+
|
|
2244
2509
|
readonly fingerprint: string;
|
|
2245
2510
|
readonly fingerprint256: string;
|
|
2246
2511
|
readonly fingerprint512: string;
|
|
@@ -2268,12 +2533,14 @@ export const X509CertificateInfo: {
|
|
|
2268
2533
|
export type X509CertificateInfo = X509CertificateInfo$instance;
|
|
2269
2534
|
|
|
2270
2535
|
export interface ZlibOptions$instance {
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2536
|
+
readonly __tsonic_type_nodejs_ZlibOptions: never;
|
|
2537
|
+
|
|
2538
|
+
chunkSize: Nullable_1<System_Internal.Int32>;
|
|
2539
|
+
level: Nullable_1<System_Internal.Int32>;
|
|
2540
|
+
maxOutputLength: Nullable_1<System_Internal.Int32>;
|
|
2541
|
+
memLevel: Nullable_1<System_Internal.Int32>;
|
|
2542
|
+
strategy: Nullable_1<System_Internal.Int32>;
|
|
2543
|
+
windowBits: Nullable_1<System_Internal.Int32>;
|
|
2277
2544
|
}
|
|
2278
2545
|
|
|
2279
2546
|
|
|
@@ -2288,7 +2555,7 @@ export abstract class assert$instance {
|
|
|
2288
2555
|
static deepEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2289
2556
|
static deepStrictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2290
2557
|
static doesNotMatch(string: string, regexp: Regex, message?: string): void;
|
|
2291
|
-
static doesNotReject(fn:
|
|
2558
|
+
static doesNotReject(fn: Func_1<Task>, message?: string): Task;
|
|
2292
2559
|
static doesNotThrow(fn: Action, message?: string): void;
|
|
2293
2560
|
static equal(actual: unknown, expected: unknown, message?: string): void;
|
|
2294
2561
|
static fail(message?: string): void;
|
|
@@ -2299,7 +2566,7 @@ export abstract class assert$instance {
|
|
|
2299
2566
|
static notEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2300
2567
|
static notStrictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2301
2568
|
static ok(value: boolean, message?: string): void;
|
|
2302
|
-
static rejects(fn:
|
|
2569
|
+
static rejects(fn: Func_1<Task>, message?: string): Task;
|
|
2303
2570
|
static strict(actual: unknown, expected: unknown, message?: string): void;
|
|
2304
2571
|
static strictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2305
2572
|
static throws(fn: Action, message?: string): void;
|
|
@@ -2340,9 +2607,9 @@ export abstract class Certificate$instance {
|
|
|
2340
2607
|
export type Certificate = Certificate$instance;
|
|
2341
2608
|
|
|
2342
2609
|
export abstract class child_process$instance {
|
|
2343
|
-
static exec(command: string, options: ExecOptions, callback:
|
|
2344
|
-
static exec(command: string, callback:
|
|
2345
|
-
static execFile(file: string, args: string[], options: ExecOptions, callback:
|
|
2610
|
+
static exec(command: string, options: ExecOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2611
|
+
static exec(command: string, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2612
|
+
static execFile(file: string, args: string[], options: ExecOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2346
2613
|
static execFileSync(file: string, args?: string[], options?: ExecOptions): unknown;
|
|
2347
2614
|
static execSync(command: string, options: ExecOptions): unknown;
|
|
2348
2615
|
static execSync(command: string): byte[];
|
|
@@ -2407,10 +2674,10 @@ export abstract class crypto$instance {
|
|
|
2407
2674
|
static createSecretKey(key: string, encoding?: string): KeyObject;
|
|
2408
2675
|
static createSign(algorithm: string): Sign;
|
|
2409
2676
|
static createVerify(algorithm: string): Verify;
|
|
2410
|
-
static generateKey(type: string, options: unknown, callback:
|
|
2677
|
+
static generateKey(type: string, options: unknown, callback: Action_2<Exception, KeyObject>): void;
|
|
2411
2678
|
static generateKey(type: string, options: unknown): KeyObject;
|
|
2412
|
-
static generateKeyPair(type: string, options: unknown, callback:
|
|
2413
|
-
static generateKeyPairSync(type: string, options?: unknown):
|
|
2679
|
+
static generateKeyPair(type: string, options: unknown, callback: Action_3<Exception, unknown, unknown>): void;
|
|
2680
|
+
static generateKeyPairSync(type: string, options?: unknown): ValueTuple_2<KeyObject, KeyObject>;
|
|
2414
2681
|
static getCiphers(): string[];
|
|
2415
2682
|
static getCurves(): string[];
|
|
2416
2683
|
static getDefaultCipherList(): string;
|
|
@@ -2418,9 +2685,9 @@ export abstract class crypto$instance {
|
|
|
2418
2685
|
static getFips(): boolean;
|
|
2419
2686
|
static getHashes(): string[];
|
|
2420
2687
|
static hash(algorithm: string, data: byte[], outputEncoding?: string): byte[];
|
|
2421
|
-
static hkdf(digest: string, ikm: byte[], salt: byte[], info: byte[], keylen: int, callback:
|
|
2688
|
+
static hkdf(digest: string, ikm: byte[], salt: byte[], info: byte[], keylen: int, callback: Action_2<Exception, byte[]>): void;
|
|
2422
2689
|
static hkdfSync(digest: string, ikm: byte[], salt: byte[], info: byte[], keylen: int): byte[];
|
|
2423
|
-
static pbkdf2(password: string, salt: string, iterations: int, keylen: int, digest: string, callback:
|
|
2690
|
+
static pbkdf2(password: string, salt: string, iterations: int, keylen: int, digest: string, callback: Action_2<Exception, byte[]>): void;
|
|
2424
2691
|
static pbkdf2Sync(password: byte[], salt: byte[], iterations: int, keylen: int, digest: string): byte[];
|
|
2425
2692
|
static pbkdf2Sync(password: string, salt: string, iterations: int, keylen: int, digest: string): byte[];
|
|
2426
2693
|
static privateDecrypt(key: unknown, buffer: byte[]): byte[];
|
|
@@ -2431,14 +2698,14 @@ export abstract class crypto$instance {
|
|
|
2431
2698
|
static publicDecrypt(key: string, buffer: byte[]): byte[];
|
|
2432
2699
|
static publicEncrypt(key: unknown, buffer: byte[]): byte[];
|
|
2433
2700
|
static publicEncrypt(key: string, buffer: byte[]): byte[];
|
|
2434
|
-
static randomBytes(size: int, callback:
|
|
2701
|
+
static randomBytes(size: int, callback: Action_2<Exception, byte[]>): void;
|
|
2435
2702
|
static randomBytes(size: int): byte[];
|
|
2436
|
-
static randomFill(buffer: byte[], offset: int, size: int, callback:
|
|
2437
|
-
static randomFillSync(buffer: byte[], offset?: int, size?:
|
|
2703
|
+
static randomFill(buffer: byte[], offset: int, size: int, callback: Action_2<Exception, byte[]>): void;
|
|
2704
|
+
static randomFillSync(buffer: byte[], offset?: int, size?: Nullable_1<System_Internal.Int32>): byte[];
|
|
2438
2705
|
static randomInt(min: int, max: int): int;
|
|
2439
2706
|
static randomInt(max: int): int;
|
|
2440
2707
|
static randomUUID(): string;
|
|
2441
|
-
static scrypt(password: string, salt: string, keylen: int, options: unknown, callback:
|
|
2708
|
+
static scrypt(password: string, salt: string, keylen: int, options: unknown, callback: Action_2<Exception, byte[]>): void;
|
|
2442
2709
|
static scryptSync(password: byte[], salt: byte[], keylen: int, options?: unknown): byte[];
|
|
2443
2710
|
static scryptSync(password: string, salt: string, keylen: int, options?: unknown): byte[];
|
|
2444
2711
|
static setDefaultEncoding(encoding: string): void;
|
|
@@ -2454,8 +2721,8 @@ export abstract class crypto$instance {
|
|
|
2454
2721
|
export type crypto = crypto$instance;
|
|
2455
2722
|
|
|
2456
2723
|
export abstract class dgram$instance {
|
|
2457
|
-
static createSocket(options: SocketOptions, callback?:
|
|
2458
|
-
static createSocket(type: string, callback?:
|
|
2724
|
+
static createSocket(options: SocketOptions, callback?: Action_2<byte[], RemoteInfo>): DgramSocket;
|
|
2725
|
+
static createSocket(type: string, callback?: Action_2<byte[], RemoteInfo>): DgramSocket;
|
|
2459
2726
|
}
|
|
2460
2727
|
|
|
2461
2728
|
|
|
@@ -2492,29 +2759,29 @@ export abstract class dns$instance {
|
|
|
2492
2759
|
static readonly promises: DnsPromises;
|
|
2493
2760
|
static getDefaultResultOrder(): string;
|
|
2494
2761
|
static getServers(): string[];
|
|
2495
|
-
static lookup(hostname: string, options: LookupOptions, callback:
|
|
2496
|
-
static lookup(hostname: string, options: LookupOptions, callback:
|
|
2497
|
-
static lookup(hostname: string, callback:
|
|
2498
|
-
static lookup(hostname: string, family: int, callback:
|
|
2499
|
-
static lookupService(address: string, port: int, callback:
|
|
2500
|
-
static resolve(hostname: string, callback:
|
|
2501
|
-
static resolve(hostname: string, rrtype: string, callback:
|
|
2502
|
-
static resolve4(hostname: string, options: ResolveOptions, callback:
|
|
2503
|
-
static resolve4(hostname: string, callback:
|
|
2504
|
-
static resolve6(hostname: string, options: ResolveOptions, callback:
|
|
2505
|
-
static resolve6(hostname: string, callback:
|
|
2506
|
-
static resolveAny(hostname: string, callback:
|
|
2507
|
-
static resolveCaa(hostname: string, callback:
|
|
2508
|
-
static resolveCname(hostname: string, callback:
|
|
2509
|
-
static resolveMx(hostname: string, callback:
|
|
2510
|
-
static resolveNaptr(hostname: string, callback:
|
|
2511
|
-
static resolveNs(hostname: string, callback:
|
|
2512
|
-
static resolvePtr(hostname: string, callback:
|
|
2513
|
-
static resolveSoa(hostname: string, callback:
|
|
2514
|
-
static resolveSrv(hostname: string, callback:
|
|
2515
|
-
static resolveTlsa(hostname: string, callback:
|
|
2516
|
-
static resolveTxt(hostname: string, callback:
|
|
2517
|
-
static reverse(ip: string, callback:
|
|
2762
|
+
static lookup(hostname: string, options: LookupOptions, callback: Action_2<Exception, LookupAddress[]>): void;
|
|
2763
|
+
static lookup(hostname: string, options: LookupOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
|
|
2764
|
+
static lookup(hostname: string, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
|
|
2765
|
+
static lookup(hostname: string, family: int, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
|
|
2766
|
+
static lookupService(address: string, port: int, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2767
|
+
static resolve(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2768
|
+
static resolve(hostname: string, rrtype: string, callback: Action_2<Exception, unknown>): void;
|
|
2769
|
+
static resolve4(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
2770
|
+
static resolve4(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2771
|
+
static resolve6(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
2772
|
+
static resolve6(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2773
|
+
static resolveAny(hostname: string, callback: Action_2<Exception, unknown[]>): void;
|
|
2774
|
+
static resolveCaa(hostname: string, callback: Action_2<Exception, CaaRecord[]>): void;
|
|
2775
|
+
static resolveCname(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2776
|
+
static resolveMx(hostname: string, callback: Action_2<Exception, MxRecord[]>): void;
|
|
2777
|
+
static resolveNaptr(hostname: string, callback: Action_2<Exception, NaptrRecord[]>): void;
|
|
2778
|
+
static resolveNs(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2779
|
+
static resolvePtr(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2780
|
+
static resolveSoa(hostname: string, callback: Action_2<Exception, SoaRecord>): void;
|
|
2781
|
+
static resolveSrv(hostname: string, callback: Action_2<Exception, SrvRecord[]>): void;
|
|
2782
|
+
static resolveTlsa(hostname: string, callback: Action_2<Exception, TlsaRecord[]>): void;
|
|
2783
|
+
static resolveTxt(hostname: string, callback: Action_2<Exception, string[][]>): void;
|
|
2784
|
+
static reverse(ip: string, callback: Action_2<Exception, string[]>): void;
|
|
2518
2785
|
static setDefaultResultOrder(order: string): void;
|
|
2519
2786
|
static setServers(servers: string[]): void;
|
|
2520
2787
|
}
|
|
@@ -2531,8 +2798,8 @@ export abstract class events$instance {
|
|
|
2531
2798
|
static getEventListeners(emitter: EventEmitter, eventName: string): Function[];
|
|
2532
2799
|
static getMaxListeners(emitter: EventEmitter): int;
|
|
2533
2800
|
static listenerCount(emitter: EventEmitter, eventName: string): int;
|
|
2534
|
-
static on(emitter: EventEmitter, eventName: string):
|
|
2535
|
-
static once(emitter: EventEmitter, eventName: string):
|
|
2801
|
+
static on(emitter: EventEmitter, eventName: string): IAsyncEnumerable_1<(unknown | undefined)[]>;
|
|
2802
|
+
static once(emitter: EventEmitter, eventName: string): Task_1<(unknown | undefined)[]>;
|
|
2536
2803
|
static setMaxListeners(n: int, ...emitters: EventEmitter[]): void;
|
|
2537
2804
|
}
|
|
2538
2805
|
|
|
@@ -2554,23 +2821,23 @@ export abstract class fs$instance {
|
|
|
2554
2821
|
static cp(src: string, dest: string, recursive?: boolean): Task;
|
|
2555
2822
|
static cpSync(src: string, dest: string, recursive?: boolean): void;
|
|
2556
2823
|
static existsSync(path: string): boolean;
|
|
2557
|
-
static fstat(fd: int):
|
|
2824
|
+
static fstat(fd: int): Task_1<Stats>;
|
|
2558
2825
|
static fstatSync(fd: int): Stats;
|
|
2559
2826
|
static mkdir(path: string, recursive?: boolean): Task;
|
|
2560
2827
|
static mkdirSync(path: string, recursive?: boolean): void;
|
|
2561
|
-
static open(path: string, flags: string, mode?:
|
|
2562
|
-
static openSync(path: string, flags: string, mode?:
|
|
2563
|
-
static read(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2564
|
-
static readdir(path: string, withFileTypes?: boolean):
|
|
2828
|
+
static open(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
2829
|
+
static openSync(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): int;
|
|
2830
|
+
static read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
2831
|
+
static readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
|
|
2565
2832
|
static readdirSync(path: string, withFileTypes?: boolean): string[];
|
|
2566
|
-
static readFile(path: string, encoding?: string):
|
|
2567
|
-
static readFileBytes(path: string):
|
|
2833
|
+
static readFile(path: string, encoding?: string): Task_1<System_Internal.String>;
|
|
2834
|
+
static readFileBytes(path: string): Task_1<byte[]>;
|
|
2568
2835
|
static readFileSync(path: string, encoding?: string): string;
|
|
2569
2836
|
static readFileSyncBytes(path: string): byte[];
|
|
2570
|
-
static readlink(path: string):
|
|
2837
|
+
static readlink(path: string): Task_1<System_Internal.String>;
|
|
2571
2838
|
static readlinkSync(path: string): string;
|
|
2572
|
-
static readSync(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2573
|
-
static realpath(path: string):
|
|
2839
|
+
static readSync(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): int;
|
|
2840
|
+
static realpath(path: string): Task_1<System_Internal.String>;
|
|
2574
2841
|
static realpathSync(path: string): string;
|
|
2575
2842
|
static rename(oldPath: string, newPath: string): Task;
|
|
2576
2843
|
static renameSync(oldPath: string, newPath: string): void;
|
|
@@ -2578,7 +2845,7 @@ export abstract class fs$instance {
|
|
|
2578
2845
|
static rmdir(path: string, recursive?: boolean): Task;
|
|
2579
2846
|
static rmdirSync(path: string, recursive?: boolean): void;
|
|
2580
2847
|
static rmSync(path: string, recursive?: boolean): void;
|
|
2581
|
-
static stat(path: string):
|
|
2848
|
+
static stat(path: string): Task_1<Stats>;
|
|
2582
2849
|
static statSync(path: string): Stats;
|
|
2583
2850
|
static symlink(target: string, path: string, type?: string): Task;
|
|
2584
2851
|
static symlinkSync(target: string, path: string, type?: string): void;
|
|
@@ -2586,14 +2853,14 @@ export abstract class fs$instance {
|
|
|
2586
2853
|
static truncateSync(path: string, len?: long): void;
|
|
2587
2854
|
static unlink(path: string): Task;
|
|
2588
2855
|
static unlinkSync(path: string): void;
|
|
2589
|
-
static write(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2590
|
-
static write(fd: int, data: string, position?:
|
|
2856
|
+
static write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
2857
|
+
static write(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): Task_1<System_Internal.Int32>;
|
|
2591
2858
|
static writeFile(path: string, data: string, encoding?: string): Task;
|
|
2592
2859
|
static writeFileBytes(path: string, data: byte[]): Task;
|
|
2593
2860
|
static writeFileSync(path: string, data: string, encoding?: string): void;
|
|
2594
2861
|
static writeFileSyncBytes(path: string, data: byte[]): void;
|
|
2595
|
-
static writeSync(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2596
|
-
static writeSync(fd: int, data: string, position?:
|
|
2862
|
+
static writeSync(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): int;
|
|
2863
|
+
static writeSync(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
|
|
2597
2864
|
}
|
|
2598
2865
|
|
|
2599
2866
|
|
|
@@ -2606,8 +2873,8 @@ export abstract class net$instance {
|
|
|
2606
2873
|
static createConnection(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
|
|
2607
2874
|
static createConnection(port: int, host?: string, connectionListener?: Action): Socket;
|
|
2608
2875
|
static createConnection(path: string, connectionListener?: Action): Socket;
|
|
2609
|
-
static createServer(options: ServerOpts, connectionListener?:
|
|
2610
|
-
static createServer(connectionListener?:
|
|
2876
|
+
static createServer(options: ServerOpts, connectionListener?: Action_1<Socket>): Server;
|
|
2877
|
+
static createServer(connectionListener?: Action_1<Socket>): Server;
|
|
2611
2878
|
static getDefaultAutoSelectFamily(): boolean;
|
|
2612
2879
|
static getDefaultAutoSelectFamilyAttemptTimeout(): int;
|
|
2613
2880
|
static isIP(input: string): int;
|
|
@@ -2687,7 +2954,7 @@ export abstract class process$instance {
|
|
|
2687
2954
|
static argv0: string;
|
|
2688
2955
|
static readonly env: ProcessEnv;
|
|
2689
2956
|
static readonly execPath: string;
|
|
2690
|
-
static exitCode:
|
|
2957
|
+
static exitCode: Nullable_1<System_Internal.Int32>;
|
|
2691
2958
|
static readonly pid: int;
|
|
2692
2959
|
static readonly ppid: int;
|
|
2693
2960
|
static readonly platform: string;
|
|
@@ -2695,7 +2962,7 @@ export abstract class process$instance {
|
|
|
2695
2962
|
static readonly versions: ProcessVersions;
|
|
2696
2963
|
static chdir(directory: string): void;
|
|
2697
2964
|
static cwd(): string;
|
|
2698
|
-
static exit(code?:
|
|
2965
|
+
static exit(code?: Nullable_1<System_Internal.Int32>): void;
|
|
2699
2966
|
static kill(pid: int, signal?: unknown): boolean;
|
|
2700
2967
|
}
|
|
2701
2968
|
|
|
@@ -2703,11 +2970,11 @@ export abstract class process$instance {
|
|
|
2703
2970
|
export type process = process$instance;
|
|
2704
2971
|
|
|
2705
2972
|
export abstract class querystring$instance {
|
|
2706
|
-
static decode(str: string, sep?: string, eq?: string, maxKeys?: int):
|
|
2707
|
-
static encode(obj:
|
|
2973
|
+
static decode(str: string, sep?: string, eq?: string, maxKeys?: int): Dictionary_2<System_Internal.String, unknown>;
|
|
2974
|
+
static encode(obj: Dictionary_2<System_Internal.String, unknown>, sep?: string, eq?: string): string;
|
|
2708
2975
|
static escape(str: string): string;
|
|
2709
|
-
static parse(str: string, sep?: string, eq?: string, maxKeys?: int):
|
|
2710
|
-
static stringify(obj:
|
|
2976
|
+
static parse(str: string, sep?: string, eq?: string, maxKeys?: int): Dictionary_2<System_Internal.String, unknown>;
|
|
2977
|
+
static stringify(obj: Dictionary_2<System_Internal.String, unknown>, sep?: string, eq?: string): string;
|
|
2711
2978
|
static unescape(str: string): string;
|
|
2712
2979
|
}
|
|
2713
2980
|
|
|
@@ -2718,10 +2985,10 @@ export abstract class readline$instance {
|
|
|
2718
2985
|
static readonly promises: ReadlinePromises;
|
|
2719
2986
|
static clearLine(stream: Writable, dir: int, callback?: Action): boolean;
|
|
2720
2987
|
static clearScreenDown(stream: Writable, callback?: Action): boolean;
|
|
2721
|
-
static createAsyncIterator(input: Readable, options?: InterfaceOptions):
|
|
2988
|
+
static createAsyncIterator(input: Readable, options?: InterfaceOptions): IAsyncEnumerable_1<System_Internal.String>;
|
|
2722
2989
|
static createInterface(options: InterfaceOptions): Interface;
|
|
2723
2990
|
static createInterface(input: Readable, output?: Writable): Interface;
|
|
2724
|
-
static cursorTo(stream: Writable, x: int, y?:
|
|
2991
|
+
static cursorTo(stream: Writable, x: int, y?: Nullable_1<System_Internal.Int32>, callback?: Action): boolean;
|
|
2725
2992
|
static emitKeypressEvents(stream: Readable, rl?: Interface): void;
|
|
2726
2993
|
static moveCursor(stream: Writable, dx: int, dy: int, callback?: Action): boolean;
|
|
2727
2994
|
}
|
|
@@ -2731,7 +2998,7 @@ export type readline = readline$instance;
|
|
|
2731
2998
|
|
|
2732
2999
|
export abstract class stream$instance {
|
|
2733
3000
|
static readonly promises: StreamPromises;
|
|
2734
|
-
static finished(stream: Stream, callback:
|
|
3001
|
+
static finished(stream: Stream, callback: Action_1<Exception>): void;
|
|
2735
3002
|
static finished(stream: Stream): Task;
|
|
2736
3003
|
static pipeline(...streams: unknown[]): void;
|
|
2737
3004
|
}
|
|
@@ -2766,8 +3033,8 @@ export abstract class tls$instance {
|
|
|
2766
3033
|
static connect(port: int, options?: ConnectionOptions, secureConnectListener?: Action): TLSSocket;
|
|
2767
3034
|
static connect(port: int, host?: string, options?: ConnectionOptions, secureConnectListener?: Action): TLSSocket;
|
|
2768
3035
|
static createSecureContext(options?: SecureContextOptions): SecureContext;
|
|
2769
|
-
static createServer(options: TlsOptions, secureConnectionListener?:
|
|
2770
|
-
static createServer(secureConnectionListener?:
|
|
3036
|
+
static createServer(options: TlsOptions, secureConnectionListener?: Action_1<TLSSocket>): TLSServer;
|
|
3037
|
+
static createServer(secureConnectionListener?: Action_1<TLSSocket>): TLSServer;
|
|
2771
3038
|
static getCACertificates(type?: string): string[];
|
|
2772
3039
|
static getCiphers(): string[];
|
|
2773
3040
|
static setDefaultCACertificates(certs: string[]): void;
|
|
@@ -2787,7 +3054,7 @@ export abstract class url$instance {
|
|
|
2787
3054
|
static parse(input: string): URL | undefined;
|
|
2788
3055
|
static pathToFileURL(filePath: string): URL;
|
|
2789
3056
|
static resolve(from: string, to: string): string;
|
|
2790
|
-
static urlToHttpOptions(input: URL):
|
|
3057
|
+
static urlToHttpOptions(input: URL): Dictionary_2<System_Internal.String, unknown | undefined>;
|
|
2791
3058
|
}
|
|
2792
3059
|
|
|
2793
3060
|
|
|
@@ -2795,7 +3062,7 @@ export type url = url$instance;
|
|
|
2795
3062
|
|
|
2796
3063
|
export abstract class util$instance {
|
|
2797
3064
|
static debuglog(section: string): DebugLogFunction;
|
|
2798
|
-
static deprecate<TResult>(fn:
|
|
3065
|
+
static deprecate<TResult>(fn: Func_1<TResult>, msg: string, code?: string): Func_1<TResult>;
|
|
2799
3066
|
static deprecate(action: Action, msg: string, code?: string): Action;
|
|
2800
3067
|
static format(format: unknown, ...args: unknown[]): string;
|
|
2801
3068
|
static formatWithOptions(inspectOptions: unknown, formatValue: unknown, ...args: unknown[]): string;
|