@tsonic/nodejs 10.0.5 → 10.0.7
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 +499 -265
- package/nodejs.Http/internal/index.d.ts +38 -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,8 @@ 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
|
+
|
|
202
232
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
203
233
|
|
|
204
234
|
get actual(): unknown | undefined;
|
|
@@ -219,11 +249,13 @@ export const AssertionError: {
|
|
|
219
249
|
export type AssertionError = AssertionError$instance;
|
|
220
250
|
|
|
221
251
|
export interface BindOptions$instance {
|
|
252
|
+
readonly __tsonic_type_nodejs_BindOptions: never;
|
|
253
|
+
|
|
222
254
|
get address(): string | undefined;
|
|
223
255
|
set address(value: string | undefined);
|
|
224
256
|
exclusive: boolean;
|
|
225
|
-
fd:
|
|
226
|
-
port:
|
|
257
|
+
fd: Nullable_1<System_Internal.Int32>;
|
|
258
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
227
259
|
}
|
|
228
260
|
|
|
229
261
|
|
|
@@ -235,6 +267,8 @@ export const BindOptions: {
|
|
|
235
267
|
export type BindOptions = BindOptions$instance;
|
|
236
268
|
|
|
237
269
|
export interface BlockList$instance {
|
|
270
|
+
readonly __tsonic_type_nodejs_BlockList: never;
|
|
271
|
+
|
|
238
272
|
addAddress(address: string, type?: string): void;
|
|
239
273
|
addRange(start: string, end: string, type?: string): void;
|
|
240
274
|
addSubnet(network: string, prefix: int, type?: string): void;
|
|
@@ -251,9 +285,11 @@ export const BlockList: {
|
|
|
251
285
|
export type BlockList = BlockList$instance;
|
|
252
286
|
|
|
253
287
|
export interface BrotliOptions$instance {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
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>;
|
|
257
293
|
}
|
|
258
294
|
|
|
259
295
|
|
|
@@ -265,15 +301,16 @@ export const BrotliOptions: {
|
|
|
265
301
|
export type BrotliOptions = BrotliOptions$instance;
|
|
266
302
|
|
|
267
303
|
export interface Buffer$instance {
|
|
268
|
-
|
|
304
|
+
readonly __tsonic_type_nodejs_Buffer: never;
|
|
305
|
+
|
|
269
306
|
readonly length: int;
|
|
270
|
-
compare(target: Buffer, targetStart?:
|
|
271
|
-
copy(target: Buffer, targetStart?: int, sourceStart?:
|
|
307
|
+
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;
|
|
308
|
+
copy(target: Buffer, targetStart?: int, sourceStart?: Nullable_1<System_Internal.Int32>, sourceEnd?: Nullable_1<System_Internal.Int32>): int;
|
|
272
309
|
equals(otherBuffer: Buffer): boolean;
|
|
273
|
-
fill(value: unknown, offset?: int, end?:
|
|
310
|
+
fill(value: unknown, offset?: int, end?: Nullable_1<System_Internal.Int32>, encoding?: string): Buffer;
|
|
274
311
|
includes(value: unknown, byteOffset?: int, encoding?: string): boolean;
|
|
275
312
|
indexOf(value: unknown, byteOffset?: int, encoding?: string): int;
|
|
276
|
-
lastIndexOf(value: unknown, byteOffset?:
|
|
313
|
+
lastIndexOf(value: unknown, byteOffset?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
|
|
277
314
|
readBigInt64BE(offset?: int): long;
|
|
278
315
|
readBigInt64LE(offset?: int): long;
|
|
279
316
|
readBigUint64BE(offset?: int): ulong;
|
|
@@ -306,14 +343,14 @@ export interface Buffer$instance {
|
|
|
306
343
|
readUintLE(offset: int, byteLength: int): ulong;
|
|
307
344
|
readUIntLE(offset: int, byteLength: int): ulong;
|
|
308
345
|
reverse(): Buffer;
|
|
309
|
-
slice(start?:
|
|
310
|
-
subarray(start?:
|
|
346
|
+
slice(start?: Nullable_1<System_Internal.Int32>, end?: Nullable_1<System_Internal.Int32>): Buffer;
|
|
347
|
+
subarray(start?: Nullable_1<System_Internal.Int32>, end?: Nullable_1<System_Internal.Int32>): Buffer;
|
|
311
348
|
swap16(): Buffer;
|
|
312
349
|
swap32(): Buffer;
|
|
313
350
|
swap64(): Buffer;
|
|
314
351
|
toJSON(): unknown;
|
|
315
|
-
toString(encoding?: string, start?: int, end?:
|
|
316
|
-
write(str: string, offset?: int, length?:
|
|
352
|
+
toString(encoding?: string, start?: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
353
|
+
write(str: string, offset?: int, length?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
|
|
317
354
|
writeBigInt64BE(value: long, offset?: int): int;
|
|
318
355
|
writeBigInt64LE(value: long, offset?: int): int;
|
|
319
356
|
writeBigUint64BE(value: ulong, offset?: int): int;
|
|
@@ -355,7 +392,7 @@ export const Buffer: {
|
|
|
355
392
|
allocUnsafeSlow(size: int): Buffer;
|
|
356
393
|
byteLength(str: string, encoding?: string): int;
|
|
357
394
|
compare(buf1: Buffer, buf2: Buffer): int;
|
|
358
|
-
concat(list: Buffer[], totalLength?:
|
|
395
|
+
concat(list: Buffer[], totalLength?: Nullable_1<System_Internal.Int32>): Buffer;
|
|
359
396
|
from(buffer: Buffer): Buffer;
|
|
360
397
|
from(array: byte[]): Buffer;
|
|
361
398
|
from(array: int[]): Buffer;
|
|
@@ -366,9 +403,11 @@ export const Buffer: {
|
|
|
366
403
|
};
|
|
367
404
|
|
|
368
405
|
|
|
369
|
-
export type Buffer = Buffer$instance;
|
|
406
|
+
export type Buffer = Buffer$instance & { [index: number]: byte; };
|
|
370
407
|
|
|
371
408
|
export interface BufferConstants$instance {
|
|
409
|
+
readonly __tsonic_type_nodejs_BufferConstants: never;
|
|
410
|
+
|
|
372
411
|
readonly MAX_LENGTH: int;
|
|
373
412
|
readonly MAX_STRING_LENGTH: int;
|
|
374
413
|
}
|
|
@@ -382,6 +421,8 @@ export const BufferConstants: {
|
|
|
382
421
|
export type BufferConstants = BufferConstants$instance;
|
|
383
422
|
|
|
384
423
|
export interface CaaRecord$instance {
|
|
424
|
+
readonly __tsonic_type_nodejs_CaaRecord: never;
|
|
425
|
+
|
|
385
426
|
get contactemail(): string | undefined;
|
|
386
427
|
set contactemail(value: string | undefined);
|
|
387
428
|
get contactphone(): string | undefined;
|
|
@@ -404,8 +445,10 @@ export const CaaRecord: {
|
|
|
404
445
|
export type CaaRecord = CaaRecord$instance;
|
|
405
446
|
|
|
406
447
|
export interface ChildProcess$instance extends EventEmitter {
|
|
448
|
+
readonly __tsonic_type_nodejs_ChildProcess: never;
|
|
449
|
+
|
|
407
450
|
connected: boolean;
|
|
408
|
-
exitCode:
|
|
451
|
+
exitCode: Nullable_1<System_Internal.Int32>;
|
|
409
452
|
readonly killed: boolean;
|
|
410
453
|
readonly pid: int;
|
|
411
454
|
referenced: boolean;
|
|
@@ -422,7 +465,7 @@ export interface ChildProcess$instance extends EventEmitter {
|
|
|
422
465
|
disconnect(): void;
|
|
423
466
|
kill(signal?: string): boolean;
|
|
424
467
|
ref(): void;
|
|
425
|
-
send(message: unknown, sendHandle?: unknown, options?: unknown, callback?:
|
|
468
|
+
send(message: unknown, sendHandle?: unknown, options?: unknown, callback?: Action_1<Exception>): boolean;
|
|
426
469
|
unref(): void;
|
|
427
470
|
}
|
|
428
471
|
|
|
@@ -434,6 +477,8 @@ export const ChildProcess: {
|
|
|
434
477
|
export type ChildProcess = ChildProcess$instance;
|
|
435
478
|
|
|
436
479
|
export interface Cipher$instance extends Transform {
|
|
480
|
+
readonly __tsonic_type_nodejs_Cipher: never;
|
|
481
|
+
|
|
437
482
|
Dispose(): void;
|
|
438
483
|
final(outputEncoding?: string): string;
|
|
439
484
|
final(): byte[];
|
|
@@ -453,6 +498,8 @@ export const Cipher: {
|
|
|
453
498
|
export type Cipher = Cipher$instance;
|
|
454
499
|
|
|
455
500
|
export interface CipherNameAndProtocol$instance {
|
|
501
|
+
readonly __tsonic_type_nodejs_CipherNameAndProtocol: never;
|
|
502
|
+
|
|
456
503
|
name: string;
|
|
457
504
|
standardName: string;
|
|
458
505
|
version: string;
|
|
@@ -467,11 +514,13 @@ export const CipherNameAndProtocol: {
|
|
|
467
514
|
export type CipherNameAndProtocol = CipherNameAndProtocol$instance;
|
|
468
515
|
|
|
469
516
|
export interface CommonConnectionOptions$instance {
|
|
517
|
+
readonly __tsonic_type_nodejs_CommonConnectionOptions: never;
|
|
518
|
+
|
|
470
519
|
get ALPNProtocols(): string[] | undefined;
|
|
471
520
|
set ALPNProtocols(value: string[] | undefined);
|
|
472
|
-
enableTrace:
|
|
473
|
-
rejectUnauthorized:
|
|
474
|
-
requestCert:
|
|
521
|
+
enableTrace: Nullable_1<System_Internal.Boolean>;
|
|
522
|
+
rejectUnauthorized: Nullable_1<System_Internal.Boolean>;
|
|
523
|
+
requestCert: Nullable_1<System_Internal.Boolean>;
|
|
475
524
|
get secureContext(): SecureContext | undefined;
|
|
476
525
|
set secureContext(value: SecureContext | undefined);
|
|
477
526
|
}
|
|
@@ -485,6 +534,8 @@ export const CommonConnectionOptions: {
|
|
|
485
534
|
export type CommonConnectionOptions = CommonConnectionOptions$instance;
|
|
486
535
|
|
|
487
536
|
export interface ConnectionOptions$instance extends CommonConnectionOptions {
|
|
537
|
+
readonly __tsonic_type_nodejs_ConnectionOptions: never;
|
|
538
|
+
|
|
488
539
|
get ca(): unknown | undefined;
|
|
489
540
|
set ca(value: unknown | undefined);
|
|
490
541
|
get cert(): unknown | undefined;
|
|
@@ -495,10 +546,10 @@ export interface ConnectionOptions$instance extends CommonConnectionOptions {
|
|
|
495
546
|
set key(value: unknown | undefined);
|
|
496
547
|
get passphrase(): string | undefined;
|
|
497
548
|
set passphrase(value: string | undefined);
|
|
498
|
-
port:
|
|
549
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
499
550
|
get servername(): string | undefined;
|
|
500
551
|
set servername(value: string | undefined);
|
|
501
|
-
timeout:
|
|
552
|
+
timeout: Nullable_1<System_Internal.Int32>;
|
|
502
553
|
}
|
|
503
554
|
|
|
504
555
|
|
|
@@ -510,6 +561,8 @@ export const ConnectionOptions: {
|
|
|
510
561
|
export type ConnectionOptions = ConnectionOptions$instance;
|
|
511
562
|
|
|
512
563
|
export interface ConsoleConstructor$instance {
|
|
564
|
+
readonly __tsonic_type_nodejs_ConsoleConstructor: never;
|
|
565
|
+
|
|
513
566
|
assert(value: boolean, message?: string, ...optionalParams: unknown[]): void;
|
|
514
567
|
clear(): void;
|
|
515
568
|
count(label?: string): void;
|
|
@@ -536,13 +589,15 @@ export interface ConsoleConstructor$instance {
|
|
|
536
589
|
|
|
537
590
|
|
|
538
591
|
export const ConsoleConstructor: {
|
|
539
|
-
new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions:
|
|
592
|
+
new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions: Nullable_1<System_Internal.Int32>, groupIndentation: boolean): ConsoleConstructor;
|
|
540
593
|
};
|
|
541
594
|
|
|
542
595
|
|
|
543
596
|
export type ConsoleConstructor = ConsoleConstructor$instance;
|
|
544
597
|
|
|
545
598
|
export interface CpuInfo$instance {
|
|
599
|
+
readonly __tsonic_type_nodejs_CpuInfo: never;
|
|
600
|
+
|
|
546
601
|
model: string;
|
|
547
602
|
speed: int;
|
|
548
603
|
times: CpuTimes;
|
|
@@ -557,6 +612,8 @@ export const CpuInfo: {
|
|
|
557
612
|
export type CpuInfo = CpuInfo$instance;
|
|
558
613
|
|
|
559
614
|
export interface CpuTimes$instance {
|
|
615
|
+
readonly __tsonic_type_nodejs_CpuTimes: never;
|
|
616
|
+
|
|
560
617
|
idle: long;
|
|
561
618
|
irq: long;
|
|
562
619
|
nice: long;
|
|
@@ -573,6 +630,8 @@ export const CpuTimes: {
|
|
|
573
630
|
export type CpuTimes = CpuTimes$instance;
|
|
574
631
|
|
|
575
632
|
export interface CursorPosition$instance {
|
|
633
|
+
readonly __tsonic_type_nodejs_CursorPosition: never;
|
|
634
|
+
|
|
576
635
|
cols: int;
|
|
577
636
|
rows: int;
|
|
578
637
|
}
|
|
@@ -586,6 +645,8 @@ export const CursorPosition: {
|
|
|
586
645
|
export type CursorPosition = CursorPosition$instance;
|
|
587
646
|
|
|
588
647
|
export interface Decipher$instance extends Transform {
|
|
648
|
+
readonly __tsonic_type_nodejs_Decipher: never;
|
|
649
|
+
|
|
589
650
|
Dispose(): void;
|
|
590
651
|
final(outputEncoding?: string): string;
|
|
591
652
|
final(): byte[];
|
|
@@ -604,6 +665,8 @@ export const Decipher: {
|
|
|
604
665
|
export type Decipher = Decipher$instance;
|
|
605
666
|
|
|
606
667
|
export interface DetailedPeerCertificate$instance extends PeerCertificate {
|
|
668
|
+
readonly __tsonic_type_nodejs_DetailedPeerCertificate: never;
|
|
669
|
+
|
|
607
670
|
get issuerCertificate(): DetailedPeerCertificate | undefined;
|
|
608
671
|
set issuerCertificate(value: DetailedPeerCertificate | undefined);
|
|
609
672
|
}
|
|
@@ -617,6 +680,8 @@ export const DetailedPeerCertificate: {
|
|
|
617
680
|
export type DetailedPeerCertificate = DetailedPeerCertificate$instance;
|
|
618
681
|
|
|
619
682
|
export interface DgramSocket$instance extends EventEmitter {
|
|
683
|
+
readonly __tsonic_type_nodejs_DgramSocket: never;
|
|
684
|
+
|
|
620
685
|
addMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
621
686
|
address(): AddressInfo;
|
|
622
687
|
addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
|
|
@@ -636,15 +701,15 @@ export interface DgramSocket$instance extends EventEmitter {
|
|
|
636
701
|
getSendQueueSize(): int;
|
|
637
702
|
ref(): DgramSocket;
|
|
638
703
|
remoteAddress(): AddressInfo;
|
|
639
|
-
send(msg: byte[], port?:
|
|
640
|
-
send(msg: string, port?:
|
|
641
|
-
send(msg: byte[], port: int, callback:
|
|
642
|
-
send(msg: string, port: int, callback:
|
|
643
|
-
send(msg: byte[], callback:
|
|
644
|
-
send(msg: string, callback:
|
|
645
|
-
send(msg: byte[], offset: int, length: int, port?:
|
|
646
|
-
send(msg: byte[], offset: int, length: int, port: int, callback:
|
|
647
|
-
send(msg: byte[], offset: int, length: int, callback:
|
|
704
|
+
send(msg: byte[], port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
|
|
705
|
+
send(msg: string, port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
|
|
706
|
+
send(msg: byte[], port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
707
|
+
send(msg: string, port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
708
|
+
send(msg: byte[], callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
709
|
+
send(msg: string, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
710
|
+
send(msg: byte[], offset: int, length: int, port?: Nullable_1<System_Internal.Int32>, address?: string, callback?: Action_2<Exception, System_Internal.Int32>): void;
|
|
711
|
+
send(msg: byte[], offset: int, length: int, port: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
712
|
+
send(msg: byte[], offset: int, length: int, callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
648
713
|
setBroadcast(flag: boolean): void;
|
|
649
714
|
setMulticastInterface(multicastInterface: string): void;
|
|
650
715
|
setMulticastLoopback(flag: boolean): boolean;
|
|
@@ -663,6 +728,8 @@ export const DgramSocket: {
|
|
|
663
728
|
export type DgramSocket = DgramSocket$instance;
|
|
664
729
|
|
|
665
730
|
export interface DiffieHellman$instance {
|
|
731
|
+
readonly __tsonic_type_nodejs_DiffieHellman: never;
|
|
732
|
+
|
|
666
733
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
667
734
|
|
|
668
735
|
computeSecret(otherPublicKey: string, inputEncoding?: string, outputEncoding?: string): string;
|
|
@@ -695,29 +762,31 @@ export const DiffieHellman: {
|
|
|
695
762
|
export type DiffieHellman = DiffieHellman$instance;
|
|
696
763
|
|
|
697
764
|
export interface DnsPromises$instance {
|
|
765
|
+
readonly __tsonic_type_nodejs_DnsPromises: never;
|
|
766
|
+
|
|
698
767
|
getDefaultResultOrder(): string;
|
|
699
768
|
getServers(): string[];
|
|
700
|
-
lookup(hostname: string, options?: LookupOptions):
|
|
701
|
-
lookupAll(hostname: string, options?: LookupOptions):
|
|
702
|
-
lookupService(address: string, port: int):
|
|
703
|
-
resolve(hostname: string):
|
|
704
|
-
resolve(hostname: string, rrtype: string):
|
|
705
|
-
resolve4(hostname: string):
|
|
706
|
-
resolve4(hostname: string, options: ResolveOptions):
|
|
707
|
-
resolve6(hostname: string):
|
|
708
|
-
resolve6(hostname: string, options: ResolveOptions):
|
|
709
|
-
resolveAny(hostname: string):
|
|
710
|
-
resolveCaa(hostname: string):
|
|
711
|
-
resolveCname(hostname: string):
|
|
712
|
-
resolveMx(hostname: string):
|
|
713
|
-
resolveNaptr(hostname: string):
|
|
714
|
-
resolveNs(hostname: string):
|
|
715
|
-
resolvePtr(hostname: string):
|
|
716
|
-
resolveSoa(hostname: string):
|
|
717
|
-
resolveSrv(hostname: string):
|
|
718
|
-
resolveTlsa(hostname: string):
|
|
719
|
-
resolveTxt(hostname: string):
|
|
720
|
-
reverse(ip: string):
|
|
769
|
+
lookup(hostname: string, options?: LookupOptions): Task_1<LookupAddress>;
|
|
770
|
+
lookupAll(hostname: string, options?: LookupOptions): Task_1<LookupAddress[]>;
|
|
771
|
+
lookupService(address: string, port: int): Task_1<LookupServiceResult>;
|
|
772
|
+
resolve(hostname: string): Task_1<string[]>;
|
|
773
|
+
resolve(hostname: string, rrtype: string): Task_1<unknown>;
|
|
774
|
+
resolve4(hostname: string): Task_1<string[]>;
|
|
775
|
+
resolve4(hostname: string, options: ResolveOptions): Task_1<unknown>;
|
|
776
|
+
resolve6(hostname: string): Task_1<string[]>;
|
|
777
|
+
resolve6(hostname: string, options: ResolveOptions): Task_1<unknown>;
|
|
778
|
+
resolveAny(hostname: string): Task_1<unknown[]>;
|
|
779
|
+
resolveCaa(hostname: string): Task_1<CaaRecord[]>;
|
|
780
|
+
resolveCname(hostname: string): Task_1<string[]>;
|
|
781
|
+
resolveMx(hostname: string): Task_1<MxRecord[]>;
|
|
782
|
+
resolveNaptr(hostname: string): Task_1<NaptrRecord[]>;
|
|
783
|
+
resolveNs(hostname: string): Task_1<string[]>;
|
|
784
|
+
resolvePtr(hostname: string): Task_1<string[]>;
|
|
785
|
+
resolveSoa(hostname: string): Task_1<SoaRecord>;
|
|
786
|
+
resolveSrv(hostname: string): Task_1<SrvRecord[]>;
|
|
787
|
+
resolveTlsa(hostname: string): Task_1<TlsaRecord[]>;
|
|
788
|
+
resolveTxt(hostname: string): Task_1<string[][]>;
|
|
789
|
+
reverse(ip: string): Task_1<string[]>;
|
|
721
790
|
setDefaultResultOrder(order: string): void;
|
|
722
791
|
setServers(servers: string[]): void;
|
|
723
792
|
}
|
|
@@ -731,10 +800,12 @@ export const DnsPromises: {
|
|
|
731
800
|
export type DnsPromises = DnsPromises$instance;
|
|
732
801
|
|
|
733
802
|
export interface DSAPrivateKeyObject$instance extends KeyObject {
|
|
803
|
+
readonly __tsonic_type_nodejs_DSAPrivateKeyObject: never;
|
|
804
|
+
|
|
734
805
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
735
806
|
|
|
736
807
|
readonly asymmetricKeyType: string | undefined;
|
|
737
|
-
readonly symmetricKeySize:
|
|
808
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
738
809
|
readonly type: string;
|
|
739
810
|
Dispose(): void;
|
|
740
811
|
export(options?: unknown): unknown;
|
|
@@ -748,10 +819,12 @@ export const DSAPrivateKeyObject: {
|
|
|
748
819
|
export type DSAPrivateKeyObject = DSAPrivateKeyObject$instance;
|
|
749
820
|
|
|
750
821
|
export interface DSAPublicKeyObject$instance extends KeyObject {
|
|
822
|
+
readonly __tsonic_type_nodejs_DSAPublicKeyObject: never;
|
|
823
|
+
|
|
751
824
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
752
825
|
|
|
753
826
|
readonly asymmetricKeyType: string | undefined;
|
|
754
|
-
readonly symmetricKeySize:
|
|
827
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
755
828
|
readonly type: string;
|
|
756
829
|
Dispose(): void;
|
|
757
830
|
export(options?: unknown): unknown;
|
|
@@ -765,6 +838,8 @@ export const DSAPublicKeyObject: {
|
|
|
765
838
|
export type DSAPublicKeyObject = DSAPublicKeyObject$instance;
|
|
766
839
|
|
|
767
840
|
export interface Duplex$instance extends Readable {
|
|
841
|
+
readonly __tsonic_type_nodejs_Duplex: never;
|
|
842
|
+
|
|
768
843
|
readonly writable: boolean;
|
|
769
844
|
readonly writableCorked: boolean;
|
|
770
845
|
readonly writableEnded: boolean;
|
|
@@ -786,6 +861,8 @@ export const Duplex: {
|
|
|
786
861
|
export type Duplex = Duplex$instance;
|
|
787
862
|
|
|
788
863
|
export interface ECDH$instance {
|
|
864
|
+
readonly __tsonic_type_nodejs_ECDH: never;
|
|
865
|
+
|
|
789
866
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
790
867
|
|
|
791
868
|
computeSecret(otherPublicKey: string, inputEncoding?: string, outputEncoding?: string): string;
|
|
@@ -813,10 +890,12 @@ export const ECDH: {
|
|
|
813
890
|
export type ECDH = ECDH$instance;
|
|
814
891
|
|
|
815
892
|
export interface EdDSAPrivateKeyObject$instance extends KeyObject {
|
|
893
|
+
readonly __tsonic_type_nodejs_EdDSAPrivateKeyObject: never;
|
|
894
|
+
|
|
816
895
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
817
896
|
|
|
818
897
|
readonly asymmetricKeyType: string | undefined;
|
|
819
|
-
readonly symmetricKeySize:
|
|
898
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
820
899
|
readonly type: string;
|
|
821
900
|
Dispose(): void;
|
|
822
901
|
export(options?: unknown): unknown;
|
|
@@ -830,10 +909,12 @@ export const EdDSAPrivateKeyObject: {
|
|
|
830
909
|
export type EdDSAPrivateKeyObject = EdDSAPrivateKeyObject$instance;
|
|
831
910
|
|
|
832
911
|
export interface EdDSAPublicKeyObject$instance extends KeyObject {
|
|
912
|
+
readonly __tsonic_type_nodejs_EdDSAPublicKeyObject: never;
|
|
913
|
+
|
|
833
914
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
834
915
|
|
|
835
916
|
readonly asymmetricKeyType: string | undefined;
|
|
836
|
-
readonly symmetricKeySize:
|
|
917
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
837
918
|
readonly type: string;
|
|
838
919
|
Dispose(): void;
|
|
839
920
|
export(options?: unknown): unknown;
|
|
@@ -847,6 +928,8 @@ export const EdDSAPublicKeyObject: {
|
|
|
847
928
|
export type EdDSAPublicKeyObject = EdDSAPublicKeyObject$instance;
|
|
848
929
|
|
|
849
930
|
export interface EphemeralKeyInfo$instance {
|
|
931
|
+
readonly __tsonic_type_nodejs_EphemeralKeyInfo: never;
|
|
932
|
+
|
|
850
933
|
get name(): string | undefined;
|
|
851
934
|
set name(value: string | undefined);
|
|
852
935
|
size: int;
|
|
@@ -862,6 +945,8 @@ export const EphemeralKeyInfo: {
|
|
|
862
945
|
export type EphemeralKeyInfo = EphemeralKeyInfo$instance;
|
|
863
946
|
|
|
864
947
|
export interface EventEmitter$instance {
|
|
948
|
+
readonly __tsonic_type_nodejs_EventEmitter: never;
|
|
949
|
+
|
|
865
950
|
addListener(eventName: string, listener: Function): EventEmitter;
|
|
866
951
|
emit(eventName: string, ...args: unknown[]): boolean;
|
|
867
952
|
eventNames(): string[];
|
|
@@ -883,13 +968,15 @@ export interface EventEmitter$instance {
|
|
|
883
968
|
export const EventEmitter: {
|
|
884
969
|
new(): EventEmitter;
|
|
885
970
|
defaultMaxListeners: int;
|
|
886
|
-
once(emitter: EventEmitter, eventName: string):
|
|
971
|
+
once(emitter: EventEmitter, eventName: string): Task_1<(unknown | undefined)[]>;
|
|
887
972
|
};
|
|
888
973
|
|
|
889
974
|
|
|
890
975
|
export type EventEmitter = EventEmitter$instance;
|
|
891
976
|
|
|
892
977
|
export interface ExecOptions$instance {
|
|
978
|
+
readonly __tsonic_type_nodejs_ExecOptions: never;
|
|
979
|
+
|
|
893
980
|
get argv0(): string | undefined;
|
|
894
981
|
set argv0(value: string | undefined);
|
|
895
982
|
get cwd(): string | undefined;
|
|
@@ -899,7 +986,7 @@ export interface ExecOptions$instance {
|
|
|
899
986
|
set encoding(value: string | undefined);
|
|
900
987
|
get env(): unknown | undefined;
|
|
901
988
|
set env(value: unknown | undefined);
|
|
902
|
-
gid:
|
|
989
|
+
gid: Nullable_1<System_Internal.Int32>;
|
|
903
990
|
get input(): string | undefined;
|
|
904
991
|
set input(value: string | undefined);
|
|
905
992
|
get killSignal(): string | undefined;
|
|
@@ -910,7 +997,7 @@ export interface ExecOptions$instance {
|
|
|
910
997
|
get stdio(): string | undefined;
|
|
911
998
|
set stdio(value: string | undefined);
|
|
912
999
|
timeout: int;
|
|
913
|
-
uid:
|
|
1000
|
+
uid: Nullable_1<System_Internal.Int32>;
|
|
914
1001
|
windowsHide: boolean;
|
|
915
1002
|
windowsVerbatimArguments: boolean;
|
|
916
1003
|
}
|
|
@@ -924,30 +1011,32 @@ export const ExecOptions: {
|
|
|
924
1011
|
export type ExecOptions = ExecOptions$instance;
|
|
925
1012
|
|
|
926
1013
|
export interface FsPromises$instance {
|
|
1014
|
+
readonly __tsonic_type_nodejs_FsPromises: never;
|
|
1015
|
+
|
|
927
1016
|
access(path: string, mode?: int): Task;
|
|
928
1017
|
appendFile(path: string, data: string, encoding?: string): Task;
|
|
929
1018
|
chmod(path: string, mode: int): Task;
|
|
930
1019
|
close(fd: int): Task;
|
|
931
1020
|
copyFile(src: string, dest: string, mode?: int): Task;
|
|
932
1021
|
cp(src: string, dest: string, recursive?: boolean): Task;
|
|
933
|
-
fstat(fd: int):
|
|
1022
|
+
fstat(fd: int): Task_1<Stats>;
|
|
934
1023
|
mkdir(path: string, recursive?: boolean): Task;
|
|
935
|
-
open(path: string, flags: string, mode?:
|
|
936
|
-
read(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
937
|
-
readdir(path: string, withFileTypes?: boolean):
|
|
938
|
-
readFile(path: string, encoding?: string):
|
|
939
|
-
readFileBytes(path: string):
|
|
940
|
-
readlink(path: string):
|
|
941
|
-
realpath(path: string):
|
|
1024
|
+
open(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
1025
|
+
read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
1026
|
+
readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
|
|
1027
|
+
readFile(path: string, encoding?: string): Task_1<System_Internal.String>;
|
|
1028
|
+
readFileBytes(path: string): Task_1<byte[]>;
|
|
1029
|
+
readlink(path: string): Task_1<System_Internal.String>;
|
|
1030
|
+
realpath(path: string): Task_1<System_Internal.String>;
|
|
942
1031
|
rename(oldPath: string, newPath: string): Task;
|
|
943
1032
|
rm(path: string, recursive?: boolean): Task;
|
|
944
1033
|
rmdir(path: string, recursive?: boolean): Task;
|
|
945
|
-
stat(path: string):
|
|
1034
|
+
stat(path: string): Task_1<Stats>;
|
|
946
1035
|
symlink(target: string, path: string, type?: string): Task;
|
|
947
1036
|
truncate(path: string, len?: long): Task;
|
|
948
1037
|
unlink(path: string): Task;
|
|
949
|
-
write(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
950
|
-
write(fd: int, data: string, position?:
|
|
1038
|
+
write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
1039
|
+
write(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): Task_1<System_Internal.Int32>;
|
|
951
1040
|
writeFile(path: string, data: string, encoding?: string): Task;
|
|
952
1041
|
writeFileBytes(path: string, data: byte[]): Task;
|
|
953
1042
|
}
|
|
@@ -961,6 +1050,8 @@ export const FsPromises: {
|
|
|
961
1050
|
export type FsPromises = FsPromises$instance;
|
|
962
1051
|
|
|
963
1052
|
export interface Hash$instance extends Transform {
|
|
1053
|
+
readonly __tsonic_type_nodejs_Hash: never;
|
|
1054
|
+
|
|
964
1055
|
copy(): Hash;
|
|
965
1056
|
digest(encoding: string): string;
|
|
966
1057
|
digest(): byte[];
|
|
@@ -979,6 +1070,8 @@ export const Hash: {
|
|
|
979
1070
|
export type Hash = Hash$instance;
|
|
980
1071
|
|
|
981
1072
|
export interface Hmac$instance extends Transform {
|
|
1073
|
+
readonly __tsonic_type_nodejs_Hmac: never;
|
|
1074
|
+
|
|
982
1075
|
digest(encoding?: string): string;
|
|
983
1076
|
digest(): byte[];
|
|
984
1077
|
Dispose(): void;
|
|
@@ -995,6 +1088,8 @@ export const Hmac: {
|
|
|
995
1088
|
export type Hmac = Hmac$instance;
|
|
996
1089
|
|
|
997
1090
|
export interface Immediate$instance {
|
|
1091
|
+
readonly __tsonic_type_nodejs_Immediate: never;
|
|
1092
|
+
|
|
998
1093
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
999
1094
|
|
|
1000
1095
|
Dispose(): void;
|
|
@@ -1011,6 +1106,8 @@ export const Immediate: {
|
|
|
1011
1106
|
export type Immediate = Immediate$instance;
|
|
1012
1107
|
|
|
1013
1108
|
export interface Interface$instance extends EventEmitter {
|
|
1109
|
+
readonly __tsonic_type_nodejs_Interface: never;
|
|
1110
|
+
|
|
1014
1111
|
readonly cursor: int;
|
|
1015
1112
|
readonly line: string;
|
|
1016
1113
|
close(): void;
|
|
@@ -1018,8 +1115,8 @@ export interface Interface$instance extends EventEmitter {
|
|
|
1018
1115
|
getPrompt(): string;
|
|
1019
1116
|
pause(): Interface;
|
|
1020
1117
|
prompt(preserveCursor?: boolean): void;
|
|
1021
|
-
question(query: string, callback:
|
|
1022
|
-
questionAsync(query: string):
|
|
1118
|
+
question(query: string, callback: Action_1<System_Internal.String>): void;
|
|
1119
|
+
questionAsync(query: string): Task_1<System_Internal.String>;
|
|
1023
1120
|
resume(): Interface;
|
|
1024
1121
|
setPrompt(prompt: string): void;
|
|
1025
1122
|
write(data: unknown, key?: unknown): void;
|
|
@@ -1033,19 +1130,21 @@ export const Interface: {
|
|
|
1033
1130
|
export type Interface = Interface$instance;
|
|
1034
1131
|
|
|
1035
1132
|
export interface InterfaceOptions$instance {
|
|
1036
|
-
|
|
1133
|
+
readonly __tsonic_type_nodejs_InterfaceOptions: never;
|
|
1134
|
+
|
|
1135
|
+
escapeCodeTimeout: Nullable_1<System_Internal.Int32>;
|
|
1037
1136
|
get history(): string[] | undefined;
|
|
1038
1137
|
set history(value: string[] | undefined);
|
|
1039
|
-
historySize:
|
|
1138
|
+
historySize: Nullable_1<System_Internal.Int32>;
|
|
1040
1139
|
get input(): Readable | undefined;
|
|
1041
1140
|
set input(value: Readable | undefined);
|
|
1042
1141
|
get output(): Writable | undefined;
|
|
1043
1142
|
set output(value: Writable | undefined);
|
|
1044
1143
|
get prompt(): string | undefined;
|
|
1045
1144
|
set prompt(value: string | undefined);
|
|
1046
|
-
removeHistoryDuplicates:
|
|
1047
|
-
tabSize:
|
|
1048
|
-
terminal:
|
|
1145
|
+
removeHistoryDuplicates: Nullable_1<System_Internal.Boolean>;
|
|
1146
|
+
tabSize: Nullable_1<System_Internal.Int32>;
|
|
1147
|
+
terminal: Nullable_1<System_Internal.Boolean>;
|
|
1049
1148
|
}
|
|
1050
1149
|
|
|
1051
1150
|
|
|
@@ -1057,6 +1156,8 @@ export const InterfaceOptions: {
|
|
|
1057
1156
|
export type InterfaceOptions = InterfaceOptions$instance;
|
|
1058
1157
|
|
|
1059
1158
|
export interface IpcSocketConnectOpts$instance {
|
|
1159
|
+
readonly __tsonic_type_nodejs_IpcSocketConnectOpts: never;
|
|
1160
|
+
|
|
1060
1161
|
path: string;
|
|
1061
1162
|
}
|
|
1062
1163
|
|
|
@@ -1069,10 +1170,12 @@ export const IpcSocketConnectOpts: {
|
|
|
1069
1170
|
export type IpcSocketConnectOpts = IpcSocketConnectOpts$instance;
|
|
1070
1171
|
|
|
1071
1172
|
export interface KeyObject$instance {
|
|
1173
|
+
readonly __tsonic_type_nodejs_KeyObject: never;
|
|
1174
|
+
|
|
1072
1175
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1073
1176
|
|
|
1074
1177
|
readonly asymmetricKeyType: string | undefined;
|
|
1075
|
-
readonly symmetricKeySize:
|
|
1178
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1076
1179
|
readonly type: string;
|
|
1077
1180
|
Dispose(): void;
|
|
1078
1181
|
export(options?: unknown): unknown;
|
|
@@ -1086,13 +1189,15 @@ export const KeyObject: (abstract new() => KeyObject) & {
|
|
|
1086
1189
|
export type KeyObject = KeyObject$instance;
|
|
1087
1190
|
|
|
1088
1191
|
export interface ListenOptions$instance {
|
|
1089
|
-
|
|
1192
|
+
readonly __tsonic_type_nodejs_ListenOptions: never;
|
|
1193
|
+
|
|
1194
|
+
backlog: Nullable_1<System_Internal.Int32>;
|
|
1090
1195
|
get host(): string | undefined;
|
|
1091
1196
|
set host(value: string | undefined);
|
|
1092
|
-
ipv6Only:
|
|
1197
|
+
ipv6Only: Nullable_1<System_Internal.Boolean>;
|
|
1093
1198
|
get path(): string | undefined;
|
|
1094
1199
|
set path(value: string | undefined);
|
|
1095
|
-
port:
|
|
1200
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
1096
1201
|
}
|
|
1097
1202
|
|
|
1098
1203
|
|
|
@@ -1104,6 +1209,8 @@ export const ListenOptions: {
|
|
|
1104
1209
|
export type ListenOptions = ListenOptions$instance;
|
|
1105
1210
|
|
|
1106
1211
|
export interface LookupAddress$instance {
|
|
1212
|
+
readonly __tsonic_type_nodejs_LookupAddress: never;
|
|
1213
|
+
|
|
1107
1214
|
address: string;
|
|
1108
1215
|
family: int;
|
|
1109
1216
|
}
|
|
@@ -1117,13 +1224,15 @@ export const LookupAddress: {
|
|
|
1117
1224
|
export type LookupAddress = LookupAddress$instance;
|
|
1118
1225
|
|
|
1119
1226
|
export interface LookupOptions$instance {
|
|
1120
|
-
|
|
1227
|
+
readonly __tsonic_type_nodejs_LookupOptions: never;
|
|
1228
|
+
|
|
1229
|
+
all: Nullable_1<System_Internal.Boolean>;
|
|
1121
1230
|
get family(): unknown | undefined;
|
|
1122
1231
|
set family(value: unknown | undefined);
|
|
1123
|
-
hints:
|
|
1232
|
+
hints: Nullable_1<System_Internal.Int32>;
|
|
1124
1233
|
get order(): string | undefined;
|
|
1125
1234
|
set order(value: string | undefined);
|
|
1126
|
-
verbatim:
|
|
1235
|
+
verbatim: Nullable_1<System_Internal.Boolean>;
|
|
1127
1236
|
}
|
|
1128
1237
|
|
|
1129
1238
|
|
|
@@ -1135,6 +1244,8 @@ export const LookupOptions: {
|
|
|
1135
1244
|
export type LookupOptions = LookupOptions$instance;
|
|
1136
1245
|
|
|
1137
1246
|
export interface LookupServiceResult$instance {
|
|
1247
|
+
readonly __tsonic_type_nodejs_LookupServiceResult: never;
|
|
1248
|
+
|
|
1138
1249
|
hostname: string;
|
|
1139
1250
|
service: string;
|
|
1140
1251
|
}
|
|
@@ -1148,9 +1259,11 @@ export const LookupServiceResult: {
|
|
|
1148
1259
|
export type LookupServiceResult = LookupServiceResult$instance;
|
|
1149
1260
|
|
|
1150
1261
|
export interface MarkOptions$instance {
|
|
1262
|
+
readonly __tsonic_type_nodejs_MarkOptions: never;
|
|
1263
|
+
|
|
1151
1264
|
get detail(): unknown | undefined;
|
|
1152
1265
|
set detail(value: unknown | undefined);
|
|
1153
|
-
startTime:
|
|
1266
|
+
startTime: Nullable_1<System_Internal.Double>;
|
|
1154
1267
|
}
|
|
1155
1268
|
|
|
1156
1269
|
|
|
@@ -1162,12 +1275,14 @@ export const MarkOptions: {
|
|
|
1162
1275
|
export type MarkOptions = MarkOptions$instance;
|
|
1163
1276
|
|
|
1164
1277
|
export interface MeasureOptions$instance {
|
|
1278
|
+
readonly __tsonic_type_nodejs_MeasureOptions: never;
|
|
1279
|
+
|
|
1165
1280
|
get detail(): unknown | undefined;
|
|
1166
1281
|
set detail(value: unknown | undefined);
|
|
1167
|
-
end:
|
|
1282
|
+
end: Nullable_1<System_Internal.Double>;
|
|
1168
1283
|
get endMark(): string | undefined;
|
|
1169
1284
|
set endMark(value: string | undefined);
|
|
1170
|
-
start:
|
|
1285
|
+
start: Nullable_1<System_Internal.Double>;
|
|
1171
1286
|
get startMark(): string | undefined;
|
|
1172
1287
|
set startMark(value: string | undefined);
|
|
1173
1288
|
}
|
|
@@ -1181,6 +1296,8 @@ export const MeasureOptions: {
|
|
|
1181
1296
|
export type MeasureOptions = MeasureOptions$instance;
|
|
1182
1297
|
|
|
1183
1298
|
export interface MxRecord$instance {
|
|
1299
|
+
readonly __tsonic_type_nodejs_MxRecord: never;
|
|
1300
|
+
|
|
1184
1301
|
exchange: string;
|
|
1185
1302
|
priority: int;
|
|
1186
1303
|
}
|
|
@@ -1194,6 +1311,8 @@ export const MxRecord: {
|
|
|
1194
1311
|
export type MxRecord = MxRecord$instance;
|
|
1195
1312
|
|
|
1196
1313
|
export interface NaptrRecord$instance {
|
|
1314
|
+
readonly __tsonic_type_nodejs_NaptrRecord: never;
|
|
1315
|
+
|
|
1197
1316
|
flags: string;
|
|
1198
1317
|
order: int;
|
|
1199
1318
|
preference: int;
|
|
@@ -1211,6 +1330,8 @@ export const NaptrRecord: {
|
|
|
1211
1330
|
export type NaptrRecord = NaptrRecord$instance;
|
|
1212
1331
|
|
|
1213
1332
|
export interface ParsedPath$instance {
|
|
1333
|
+
readonly __tsonic_type_nodejs_ParsedPath: never;
|
|
1334
|
+
|
|
1214
1335
|
base: string;
|
|
1215
1336
|
dir: string;
|
|
1216
1337
|
ext: string;
|
|
@@ -1227,8 +1348,10 @@ export const ParsedPath: {
|
|
|
1227
1348
|
export type ParsedPath = ParsedPath$instance;
|
|
1228
1349
|
|
|
1229
1350
|
export interface PassThrough$instance extends Transform {
|
|
1230
|
-
|
|
1231
|
-
|
|
1351
|
+
readonly __tsonic_type_nodejs_PassThrough: never;
|
|
1352
|
+
|
|
1353
|
+
_transform(chunk: unknown, encoding: string, callback: Action_2<Exception, unknown>): void;
|
|
1354
|
+
_transform(chunk: unknown, encoding: string, callback: Action_2<Exception, unknown>): void;
|
|
1232
1355
|
}
|
|
1233
1356
|
|
|
1234
1357
|
|
|
@@ -1240,6 +1363,8 @@ export const PassThrough: {
|
|
|
1240
1363
|
export type PassThrough = PassThrough$instance;
|
|
1241
1364
|
|
|
1242
1365
|
export interface PathModule$instance {
|
|
1366
|
+
readonly __tsonic_type_nodejs_PathModule: never;
|
|
1367
|
+
|
|
1243
1368
|
readonly delimiter: string;
|
|
1244
1369
|
readonly posix: PathModule;
|
|
1245
1370
|
readonly sep: string;
|
|
@@ -1267,6 +1392,8 @@ export const PathModule: {
|
|
|
1267
1392
|
export type PathModule = PathModule$instance;
|
|
1268
1393
|
|
|
1269
1394
|
export interface PeerCertificate$instance {
|
|
1395
|
+
readonly __tsonic_type_nodejs_PeerCertificate: never;
|
|
1396
|
+
|
|
1270
1397
|
ca: boolean;
|
|
1271
1398
|
get ext_key_usage(): string[] | undefined;
|
|
1272
1399
|
set ext_key_usage(value: string[] | undefined);
|
|
@@ -1293,6 +1420,8 @@ export const PeerCertificate: {
|
|
|
1293
1420
|
export type PeerCertificate = PeerCertificate$instance;
|
|
1294
1421
|
|
|
1295
1422
|
export interface PerformanceEntry$instance {
|
|
1423
|
+
readonly __tsonic_type_nodejs_PerformanceEntry: never;
|
|
1424
|
+
|
|
1296
1425
|
readonly duration: double;
|
|
1297
1426
|
readonly entryType: string;
|
|
1298
1427
|
readonly name: string;
|
|
@@ -1307,6 +1436,8 @@ export const PerformanceEntry: {
|
|
|
1307
1436
|
export type PerformanceEntry = PerformanceEntry$instance;
|
|
1308
1437
|
|
|
1309
1438
|
export interface PerformanceMark$instance extends PerformanceEntry {
|
|
1439
|
+
readonly __tsonic_type_nodejs_PerformanceMark: never;
|
|
1440
|
+
|
|
1310
1441
|
readonly detail: unknown | undefined;
|
|
1311
1442
|
}
|
|
1312
1443
|
|
|
@@ -1319,6 +1450,8 @@ export const PerformanceMark: {
|
|
|
1319
1450
|
export type PerformanceMark = PerformanceMark$instance;
|
|
1320
1451
|
|
|
1321
1452
|
export interface PerformanceMeasure$instance extends PerformanceEntry {
|
|
1453
|
+
readonly __tsonic_type_nodejs_PerformanceMeasure: never;
|
|
1454
|
+
|
|
1322
1455
|
readonly detail: unknown | undefined;
|
|
1323
1456
|
}
|
|
1324
1457
|
|
|
@@ -1331,6 +1464,8 @@ export const PerformanceMeasure: {
|
|
|
1331
1464
|
export type PerformanceMeasure = PerformanceMeasure$instance;
|
|
1332
1465
|
|
|
1333
1466
|
export interface PerformanceObserver$instance {
|
|
1467
|
+
readonly __tsonic_type_nodejs_PerformanceObserver: never;
|
|
1468
|
+
|
|
1334
1469
|
disconnect(): void;
|
|
1335
1470
|
observe(options: PerformanceObserverOptions): void;
|
|
1336
1471
|
takeRecords(): PerformanceObserverEntryList;
|
|
@@ -1338,7 +1473,7 @@ export interface PerformanceObserver$instance {
|
|
|
1338
1473
|
|
|
1339
1474
|
|
|
1340
1475
|
export const PerformanceObserver: {
|
|
1341
|
-
new(callback:
|
|
1476
|
+
new(callback: Action_2<PerformanceObserverEntryList, PerformanceObserver>): PerformanceObserver;
|
|
1342
1477
|
supportedEntryTypes(): string[];
|
|
1343
1478
|
};
|
|
1344
1479
|
|
|
@@ -1346,6 +1481,8 @@ export const PerformanceObserver: {
|
|
|
1346
1481
|
export type PerformanceObserver = PerformanceObserver$instance;
|
|
1347
1482
|
|
|
1348
1483
|
export interface PerformanceObserverEntryList$instance {
|
|
1484
|
+
readonly __tsonic_type_nodejs_PerformanceObserverEntryList: never;
|
|
1485
|
+
|
|
1349
1486
|
getEntries(): PerformanceEntry[];
|
|
1350
1487
|
getEntriesByName(name: string, type?: string): PerformanceEntry[];
|
|
1351
1488
|
getEntriesByType(type: string): PerformanceEntry[];
|
|
@@ -1360,6 +1497,8 @@ export const PerformanceObserverEntryList: {
|
|
|
1360
1497
|
export type PerformanceObserverEntryList = PerformanceObserverEntryList$instance;
|
|
1361
1498
|
|
|
1362
1499
|
export interface PerformanceObserverOptions$instance {
|
|
1500
|
+
readonly __tsonic_type_nodejs_PerformanceObserverOptions: never;
|
|
1501
|
+
|
|
1363
1502
|
buffered: boolean;
|
|
1364
1503
|
get entryTypes(): string[] | undefined;
|
|
1365
1504
|
set entryTypes(value: string[] | undefined);
|
|
@@ -1374,10 +1513,12 @@ export const PerformanceObserverOptions: {
|
|
|
1374
1513
|
export type PerformanceObserverOptions = PerformanceObserverOptions$instance;
|
|
1375
1514
|
|
|
1376
1515
|
export interface PrivateKeyObject$instance extends KeyObject {
|
|
1516
|
+
readonly __tsonic_type_nodejs_PrivateKeyObject: never;
|
|
1517
|
+
|
|
1377
1518
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1378
1519
|
|
|
1379
1520
|
readonly asymmetricKeyType: string | undefined;
|
|
1380
|
-
readonly symmetricKeySize:
|
|
1521
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1381
1522
|
readonly type: string;
|
|
1382
1523
|
Dispose(): void;
|
|
1383
1524
|
export(options?: unknown): unknown;
|
|
@@ -1392,6 +1533,8 @@ export const PrivateKeyObject: {
|
|
|
1392
1533
|
export type PrivateKeyObject = PrivateKeyObject$instance;
|
|
1393
1534
|
|
|
1394
1535
|
export interface ProcessEnv$instance {
|
|
1536
|
+
readonly __tsonic_type_nodejs_ProcessEnv: never;
|
|
1537
|
+
|
|
1395
1538
|
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
1396
1539
|
readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
|
|
1397
1540
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
@@ -1399,18 +1542,17 @@ export interface ProcessEnv$instance {
|
|
|
1399
1542
|
|
|
1400
1543
|
readonly Count: int;
|
|
1401
1544
|
readonly IsReadOnly: boolean;
|
|
1402
|
-
|
|
1403
|
-
readonly
|
|
1404
|
-
readonly Values: ICollection<string | undefined>;
|
|
1545
|
+
readonly Keys: ICollection_1<System_Internal.String>;
|
|
1546
|
+
readonly Values: ICollection_1<string | undefined>;
|
|
1405
1547
|
Add(key: string, value: string): void;
|
|
1406
|
-
Add(item:
|
|
1548
|
+
Add(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): void;
|
|
1407
1549
|
Clear(): void;
|
|
1408
|
-
Contains(item:
|
|
1550
|
+
Contains(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): boolean;
|
|
1409
1551
|
ContainsKey(key: string): boolean;
|
|
1410
|
-
CopyTo(array:
|
|
1411
|
-
GetEnumerator():
|
|
1552
|
+
CopyTo(array: KeyValuePair_2<System_Internal.String, System_Internal.String>[], arrayIndex: int): void;
|
|
1553
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
|
|
1412
1554
|
Remove(key: string): boolean;
|
|
1413
|
-
Remove(item:
|
|
1555
|
+
Remove(item: KeyValuePair_2<System_Internal.String, System_Internal.String>): boolean;
|
|
1414
1556
|
TryGetValue(key: string, value: string): boolean;
|
|
1415
1557
|
}
|
|
1416
1558
|
|
|
@@ -1420,9 +1562,11 @@ export const ProcessEnv: {
|
|
|
1420
1562
|
};
|
|
1421
1563
|
|
|
1422
1564
|
|
|
1423
|
-
export type ProcessEnv = ProcessEnv$instance;
|
|
1565
|
+
export type ProcessEnv = ProcessEnv$instance & { [key: string]: string | undefined; };
|
|
1424
1566
|
|
|
1425
1567
|
export interface ProcessVersions$instance {
|
|
1568
|
+
readonly __tsonic_type_nodejs_ProcessVersions: never;
|
|
1569
|
+
|
|
1426
1570
|
dotnet: string;
|
|
1427
1571
|
node: string;
|
|
1428
1572
|
tsonic: string;
|
|
@@ -1438,10 +1582,12 @@ export const ProcessVersions: {
|
|
|
1438
1582
|
export type ProcessVersions = ProcessVersions$instance;
|
|
1439
1583
|
|
|
1440
1584
|
export interface PublicKeyObject$instance extends KeyObject {
|
|
1585
|
+
readonly __tsonic_type_nodejs_PublicKeyObject: never;
|
|
1586
|
+
|
|
1441
1587
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1442
1588
|
|
|
1443
1589
|
readonly asymmetricKeyType: string | undefined;
|
|
1444
|
-
readonly symmetricKeySize:
|
|
1590
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1445
1591
|
readonly type: string;
|
|
1446
1592
|
Dispose(): void;
|
|
1447
1593
|
export(options?: unknown): unknown;
|
|
@@ -1456,17 +1602,19 @@ export const PublicKeyObject: {
|
|
|
1456
1602
|
export type PublicKeyObject = PublicKeyObject$instance;
|
|
1457
1603
|
|
|
1458
1604
|
export interface Readable$instance extends Stream {
|
|
1605
|
+
readonly __tsonic_type_nodejs_Readable: never;
|
|
1606
|
+
|
|
1459
1607
|
destroyed: boolean;
|
|
1460
1608
|
readonly readable: boolean;
|
|
1461
1609
|
readonly readableEnded: boolean;
|
|
1462
|
-
readonly readableFlowing:
|
|
1610
|
+
readonly readableFlowing: Nullable_1<System_Internal.Boolean>;
|
|
1463
1611
|
readonly readableLength: int;
|
|
1464
1612
|
_read(size: int): void;
|
|
1465
1613
|
destroy(error?: Exception): void;
|
|
1466
1614
|
isPaused(): boolean;
|
|
1467
1615
|
pause(): Readable;
|
|
1468
1616
|
push(chunk: unknown, encoding?: string): boolean;
|
|
1469
|
-
read(size?:
|
|
1617
|
+
read(size?: Nullable_1<System_Internal.Int32>): unknown | undefined;
|
|
1470
1618
|
resume(): Readable;
|
|
1471
1619
|
setEncoding(encoding: string): Readable;
|
|
1472
1620
|
unpipe(destination?: Stream): Readable;
|
|
@@ -1482,9 +1630,11 @@ export const Readable: {
|
|
|
1482
1630
|
export type Readable = Readable$instance;
|
|
1483
1631
|
|
|
1484
1632
|
export interface ReadlinePromises$instance {
|
|
1633
|
+
readonly __tsonic_type_nodejs_ReadlinePromises: never;
|
|
1634
|
+
|
|
1485
1635
|
createInterface(options: InterfaceOptions): Interface;
|
|
1486
1636
|
createInterface(input: Readable, output?: Writable): Interface;
|
|
1487
|
-
question(rl: Interface, query: string):
|
|
1637
|
+
question(rl: Interface, query: string): Task_1<System_Internal.String>;
|
|
1488
1638
|
}
|
|
1489
1639
|
|
|
1490
1640
|
|
|
@@ -1496,6 +1646,8 @@ export const ReadlinePromises: {
|
|
|
1496
1646
|
export type ReadlinePromises = ReadlinePromises$instance;
|
|
1497
1647
|
|
|
1498
1648
|
export interface RecordWithTtl$instance {
|
|
1649
|
+
readonly __tsonic_type_nodejs_RecordWithTtl: never;
|
|
1650
|
+
|
|
1499
1651
|
address: string;
|
|
1500
1652
|
ttl: int;
|
|
1501
1653
|
}
|
|
@@ -1509,6 +1661,8 @@ export const RecordWithTtl: {
|
|
|
1509
1661
|
export type RecordWithTtl = RecordWithTtl$instance;
|
|
1510
1662
|
|
|
1511
1663
|
export interface RemoteInfo$instance {
|
|
1664
|
+
readonly __tsonic_type_nodejs_RemoteInfo: never;
|
|
1665
|
+
|
|
1512
1666
|
address: string;
|
|
1513
1667
|
family: string;
|
|
1514
1668
|
port: int;
|
|
@@ -1524,6 +1678,8 @@ export const RemoteInfo: {
|
|
|
1524
1678
|
export type RemoteInfo = RemoteInfo$instance;
|
|
1525
1679
|
|
|
1526
1680
|
export interface ResolveOptions$instance {
|
|
1681
|
+
readonly __tsonic_type_nodejs_ResolveOptions: never;
|
|
1682
|
+
|
|
1527
1683
|
ttl: boolean;
|
|
1528
1684
|
}
|
|
1529
1685
|
|
|
@@ -1536,26 +1692,28 @@ export const ResolveOptions: {
|
|
|
1536
1692
|
export type ResolveOptions = ResolveOptions$instance;
|
|
1537
1693
|
|
|
1538
1694
|
export interface Resolver$instance {
|
|
1695
|
+
readonly __tsonic_type_nodejs_Resolver: never;
|
|
1696
|
+
|
|
1539
1697
|
cancel(): void;
|
|
1540
1698
|
getServers(): string[];
|
|
1541
|
-
resolve(hostname: string, callback:
|
|
1542
|
-
resolve(hostname: string, rrtype: string, callback:
|
|
1543
|
-
resolve4(hostname: string, callback:
|
|
1544
|
-
resolve4(hostname: string, options: ResolveOptions, callback:
|
|
1545
|
-
resolve6(hostname: string, callback:
|
|
1546
|
-
resolve6(hostname: string, options: ResolveOptions, callback:
|
|
1547
|
-
resolveAny(hostname: string, callback:
|
|
1548
|
-
resolveCaa(hostname: string, callback:
|
|
1549
|
-
resolveCname(hostname: string, callback:
|
|
1550
|
-
resolveMx(hostname: string, callback:
|
|
1551
|
-
resolveNaptr(hostname: string, callback:
|
|
1552
|
-
resolveNs(hostname: string, callback:
|
|
1553
|
-
resolvePtr(hostname: string, callback:
|
|
1554
|
-
resolveSoa(hostname: string, callback:
|
|
1555
|
-
resolveSrv(hostname: string, callback:
|
|
1556
|
-
resolveTlsa(hostname: string, callback:
|
|
1557
|
-
resolveTxt(hostname: string, callback:
|
|
1558
|
-
reverse(ip: string, callback:
|
|
1699
|
+
resolve(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1700
|
+
resolve(hostname: string, rrtype: string, callback: Action_2<Exception, unknown>): void;
|
|
1701
|
+
resolve4(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1702
|
+
resolve4(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
1703
|
+
resolve6(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1704
|
+
resolve6(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
1705
|
+
resolveAny(hostname: string, callback: Action_2<Exception, unknown[]>): void;
|
|
1706
|
+
resolveCaa(hostname: string, callback: Action_2<Exception, CaaRecord[]>): void;
|
|
1707
|
+
resolveCname(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1708
|
+
resolveMx(hostname: string, callback: Action_2<Exception, MxRecord[]>): void;
|
|
1709
|
+
resolveNaptr(hostname: string, callback: Action_2<Exception, NaptrRecord[]>): void;
|
|
1710
|
+
resolveNs(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1711
|
+
resolvePtr(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
1712
|
+
resolveSoa(hostname: string, callback: Action_2<Exception, SoaRecord>): void;
|
|
1713
|
+
resolveSrv(hostname: string, callback: Action_2<Exception, SrvRecord[]>): void;
|
|
1714
|
+
resolveTlsa(hostname: string, callback: Action_2<Exception, TlsaRecord[]>): void;
|
|
1715
|
+
resolveTxt(hostname: string, callback: Action_2<Exception, string[][]>): void;
|
|
1716
|
+
reverse(ip: string, callback: Action_2<Exception, string[]>): void;
|
|
1559
1717
|
setLocalAddress(ipv4?: string, ipv6?: string): void;
|
|
1560
1718
|
setServers(servers: string[]): void;
|
|
1561
1719
|
}
|
|
@@ -1570,9 +1728,11 @@ export const Resolver: {
|
|
|
1570
1728
|
export type Resolver = Resolver$instance;
|
|
1571
1729
|
|
|
1572
1730
|
export interface ResolverOptions$instance {
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1731
|
+
readonly __tsonic_type_nodejs_ResolverOptions: never;
|
|
1732
|
+
|
|
1733
|
+
maxTimeout: Nullable_1<System_Internal.Int32>;
|
|
1734
|
+
timeout: Nullable_1<System_Internal.Int32>;
|
|
1735
|
+
tries: Nullable_1<System_Internal.Int32>;
|
|
1576
1736
|
}
|
|
1577
1737
|
|
|
1578
1738
|
|
|
@@ -1584,10 +1744,12 @@ export const ResolverOptions: {
|
|
|
1584
1744
|
export type ResolverOptions = ResolverOptions$instance;
|
|
1585
1745
|
|
|
1586
1746
|
export interface SecretKeyObject$instance extends KeyObject {
|
|
1747
|
+
readonly __tsonic_type_nodejs_SecretKeyObject: never;
|
|
1748
|
+
|
|
1587
1749
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1588
1750
|
|
|
1589
1751
|
readonly asymmetricKeyType: string | undefined;
|
|
1590
|
-
readonly symmetricKeySize:
|
|
1752
|
+
readonly symmetricKeySize: Nullable_1<System_Internal.Int32>;
|
|
1591
1753
|
readonly type: string;
|
|
1592
1754
|
Dispose(): void;
|
|
1593
1755
|
export(options?: unknown): unknown;
|
|
@@ -1602,6 +1764,8 @@ export const SecretKeyObject: {
|
|
|
1602
1764
|
export type SecretKeyObject = SecretKeyObject$instance;
|
|
1603
1765
|
|
|
1604
1766
|
export interface SecureContext$instance {
|
|
1767
|
+
readonly __tsonic_type_nodejs_SecureContext: never;
|
|
1768
|
+
|
|
1605
1769
|
readonly CACertificates: X509Certificate2Collection | undefined;
|
|
1606
1770
|
readonly Certificate: X509Certificate2 | undefined;
|
|
1607
1771
|
get context(): unknown | undefined;
|
|
@@ -1621,6 +1785,8 @@ export const SecureContext: {
|
|
|
1621
1785
|
export type SecureContext = SecureContext$instance;
|
|
1622
1786
|
|
|
1623
1787
|
export interface SecureContextOptions$instance {
|
|
1788
|
+
readonly __tsonic_type_nodejs_SecureContextOptions: never;
|
|
1789
|
+
|
|
1624
1790
|
get ca(): unknown | undefined;
|
|
1625
1791
|
set ca(value: unknown | undefined);
|
|
1626
1792
|
get cert(): unknown | undefined;
|
|
@@ -1648,11 +1814,13 @@ export const SecureContextOptions: {
|
|
|
1648
1814
|
export type SecureContextOptions = SecureContextOptions$instance;
|
|
1649
1815
|
|
|
1650
1816
|
export interface Server$instance extends EventEmitter {
|
|
1817
|
+
readonly __tsonic_type_nodejs_Server: never;
|
|
1818
|
+
|
|
1651
1819
|
readonly listening: boolean;
|
|
1652
1820
|
maxConnections: int;
|
|
1653
1821
|
address(): unknown | undefined;
|
|
1654
|
-
close(callback?:
|
|
1655
|
-
getConnections(callback:
|
|
1822
|
+
close(callback?: Action_1<Exception>): Server;
|
|
1823
|
+
getConnections(callback: Action_2<Exception, System_Internal.Int32>): void;
|
|
1656
1824
|
listen(port: int, hostname: string, backlog: int, listeningListener?: Action): Server;
|
|
1657
1825
|
listen(port: int, hostname: string, listeningListener?: Action): Server;
|
|
1658
1826
|
listen(port: int, backlog: int, listeningListener?: Action): Server;
|
|
@@ -1665,16 +1833,18 @@ export interface Server$instance extends EventEmitter {
|
|
|
1665
1833
|
|
|
1666
1834
|
export const Server: {
|
|
1667
1835
|
new(): Server;
|
|
1668
|
-
new(connectionListener:
|
|
1669
|
-
new(options: ServerOpts, connectionListener:
|
|
1836
|
+
new(connectionListener: Action_1<Socket>): Server;
|
|
1837
|
+
new(options: ServerOpts, connectionListener: Action_1<Socket>): Server;
|
|
1670
1838
|
};
|
|
1671
1839
|
|
|
1672
1840
|
|
|
1673
1841
|
export type Server = Server$instance;
|
|
1674
1842
|
|
|
1675
1843
|
export interface ServerOpts$instance {
|
|
1676
|
-
|
|
1677
|
-
|
|
1844
|
+
readonly __tsonic_type_nodejs_ServerOpts: never;
|
|
1845
|
+
|
|
1846
|
+
allowHalfOpen: Nullable_1<System_Internal.Boolean>;
|
|
1847
|
+
pauseOnConnect: Nullable_1<System_Internal.Boolean>;
|
|
1678
1848
|
}
|
|
1679
1849
|
|
|
1680
1850
|
|
|
@@ -1686,6 +1856,8 @@ export const ServerOpts: {
|
|
|
1686
1856
|
export type ServerOpts = ServerOpts$instance;
|
|
1687
1857
|
|
|
1688
1858
|
export interface Sign$instance extends Transform {
|
|
1859
|
+
readonly __tsonic_type_nodejs_Sign: never;
|
|
1860
|
+
|
|
1689
1861
|
Dispose(): void;
|
|
1690
1862
|
Finalize(): void;
|
|
1691
1863
|
sign(privateKey: string, outputEncoding?: string): string;
|
|
@@ -1704,6 +1876,8 @@ export const Sign: {
|
|
|
1704
1876
|
export type Sign = Sign$instance;
|
|
1705
1877
|
|
|
1706
1878
|
export interface SoaRecord$instance {
|
|
1879
|
+
readonly __tsonic_type_nodejs_SoaRecord: never;
|
|
1880
|
+
|
|
1707
1881
|
expire: int;
|
|
1708
1882
|
hostmaster: string;
|
|
1709
1883
|
minttl: int;
|
|
@@ -1722,6 +1896,8 @@ export const SoaRecord: {
|
|
|
1722
1896
|
export type SoaRecord = SoaRecord$instance;
|
|
1723
1897
|
|
|
1724
1898
|
export interface Socket$instance extends Stream {
|
|
1899
|
+
readonly __tsonic_type_nodejs_Socket: never;
|
|
1900
|
+
|
|
1725
1901
|
bytesRead: long;
|
|
1726
1902
|
bytesWritten: long;
|
|
1727
1903
|
readonly connecting: boolean;
|
|
@@ -1730,13 +1906,13 @@ export interface Socket$instance extends Stream {
|
|
|
1730
1906
|
set localAddress(value: string | undefined);
|
|
1731
1907
|
get localFamily(): string | undefined;
|
|
1732
1908
|
set localFamily(value: string | undefined);
|
|
1733
|
-
localPort:
|
|
1909
|
+
localPort: Nullable_1<System_Internal.Int32>;
|
|
1734
1910
|
readonly readyState: string;
|
|
1735
1911
|
get remoteAddress(): string | undefined;
|
|
1736
1912
|
set remoteAddress(value: string | undefined);
|
|
1737
1913
|
get remoteFamily(): string | undefined;
|
|
1738
1914
|
set remoteFamily(value: string | undefined);
|
|
1739
|
-
remotePort:
|
|
1915
|
+
remotePort: Nullable_1<System_Internal.Int32>;
|
|
1740
1916
|
address(): unknown;
|
|
1741
1917
|
connect(port: int, host?: string, connectionListener?: Action): Socket;
|
|
1742
1918
|
connect(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
|
|
@@ -1756,8 +1932,8 @@ export interface Socket$instance extends Stream {
|
|
|
1756
1932
|
setNoDelay(noDelay?: boolean): Socket;
|
|
1757
1933
|
setTimeout(timeout: int, callback?: Action): Socket;
|
|
1758
1934
|
unref(): Socket;
|
|
1759
|
-
write(data: byte[], callback?:
|
|
1760
|
-
write(data: string, encoding?: string, callback?:
|
|
1935
|
+
write(data: byte[], callback?: Action_1<Exception>): boolean;
|
|
1936
|
+
write(data: string, encoding?: string, callback?: Action_1<Exception>): boolean;
|
|
1761
1937
|
}
|
|
1762
1938
|
|
|
1763
1939
|
|
|
@@ -1770,9 +1946,11 @@ export const Socket: {
|
|
|
1770
1946
|
export type Socket = Socket$instance;
|
|
1771
1947
|
|
|
1772
1948
|
export interface SocketAddress$instance {
|
|
1949
|
+
readonly __tsonic_type_nodejs_SocketAddress: never;
|
|
1950
|
+
|
|
1773
1951
|
address: string;
|
|
1774
1952
|
family: string;
|
|
1775
|
-
flowlabel:
|
|
1953
|
+
flowlabel: Nullable_1<System_Internal.Int32>;
|
|
1776
1954
|
port: int;
|
|
1777
1955
|
}
|
|
1778
1956
|
|
|
@@ -1785,12 +1963,14 @@ export const SocketAddress: {
|
|
|
1785
1963
|
export type SocketAddress = SocketAddress$instance;
|
|
1786
1964
|
|
|
1787
1965
|
export interface SocketAddressInitOptions$instance {
|
|
1966
|
+
readonly __tsonic_type_nodejs_SocketAddressInitOptions: never;
|
|
1967
|
+
|
|
1788
1968
|
get address(): string | undefined;
|
|
1789
1969
|
set address(value: string | undefined);
|
|
1790
1970
|
get family(): string | undefined;
|
|
1791
1971
|
set family(value: string | undefined);
|
|
1792
|
-
flowlabel:
|
|
1793
|
-
port:
|
|
1972
|
+
flowlabel: Nullable_1<System_Internal.Int32>;
|
|
1973
|
+
port: Nullable_1<System_Internal.Int32>;
|
|
1794
1974
|
}
|
|
1795
1975
|
|
|
1796
1976
|
|
|
@@ -1802,10 +1982,12 @@ export const SocketAddressInitOptions: {
|
|
|
1802
1982
|
export type SocketAddressInitOptions = SocketAddressInitOptions$instance;
|
|
1803
1983
|
|
|
1804
1984
|
export interface SocketConstructorOpts$instance {
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1985
|
+
readonly __tsonic_type_nodejs_SocketConstructorOpts: never;
|
|
1986
|
+
|
|
1987
|
+
allowHalfOpen: Nullable_1<System_Internal.Boolean>;
|
|
1988
|
+
fd: Nullable_1<System_Internal.Int32>;
|
|
1989
|
+
readable: Nullable_1<System_Internal.Boolean>;
|
|
1990
|
+
writable: Nullable_1<System_Internal.Boolean>;
|
|
1809
1991
|
}
|
|
1810
1992
|
|
|
1811
1993
|
|
|
@@ -1817,11 +1999,13 @@ export const SocketConstructorOpts: {
|
|
|
1817
1999
|
export type SocketConstructorOpts = SocketConstructorOpts$instance;
|
|
1818
2000
|
|
|
1819
2001
|
export interface SocketOptions$instance {
|
|
2002
|
+
readonly __tsonic_type_nodejs_SocketOptions: never;
|
|
2003
|
+
|
|
1820
2004
|
ipv6Only: boolean;
|
|
1821
|
-
recvBufferSize:
|
|
2005
|
+
recvBufferSize: Nullable_1<System_Internal.Int32>;
|
|
1822
2006
|
reuseAddr: boolean;
|
|
1823
2007
|
reusePort: boolean;
|
|
1824
|
-
sendBufferSize:
|
|
2008
|
+
sendBufferSize: Nullable_1<System_Internal.Int32>;
|
|
1825
2009
|
type: string;
|
|
1826
2010
|
}
|
|
1827
2011
|
|
|
@@ -1834,13 +2018,15 @@ export const SocketOptions: {
|
|
|
1834
2018
|
export type SocketOptions = SocketOptions$instance;
|
|
1835
2019
|
|
|
1836
2020
|
export interface SpawnSyncReturns_1$instance<T> {
|
|
2021
|
+
readonly __tsonic_type_nodejs_SpawnSyncReturns_1: never;
|
|
2022
|
+
|
|
1837
2023
|
get error(): Exception | undefined;
|
|
1838
2024
|
set error(value: Exception | undefined);
|
|
1839
2025
|
output: (T | undefined)[];
|
|
1840
2026
|
pid: int;
|
|
1841
2027
|
get signal(): string | undefined;
|
|
1842
2028
|
set signal(value: string | undefined);
|
|
1843
|
-
status:
|
|
2029
|
+
status: Nullable_1<System_Internal.Int32>;
|
|
1844
2030
|
stderr: T;
|
|
1845
2031
|
stdout: T;
|
|
1846
2032
|
}
|
|
@@ -1854,6 +2040,8 @@ export const SpawnSyncReturns_1: {
|
|
|
1854
2040
|
export type SpawnSyncReturns_1<T> = SpawnSyncReturns_1$instance<T>;
|
|
1855
2041
|
|
|
1856
2042
|
export interface SrvRecord$instance {
|
|
2043
|
+
readonly __tsonic_type_nodejs_SrvRecord: never;
|
|
2044
|
+
|
|
1857
2045
|
name: string;
|
|
1858
2046
|
port: int;
|
|
1859
2047
|
priority: int;
|
|
@@ -1869,6 +2057,8 @@ export const SrvRecord: {
|
|
|
1869
2057
|
export type SrvRecord = SrvRecord$instance;
|
|
1870
2058
|
|
|
1871
2059
|
export interface Stats$instance {
|
|
2060
|
+
readonly __tsonic_type_nodejs_Stats: never;
|
|
2061
|
+
|
|
1872
2062
|
atime: DateTime;
|
|
1873
2063
|
birthtime: DateTime;
|
|
1874
2064
|
ctime: DateTime;
|
|
@@ -1895,6 +2085,8 @@ export const Stats: {
|
|
|
1895
2085
|
export type Stats = Stats$instance;
|
|
1896
2086
|
|
|
1897
2087
|
export interface Stream$instance extends EventEmitter {
|
|
2088
|
+
readonly __tsonic_type_nodejs_Stream: never;
|
|
2089
|
+
|
|
1898
2090
|
destroy(error?: Exception): void;
|
|
1899
2091
|
pipe(destination: Stream, end?: boolean): Stream;
|
|
1900
2092
|
}
|
|
@@ -1908,6 +2100,8 @@ export const Stream: {
|
|
|
1908
2100
|
export type Stream = Stream$instance;
|
|
1909
2101
|
|
|
1910
2102
|
export interface StreamPromises$instance {
|
|
2103
|
+
readonly __tsonic_type_nodejs_StreamPromises: never;
|
|
2104
|
+
|
|
1911
2105
|
finished(streamValue: Stream): Task;
|
|
1912
2106
|
pipeline(...streams: Stream[]): Task;
|
|
1913
2107
|
}
|
|
@@ -1921,6 +2115,8 @@ export const StreamPromises: {
|
|
|
1921
2115
|
export type StreamPromises = StreamPromises$instance;
|
|
1922
2116
|
|
|
1923
2117
|
export interface StringDecoder$instance {
|
|
2118
|
+
readonly __tsonic_type_nodejs_StringDecoder: never;
|
|
2119
|
+
|
|
1924
2120
|
end(buffer?: byte[]): string;
|
|
1925
2121
|
write(buffer: byte[]): string;
|
|
1926
2122
|
}
|
|
@@ -1934,16 +2130,18 @@ export const StringDecoder: {
|
|
|
1934
2130
|
export type StringDecoder = StringDecoder$instance;
|
|
1935
2131
|
|
|
1936
2132
|
export interface TcpSocketConnectOpts$instance {
|
|
1937
|
-
|
|
1938
|
-
|
|
2133
|
+
readonly __tsonic_type_nodejs_TcpSocketConnectOpts: never;
|
|
2134
|
+
|
|
2135
|
+
family: Nullable_1<System_Internal.Int32>;
|
|
2136
|
+
hints: Nullable_1<System_Internal.Int32>;
|
|
1939
2137
|
get host(): string | undefined;
|
|
1940
2138
|
set host(value: string | undefined);
|
|
1941
|
-
keepAlive:
|
|
1942
|
-
keepAliveInitialDelay:
|
|
2139
|
+
keepAlive: Nullable_1<System_Internal.Boolean>;
|
|
2140
|
+
keepAliveInitialDelay: Nullable_1<System_Internal.Int32>;
|
|
1943
2141
|
get localAddress(): string | undefined;
|
|
1944
2142
|
set localAddress(value: string | undefined);
|
|
1945
|
-
localPort:
|
|
1946
|
-
noDelay:
|
|
2143
|
+
localPort: Nullable_1<System_Internal.Int32>;
|
|
2144
|
+
noDelay: Nullable_1<System_Internal.Boolean>;
|
|
1947
2145
|
port: int;
|
|
1948
2146
|
}
|
|
1949
2147
|
|
|
@@ -1956,6 +2154,8 @@ export const TcpSocketConnectOpts: {
|
|
|
1956
2154
|
export type TcpSocketConnectOpts = TcpSocketConnectOpts$instance;
|
|
1957
2155
|
|
|
1958
2156
|
export interface Timeout$instance {
|
|
2157
|
+
readonly __tsonic_type_nodejs_Timeout: never;
|
|
2158
|
+
|
|
1959
2159
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
1960
2160
|
|
|
1961
2161
|
close(): void;
|
|
@@ -1974,10 +2174,12 @@ export const Timeout: {
|
|
|
1974
2174
|
export type Timeout = Timeout$instance;
|
|
1975
2175
|
|
|
1976
2176
|
export interface TimersPromises$instance {
|
|
2177
|
+
readonly __tsonic_type_nodejs_TimersPromises: never;
|
|
2178
|
+
|
|
1977
2179
|
readonly scheduler: TimersScheduler;
|
|
1978
|
-
setImmediate(value?: unknown):
|
|
1979
|
-
setInterval(delay?: int, value?: unknown):
|
|
1980
|
-
setTimeout(delay?: int, value?: unknown):
|
|
2180
|
+
setImmediate(value?: unknown): Task_1<unknown | undefined>;
|
|
2181
|
+
setInterval(delay?: int, value?: unknown): IAsyncEnumerable_1<unknown | undefined>;
|
|
2182
|
+
setTimeout(delay?: int, value?: unknown): Task_1<unknown | undefined>;
|
|
1981
2183
|
}
|
|
1982
2184
|
|
|
1983
2185
|
|
|
@@ -1989,6 +2191,8 @@ export const TimersPromises: {
|
|
|
1989
2191
|
export type TimersPromises = TimersPromises$instance;
|
|
1990
2192
|
|
|
1991
2193
|
export interface TimersScheduler$instance {
|
|
2194
|
+
readonly __tsonic_type_nodejs_TimersScheduler: never;
|
|
2195
|
+
|
|
1992
2196
|
wait(delay?: int): Task;
|
|
1993
2197
|
yield(): Task;
|
|
1994
2198
|
}
|
|
@@ -2002,6 +2206,8 @@ export const TimersScheduler: {
|
|
|
2002
2206
|
export type TimersScheduler = TimersScheduler$instance;
|
|
2003
2207
|
|
|
2004
2208
|
export interface TlsaRecord$instance {
|
|
2209
|
+
readonly __tsonic_type_nodejs_TlsaRecord: never;
|
|
2210
|
+
|
|
2005
2211
|
certUsage: int;
|
|
2006
2212
|
data: byte[];
|
|
2007
2213
|
match: int;
|
|
@@ -2017,6 +2223,8 @@ export const TlsaRecord: {
|
|
|
2017
2223
|
export type TlsaRecord = TlsaRecord$instance;
|
|
2018
2224
|
|
|
2019
2225
|
export interface TLSCertificateInfo$instance {
|
|
2226
|
+
readonly __tsonic_type_nodejs_TLSCertificateInfo: never;
|
|
2227
|
+
|
|
2020
2228
|
C: string;
|
|
2021
2229
|
CN: string;
|
|
2022
2230
|
L: string;
|
|
@@ -2034,18 +2242,20 @@ export const TLSCertificateInfo: {
|
|
|
2034
2242
|
export type TLSCertificateInfo = TLSCertificateInfo$instance;
|
|
2035
2243
|
|
|
2036
2244
|
export interface TlsOptions$instance extends CommonConnectionOptions {
|
|
2037
|
-
|
|
2245
|
+
readonly __tsonic_type_nodejs_TlsOptions: never;
|
|
2246
|
+
|
|
2247
|
+
allowHalfOpen: Nullable_1<System_Internal.Boolean>;
|
|
2038
2248
|
get ca(): unknown | undefined;
|
|
2039
2249
|
set ca(value: unknown | undefined);
|
|
2040
2250
|
get cert(): unknown | undefined;
|
|
2041
2251
|
set cert(value: unknown | undefined);
|
|
2042
|
-
handshakeTimeout:
|
|
2252
|
+
handshakeTimeout: Nullable_1<System_Internal.Int32>;
|
|
2043
2253
|
get key(): unknown | undefined;
|
|
2044
2254
|
set key(value: unknown | undefined);
|
|
2045
2255
|
get passphrase(): string | undefined;
|
|
2046
2256
|
set passphrase(value: string | undefined);
|
|
2047
|
-
pauseOnConnect:
|
|
2048
|
-
sessionTimeout:
|
|
2257
|
+
pauseOnConnect: Nullable_1<System_Internal.Boolean>;
|
|
2258
|
+
sessionTimeout: Nullable_1<System_Internal.Int32>;
|
|
2049
2259
|
}
|
|
2050
2260
|
|
|
2051
2261
|
|
|
@@ -2057,6 +2267,8 @@ export const TlsOptions: {
|
|
|
2057
2267
|
export type TlsOptions = TlsOptions$instance;
|
|
2058
2268
|
|
|
2059
2269
|
export interface TLSServer$instance extends Server {
|
|
2270
|
+
readonly __tsonic_type_nodejs_TLSServer: never;
|
|
2271
|
+
|
|
2060
2272
|
addContext(hostname: string, context: unknown): void;
|
|
2061
2273
|
getTicketKeys(): byte[];
|
|
2062
2274
|
setSecureContext(options: SecureContextOptions): void;
|
|
@@ -2066,14 +2278,16 @@ export interface TLSServer$instance extends Server {
|
|
|
2066
2278
|
|
|
2067
2279
|
export const TLSServer: {
|
|
2068
2280
|
new(): TLSServer;
|
|
2069
|
-
new(secureConnectionListener:
|
|
2070
|
-
new(options: TlsOptions, secureConnectionListener:
|
|
2281
|
+
new(secureConnectionListener: Action_1<TLSSocket>): TLSServer;
|
|
2282
|
+
new(options: TlsOptions, secureConnectionListener: Action_1<TLSSocket>): TLSServer;
|
|
2071
2283
|
};
|
|
2072
2284
|
|
|
2073
2285
|
|
|
2074
2286
|
export type TLSServer = TLSServer$instance;
|
|
2075
2287
|
|
|
2076
2288
|
export interface TLSSocket$instance extends Socket {
|
|
2289
|
+
readonly __tsonic_type_nodejs_TLSSocket: never;
|
|
2290
|
+
|
|
2077
2291
|
readonly alpnProtocol: string | undefined;
|
|
2078
2292
|
readonly authorizationError: Exception | undefined;
|
|
2079
2293
|
readonly authorized: boolean;
|
|
@@ -2094,13 +2308,13 @@ export interface TLSSocket$instance extends Socket {
|
|
|
2094
2308
|
getTLSTicket(): byte[] | undefined;
|
|
2095
2309
|
getX509Certificate(): unknown | undefined;
|
|
2096
2310
|
isSessionReused(): boolean;
|
|
2097
|
-
renegotiate(options: unknown, callback:
|
|
2311
|
+
renegotiate(options: unknown, callback: Action_1<Exception>): boolean;
|
|
2098
2312
|
setKeyCert(context: unknown): void;
|
|
2099
2313
|
setMaxSendFragment(size: int): boolean;
|
|
2100
|
-
write(data: byte[], callback?:
|
|
2101
|
-
write(data: string, encoding?: string, callback?:
|
|
2102
|
-
write(data: byte[], callback?:
|
|
2103
|
-
write(data: string, encoding?: string, callback?:
|
|
2314
|
+
write(data: byte[], callback?: Action_1<Exception>): boolean;
|
|
2315
|
+
write(data: string, encoding?: string, callback?: Action_1<Exception>): boolean;
|
|
2316
|
+
write(data: byte[], callback?: Action_1<Exception>): boolean;
|
|
2317
|
+
write(data: string, encoding?: string, callback?: Action_1<Exception>): boolean;
|
|
2104
2318
|
}
|
|
2105
2319
|
|
|
2106
2320
|
|
|
@@ -2112,11 +2326,13 @@ export const TLSSocket: {
|
|
|
2112
2326
|
export type TLSSocket = TLSSocket$instance;
|
|
2113
2327
|
|
|
2114
2328
|
export interface TLSSocketOptions$instance extends CommonConnectionOptions {
|
|
2329
|
+
readonly __tsonic_type_nodejs_TLSSocketOptions: never;
|
|
2330
|
+
|
|
2115
2331
|
get ca(): unknown | undefined;
|
|
2116
2332
|
set ca(value: unknown | undefined);
|
|
2117
2333
|
get cert(): unknown | undefined;
|
|
2118
2334
|
set cert(value: unknown | undefined);
|
|
2119
|
-
isServer:
|
|
2335
|
+
isServer: Nullable_1<System_Internal.Boolean>;
|
|
2120
2336
|
get key(): unknown | undefined;
|
|
2121
2337
|
set key(value: unknown | undefined);
|
|
2122
2338
|
get passphrase(): string | undefined;
|
|
@@ -2136,8 +2352,10 @@ export const TLSSocketOptions: {
|
|
|
2136
2352
|
export type TLSSocketOptions = TLSSocketOptions$instance;
|
|
2137
2353
|
|
|
2138
2354
|
export interface Transform$instance extends Duplex {
|
|
2139
|
-
|
|
2140
|
-
|
|
2355
|
+
readonly __tsonic_type_nodejs_Transform: never;
|
|
2356
|
+
|
|
2357
|
+
_flush(callback: Action_1<Exception>): void;
|
|
2358
|
+
_transform(chunk: unknown, encoding: string, callback: Action_2<Exception, unknown>): void;
|
|
2141
2359
|
_write(chunk: unknown, encoding: string, callback: Action): void;
|
|
2142
2360
|
}
|
|
2143
2361
|
|
|
@@ -2150,6 +2368,8 @@ export const Transform: {
|
|
|
2150
2368
|
export type Transform = Transform$instance;
|
|
2151
2369
|
|
|
2152
2370
|
export interface URL$instance {
|
|
2371
|
+
readonly __tsonic_type_nodejs_URL: never;
|
|
2372
|
+
|
|
2153
2373
|
hash: string;
|
|
2154
2374
|
host: string;
|
|
2155
2375
|
hostname: string;
|
|
@@ -2177,7 +2397,9 @@ export const URL: {
|
|
|
2177
2397
|
export type URL = URL$instance;
|
|
2178
2398
|
|
|
2179
2399
|
export interface URLPattern$instance {
|
|
2180
|
-
|
|
2400
|
+
readonly __tsonic_type_nodejs_URLPattern: never;
|
|
2401
|
+
|
|
2402
|
+
exec(input: string): Dictionary_2<System_Internal.String, System_Internal.String> | undefined;
|
|
2181
2403
|
test(input: string): boolean;
|
|
2182
2404
|
}
|
|
2183
2405
|
|
|
@@ -2190,19 +2412,21 @@ export const URLPattern: {
|
|
|
2190
2412
|
export type URLPattern = URLPattern$instance;
|
|
2191
2413
|
|
|
2192
2414
|
export interface URLSearchParams$instance {
|
|
2415
|
+
readonly __tsonic_type_nodejs_URLSearchParams: never;
|
|
2416
|
+
|
|
2193
2417
|
readonly size: int;
|
|
2194
2418
|
append(name: string, value: string): void;
|
|
2195
2419
|
delete(name: string, value?: string): void;
|
|
2196
|
-
entries():
|
|
2197
|
-
forEach(callback:
|
|
2420
|
+
entries(): IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>;
|
|
2421
|
+
forEach(callback: Action_2<System_Internal.String, System_Internal.String>): void;
|
|
2198
2422
|
get(name: string): string | undefined;
|
|
2199
2423
|
getAll(name: string): string[];
|
|
2200
2424
|
has(name: string, value?: string): boolean;
|
|
2201
|
-
keys():
|
|
2425
|
+
keys(): IEnumerable_1<System_Internal.String>;
|
|
2202
2426
|
set(name: string, value: string): void;
|
|
2203
2427
|
sort(): void;
|
|
2204
2428
|
ToString(): string;
|
|
2205
|
-
values():
|
|
2429
|
+
values(): IEnumerable_1<System_Internal.String>;
|
|
2206
2430
|
}
|
|
2207
2431
|
|
|
2208
2432
|
|
|
@@ -2214,6 +2438,8 @@ export const URLSearchParams: {
|
|
|
2214
2438
|
export type URLSearchParams = URLSearchParams$instance;
|
|
2215
2439
|
|
|
2216
2440
|
export interface UserInfo$instance {
|
|
2441
|
+
readonly __tsonic_type_nodejs_UserInfo: never;
|
|
2442
|
+
|
|
2217
2443
|
gid: int;
|
|
2218
2444
|
homedir: string;
|
|
2219
2445
|
get shell(): string | undefined;
|
|
@@ -2231,6 +2457,8 @@ export const UserInfo: {
|
|
|
2231
2457
|
export type UserInfo = UserInfo$instance;
|
|
2232
2458
|
|
|
2233
2459
|
export interface Verify$instance extends Transform {
|
|
2460
|
+
readonly __tsonic_type_nodejs_Verify: never;
|
|
2461
|
+
|
|
2234
2462
|
Dispose(): void;
|
|
2235
2463
|
Finalize(): void;
|
|
2236
2464
|
update(data: string, inputEncoding?: string): Verify;
|
|
@@ -2249,6 +2477,8 @@ export const Verify: {
|
|
|
2249
2477
|
export type Verify = Verify$instance;
|
|
2250
2478
|
|
|
2251
2479
|
export interface Writable$instance extends Stream {
|
|
2480
|
+
readonly __tsonic_type_nodejs_Writable: never;
|
|
2481
|
+
|
|
2252
2482
|
destroyed: boolean;
|
|
2253
2483
|
readonly writable: boolean;
|
|
2254
2484
|
readonly writableCorked: boolean;
|
|
@@ -2272,6 +2502,8 @@ export const Writable: {
|
|
|
2272
2502
|
export type Writable = Writable$instance;
|
|
2273
2503
|
|
|
2274
2504
|
export interface X509CertificateInfo$instance {
|
|
2505
|
+
readonly __tsonic_type_nodejs_X509CertificateInfo: never;
|
|
2506
|
+
|
|
2275
2507
|
readonly fingerprint: string;
|
|
2276
2508
|
readonly fingerprint256: string;
|
|
2277
2509
|
readonly fingerprint512: string;
|
|
@@ -2299,12 +2531,14 @@ export const X509CertificateInfo: {
|
|
|
2299
2531
|
export type X509CertificateInfo = X509CertificateInfo$instance;
|
|
2300
2532
|
|
|
2301
2533
|
export interface ZlibOptions$instance {
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2534
|
+
readonly __tsonic_type_nodejs_ZlibOptions: never;
|
|
2535
|
+
|
|
2536
|
+
chunkSize: Nullable_1<System_Internal.Int32>;
|
|
2537
|
+
level: Nullable_1<System_Internal.Int32>;
|
|
2538
|
+
maxOutputLength: Nullable_1<System_Internal.Int32>;
|
|
2539
|
+
memLevel: Nullable_1<System_Internal.Int32>;
|
|
2540
|
+
strategy: Nullable_1<System_Internal.Int32>;
|
|
2541
|
+
windowBits: Nullable_1<System_Internal.Int32>;
|
|
2308
2542
|
}
|
|
2309
2543
|
|
|
2310
2544
|
|
|
@@ -2319,7 +2553,7 @@ export abstract class assert$instance {
|
|
|
2319
2553
|
static deepEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2320
2554
|
static deepStrictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2321
2555
|
static doesNotMatch(string: string, regexp: Regex, message?: string): void;
|
|
2322
|
-
static doesNotReject(fn:
|
|
2556
|
+
static doesNotReject(fn: Func_1<Task>, message?: string): Task;
|
|
2323
2557
|
static doesNotThrow(fn: Action, message?: string): void;
|
|
2324
2558
|
static equal(actual: unknown, expected: unknown, message?: string): void;
|
|
2325
2559
|
static fail(message?: string): void;
|
|
@@ -2330,7 +2564,7 @@ export abstract class assert$instance {
|
|
|
2330
2564
|
static notEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2331
2565
|
static notStrictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2332
2566
|
static ok(value: boolean, message?: string): void;
|
|
2333
|
-
static rejects(fn:
|
|
2567
|
+
static rejects(fn: Func_1<Task>, message?: string): Task;
|
|
2334
2568
|
static strict(actual: unknown, expected: unknown, message?: string): void;
|
|
2335
2569
|
static strictEqual(actual: unknown, expected: unknown, message?: string): void;
|
|
2336
2570
|
static throws(fn: Action, message?: string): void;
|
|
@@ -2371,9 +2605,9 @@ export abstract class Certificate$instance {
|
|
|
2371
2605
|
export type Certificate = Certificate$instance;
|
|
2372
2606
|
|
|
2373
2607
|
export abstract class child_process$instance {
|
|
2374
|
-
static exec(command: string, options: ExecOptions, callback:
|
|
2375
|
-
static exec(command: string, callback:
|
|
2376
|
-
static execFile(file: string, args: string[], options: ExecOptions, callback:
|
|
2608
|
+
static exec(command: string, options: ExecOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2609
|
+
static exec(command: string, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2610
|
+
static execFile(file: string, args: string[], options: ExecOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2377
2611
|
static execFileSync(file: string, args?: string[], options?: ExecOptions): unknown;
|
|
2378
2612
|
static execSync(command: string, options: ExecOptions): unknown;
|
|
2379
2613
|
static execSync(command: string): byte[];
|
|
@@ -2438,10 +2672,10 @@ export abstract class crypto$instance {
|
|
|
2438
2672
|
static createSecretKey(key: string, encoding?: string): KeyObject;
|
|
2439
2673
|
static createSign(algorithm: string): Sign;
|
|
2440
2674
|
static createVerify(algorithm: string): Verify;
|
|
2441
|
-
static generateKey(type: string, options: unknown, callback:
|
|
2675
|
+
static generateKey(type: string, options: unknown, callback: Action_2<Exception, KeyObject>): void;
|
|
2442
2676
|
static generateKey(type: string, options: unknown): KeyObject;
|
|
2443
|
-
static generateKeyPair(type: string, options: unknown, callback:
|
|
2444
|
-
static generateKeyPairSync(type: string, options?: unknown):
|
|
2677
|
+
static generateKeyPair(type: string, options: unknown, callback: Action_3<Exception, unknown, unknown>): void;
|
|
2678
|
+
static generateKeyPairSync(type: string, options?: unknown): ValueTuple_2<KeyObject, KeyObject>;
|
|
2445
2679
|
static getCiphers(): string[];
|
|
2446
2680
|
static getCurves(): string[];
|
|
2447
2681
|
static getDefaultCipherList(): string;
|
|
@@ -2449,9 +2683,9 @@ export abstract class crypto$instance {
|
|
|
2449
2683
|
static getFips(): boolean;
|
|
2450
2684
|
static getHashes(): string[];
|
|
2451
2685
|
static hash(algorithm: string, data: byte[], outputEncoding?: string): byte[];
|
|
2452
|
-
static hkdf(digest: string, ikm: byte[], salt: byte[], info: byte[], keylen: int, callback:
|
|
2686
|
+
static hkdf(digest: string, ikm: byte[], salt: byte[], info: byte[], keylen: int, callback: Action_2<Exception, byte[]>): void;
|
|
2453
2687
|
static hkdfSync(digest: string, ikm: byte[], salt: byte[], info: byte[], keylen: int): byte[];
|
|
2454
|
-
static pbkdf2(password: string, salt: string, iterations: int, keylen: int, digest: string, callback:
|
|
2688
|
+
static pbkdf2(password: string, salt: string, iterations: int, keylen: int, digest: string, callback: Action_2<Exception, byte[]>): void;
|
|
2455
2689
|
static pbkdf2Sync(password: byte[], salt: byte[], iterations: int, keylen: int, digest: string): byte[];
|
|
2456
2690
|
static pbkdf2Sync(password: string, salt: string, iterations: int, keylen: int, digest: string): byte[];
|
|
2457
2691
|
static privateDecrypt(key: unknown, buffer: byte[]): byte[];
|
|
@@ -2462,14 +2696,14 @@ export abstract class crypto$instance {
|
|
|
2462
2696
|
static publicDecrypt(key: string, buffer: byte[]): byte[];
|
|
2463
2697
|
static publicEncrypt(key: unknown, buffer: byte[]): byte[];
|
|
2464
2698
|
static publicEncrypt(key: string, buffer: byte[]): byte[];
|
|
2465
|
-
static randomBytes(size: int, callback:
|
|
2699
|
+
static randomBytes(size: int, callback: Action_2<Exception, byte[]>): void;
|
|
2466
2700
|
static randomBytes(size: int): byte[];
|
|
2467
|
-
static randomFill(buffer: byte[], offset: int, size: int, callback:
|
|
2468
|
-
static randomFillSync(buffer: byte[], offset?: int, size?:
|
|
2701
|
+
static randomFill(buffer: byte[], offset: int, size: int, callback: Action_2<Exception, byte[]>): void;
|
|
2702
|
+
static randomFillSync(buffer: byte[], offset?: int, size?: Nullable_1<System_Internal.Int32>): byte[];
|
|
2469
2703
|
static randomInt(min: int, max: int): int;
|
|
2470
2704
|
static randomInt(max: int): int;
|
|
2471
2705
|
static randomUUID(): string;
|
|
2472
|
-
static scrypt(password: string, salt: string, keylen: int, options: unknown, callback:
|
|
2706
|
+
static scrypt(password: string, salt: string, keylen: int, options: unknown, callback: Action_2<Exception, byte[]>): void;
|
|
2473
2707
|
static scryptSync(password: byte[], salt: byte[], keylen: int, options?: unknown): byte[];
|
|
2474
2708
|
static scryptSync(password: string, salt: string, keylen: int, options?: unknown): byte[];
|
|
2475
2709
|
static setDefaultEncoding(encoding: string): void;
|
|
@@ -2485,8 +2719,8 @@ export abstract class crypto$instance {
|
|
|
2485
2719
|
export type crypto = crypto$instance;
|
|
2486
2720
|
|
|
2487
2721
|
export abstract class dgram$instance {
|
|
2488
|
-
static createSocket(options: SocketOptions, callback?:
|
|
2489
|
-
static createSocket(type: string, callback?:
|
|
2722
|
+
static createSocket(options: SocketOptions, callback?: Action_2<byte[], RemoteInfo>): DgramSocket;
|
|
2723
|
+
static createSocket(type: string, callback?: Action_2<byte[], RemoteInfo>): DgramSocket;
|
|
2490
2724
|
}
|
|
2491
2725
|
|
|
2492
2726
|
|
|
@@ -2523,29 +2757,29 @@ export abstract class dns$instance {
|
|
|
2523
2757
|
static readonly promises: DnsPromises;
|
|
2524
2758
|
static getDefaultResultOrder(): string;
|
|
2525
2759
|
static getServers(): string[];
|
|
2526
|
-
static lookup(hostname: string, options: LookupOptions, callback:
|
|
2527
|
-
static lookup(hostname: string, options: LookupOptions, callback:
|
|
2528
|
-
static lookup(hostname: string, callback:
|
|
2529
|
-
static lookup(hostname: string, family: int, callback:
|
|
2530
|
-
static lookupService(address: string, port: int, callback:
|
|
2531
|
-
static resolve(hostname: string, callback:
|
|
2532
|
-
static resolve(hostname: string, rrtype: string, callback:
|
|
2533
|
-
static resolve4(hostname: string, options: ResolveOptions, callback:
|
|
2534
|
-
static resolve4(hostname: string, callback:
|
|
2535
|
-
static resolve6(hostname: string, options: ResolveOptions, callback:
|
|
2536
|
-
static resolve6(hostname: string, callback:
|
|
2537
|
-
static resolveAny(hostname: string, callback:
|
|
2538
|
-
static resolveCaa(hostname: string, callback:
|
|
2539
|
-
static resolveCname(hostname: string, callback:
|
|
2540
|
-
static resolveMx(hostname: string, callback:
|
|
2541
|
-
static resolveNaptr(hostname: string, callback:
|
|
2542
|
-
static resolveNs(hostname: string, callback:
|
|
2543
|
-
static resolvePtr(hostname: string, callback:
|
|
2544
|
-
static resolveSoa(hostname: string, callback:
|
|
2545
|
-
static resolveSrv(hostname: string, callback:
|
|
2546
|
-
static resolveTlsa(hostname: string, callback:
|
|
2547
|
-
static resolveTxt(hostname: string, callback:
|
|
2548
|
-
static reverse(ip: string, callback:
|
|
2760
|
+
static lookup(hostname: string, options: LookupOptions, callback: Action_2<Exception, LookupAddress[]>): void;
|
|
2761
|
+
static lookup(hostname: string, options: LookupOptions, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
|
|
2762
|
+
static lookup(hostname: string, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
|
|
2763
|
+
static lookup(hostname: string, family: int, callback: Action_3<Exception, System_Internal.String, System_Internal.Int32>): void;
|
|
2764
|
+
static lookupService(address: string, port: int, callback: Action_3<Exception, System_Internal.String, System_Internal.String>): void;
|
|
2765
|
+
static resolve(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2766
|
+
static resolve(hostname: string, rrtype: string, callback: Action_2<Exception, unknown>): void;
|
|
2767
|
+
static resolve4(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
2768
|
+
static resolve4(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2769
|
+
static resolve6(hostname: string, options: ResolveOptions, callback: Action_2<Exception, unknown>): void;
|
|
2770
|
+
static resolve6(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2771
|
+
static resolveAny(hostname: string, callback: Action_2<Exception, unknown[]>): void;
|
|
2772
|
+
static resolveCaa(hostname: string, callback: Action_2<Exception, CaaRecord[]>): void;
|
|
2773
|
+
static resolveCname(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2774
|
+
static resolveMx(hostname: string, callback: Action_2<Exception, MxRecord[]>): void;
|
|
2775
|
+
static resolveNaptr(hostname: string, callback: Action_2<Exception, NaptrRecord[]>): void;
|
|
2776
|
+
static resolveNs(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2777
|
+
static resolvePtr(hostname: string, callback: Action_2<Exception, string[]>): void;
|
|
2778
|
+
static resolveSoa(hostname: string, callback: Action_2<Exception, SoaRecord>): void;
|
|
2779
|
+
static resolveSrv(hostname: string, callback: Action_2<Exception, SrvRecord[]>): void;
|
|
2780
|
+
static resolveTlsa(hostname: string, callback: Action_2<Exception, TlsaRecord[]>): void;
|
|
2781
|
+
static resolveTxt(hostname: string, callback: Action_2<Exception, string[][]>): void;
|
|
2782
|
+
static reverse(ip: string, callback: Action_2<Exception, string[]>): void;
|
|
2549
2783
|
static setDefaultResultOrder(order: string): void;
|
|
2550
2784
|
static setServers(servers: string[]): void;
|
|
2551
2785
|
}
|
|
@@ -2562,8 +2796,8 @@ export abstract class events$instance {
|
|
|
2562
2796
|
static getEventListeners(emitter: EventEmitter, eventName: string): Function[];
|
|
2563
2797
|
static getMaxListeners(emitter: EventEmitter): int;
|
|
2564
2798
|
static listenerCount(emitter: EventEmitter, eventName: string): int;
|
|
2565
|
-
static on(emitter: EventEmitter, eventName: string):
|
|
2566
|
-
static once(emitter: EventEmitter, eventName: string):
|
|
2799
|
+
static on(emitter: EventEmitter, eventName: string): IAsyncEnumerable_1<(unknown | undefined)[]>;
|
|
2800
|
+
static once(emitter: EventEmitter, eventName: string): Task_1<(unknown | undefined)[]>;
|
|
2567
2801
|
static setMaxListeners(n: int, ...emitters: EventEmitter[]): void;
|
|
2568
2802
|
}
|
|
2569
2803
|
|
|
@@ -2585,23 +2819,23 @@ export abstract class fs$instance {
|
|
|
2585
2819
|
static cp(src: string, dest: string, recursive?: boolean): Task;
|
|
2586
2820
|
static cpSync(src: string, dest: string, recursive?: boolean): void;
|
|
2587
2821
|
static existsSync(path: string): boolean;
|
|
2588
|
-
static fstat(fd: int):
|
|
2822
|
+
static fstat(fd: int): Task_1<Stats>;
|
|
2589
2823
|
static fstatSync(fd: int): Stats;
|
|
2590
2824
|
static mkdir(path: string, recursive?: boolean): Task;
|
|
2591
2825
|
static mkdirSync(path: string, recursive?: boolean): void;
|
|
2592
|
-
static open(path: string, flags: string, mode?:
|
|
2593
|
-
static openSync(path: string, flags: string, mode?:
|
|
2594
|
-
static read(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2595
|
-
static readdir(path: string, withFileTypes?: boolean):
|
|
2826
|
+
static open(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
2827
|
+
static openSync(path: string, flags: string, mode?: Nullable_1<System_Internal.Int32>): int;
|
|
2828
|
+
static read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
2829
|
+
static readdir(path: string, withFileTypes?: boolean): Task_1<string[]>;
|
|
2596
2830
|
static readdirSync(path: string, withFileTypes?: boolean): string[];
|
|
2597
|
-
static readFile(path: string, encoding?: string):
|
|
2598
|
-
static readFileBytes(path: string):
|
|
2831
|
+
static readFile(path: string, encoding?: string): Task_1<System_Internal.String>;
|
|
2832
|
+
static readFileBytes(path: string): Task_1<byte[]>;
|
|
2599
2833
|
static readFileSync(path: string, encoding?: string): string;
|
|
2600
2834
|
static readFileSyncBytes(path: string): byte[];
|
|
2601
|
-
static readlink(path: string):
|
|
2835
|
+
static readlink(path: string): Task_1<System_Internal.String>;
|
|
2602
2836
|
static readlinkSync(path: string): string;
|
|
2603
|
-
static readSync(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2604
|
-
static realpath(path: string):
|
|
2837
|
+
static readSync(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): int;
|
|
2838
|
+
static realpath(path: string): Task_1<System_Internal.String>;
|
|
2605
2839
|
static realpathSync(path: string): string;
|
|
2606
2840
|
static rename(oldPath: string, newPath: string): Task;
|
|
2607
2841
|
static renameSync(oldPath: string, newPath: string): void;
|
|
@@ -2609,7 +2843,7 @@ export abstract class fs$instance {
|
|
|
2609
2843
|
static rmdir(path: string, recursive?: boolean): Task;
|
|
2610
2844
|
static rmdirSync(path: string, recursive?: boolean): void;
|
|
2611
2845
|
static rmSync(path: string, recursive?: boolean): void;
|
|
2612
|
-
static stat(path: string):
|
|
2846
|
+
static stat(path: string): Task_1<Stats>;
|
|
2613
2847
|
static statSync(path: string): Stats;
|
|
2614
2848
|
static symlink(target: string, path: string, type?: string): Task;
|
|
2615
2849
|
static symlinkSync(target: string, path: string, type?: string): void;
|
|
@@ -2617,14 +2851,14 @@ export abstract class fs$instance {
|
|
|
2617
2851
|
static truncateSync(path: string, len?: long): void;
|
|
2618
2852
|
static unlink(path: string): Task;
|
|
2619
2853
|
static unlinkSync(path: string): void;
|
|
2620
|
-
static write(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2621
|
-
static write(fd: int, data: string, position?:
|
|
2854
|
+
static write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): Task_1<System_Internal.Int32>;
|
|
2855
|
+
static write(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): Task_1<System_Internal.Int32>;
|
|
2622
2856
|
static writeFile(path: string, data: string, encoding?: string): Task;
|
|
2623
2857
|
static writeFileBytes(path: string, data: byte[]): Task;
|
|
2624
2858
|
static writeFileSync(path: string, data: string, encoding?: string): void;
|
|
2625
2859
|
static writeFileSyncBytes(path: string, data: byte[]): void;
|
|
2626
|
-
static writeSync(fd: int, buffer: byte[], offset: int, length: int, position:
|
|
2627
|
-
static writeSync(fd: int, data: string, position?:
|
|
2860
|
+
static writeSync(fd: int, buffer: byte[], offset: int, length: int, position: Nullable_1<System_Internal.Int32>): int;
|
|
2861
|
+
static writeSync(fd: int, data: string, position?: Nullable_1<System_Internal.Int32>, encoding?: string): int;
|
|
2628
2862
|
}
|
|
2629
2863
|
|
|
2630
2864
|
|
|
@@ -2637,8 +2871,8 @@ export abstract class net$instance {
|
|
|
2637
2871
|
static createConnection(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
|
|
2638
2872
|
static createConnection(port: int, host?: string, connectionListener?: Action): Socket;
|
|
2639
2873
|
static createConnection(path: string, connectionListener?: Action): Socket;
|
|
2640
|
-
static createServer(options: ServerOpts, connectionListener?:
|
|
2641
|
-
static createServer(connectionListener?:
|
|
2874
|
+
static createServer(options: ServerOpts, connectionListener?: Action_1<Socket>): Server;
|
|
2875
|
+
static createServer(connectionListener?: Action_1<Socket>): Server;
|
|
2642
2876
|
static getDefaultAutoSelectFamily(): boolean;
|
|
2643
2877
|
static getDefaultAutoSelectFamilyAttemptTimeout(): int;
|
|
2644
2878
|
static isIP(input: string): int;
|
|
@@ -2718,7 +2952,7 @@ export abstract class process$instance {
|
|
|
2718
2952
|
static argv0: string;
|
|
2719
2953
|
static readonly env: ProcessEnv;
|
|
2720
2954
|
static readonly execPath: string;
|
|
2721
|
-
static exitCode:
|
|
2955
|
+
static exitCode: Nullable_1<System_Internal.Int32>;
|
|
2722
2956
|
static readonly pid: int;
|
|
2723
2957
|
static readonly ppid: int;
|
|
2724
2958
|
static readonly platform: string;
|
|
@@ -2726,7 +2960,7 @@ export abstract class process$instance {
|
|
|
2726
2960
|
static readonly versions: ProcessVersions;
|
|
2727
2961
|
static chdir(directory: string): void;
|
|
2728
2962
|
static cwd(): string;
|
|
2729
|
-
static exit(code?:
|
|
2963
|
+
static exit(code?: Nullable_1<System_Internal.Int32>): void;
|
|
2730
2964
|
static kill(pid: int, signal?: unknown): boolean;
|
|
2731
2965
|
}
|
|
2732
2966
|
|
|
@@ -2734,11 +2968,11 @@ export abstract class process$instance {
|
|
|
2734
2968
|
export type process = process$instance;
|
|
2735
2969
|
|
|
2736
2970
|
export abstract class querystring$instance {
|
|
2737
|
-
static decode(str: string, sep?: string, eq?: string, maxKeys?: int):
|
|
2738
|
-
static encode(obj:
|
|
2971
|
+
static decode(str: string, sep?: string, eq?: string, maxKeys?: int): Dictionary_2<System_Internal.String, unknown>;
|
|
2972
|
+
static encode(obj: Dictionary_2<System_Internal.String, unknown>, sep?: string, eq?: string): string;
|
|
2739
2973
|
static escape(str: string): string;
|
|
2740
|
-
static parse(str: string, sep?: string, eq?: string, maxKeys?: int):
|
|
2741
|
-
static stringify(obj:
|
|
2974
|
+
static parse(str: string, sep?: string, eq?: string, maxKeys?: int): Dictionary_2<System_Internal.String, unknown>;
|
|
2975
|
+
static stringify(obj: Dictionary_2<System_Internal.String, unknown>, sep?: string, eq?: string): string;
|
|
2742
2976
|
static unescape(str: string): string;
|
|
2743
2977
|
}
|
|
2744
2978
|
|
|
@@ -2749,10 +2983,10 @@ export abstract class readline$instance {
|
|
|
2749
2983
|
static readonly promises: ReadlinePromises;
|
|
2750
2984
|
static clearLine(stream: Writable, dir: int, callback?: Action): boolean;
|
|
2751
2985
|
static clearScreenDown(stream: Writable, callback?: Action): boolean;
|
|
2752
|
-
static createAsyncIterator(input: Readable, options?: InterfaceOptions):
|
|
2986
|
+
static createAsyncIterator(input: Readable, options?: InterfaceOptions): IAsyncEnumerable_1<System_Internal.String>;
|
|
2753
2987
|
static createInterface(options: InterfaceOptions): Interface;
|
|
2754
2988
|
static createInterface(input: Readable, output?: Writable): Interface;
|
|
2755
|
-
static cursorTo(stream: Writable, x: int, y?:
|
|
2989
|
+
static cursorTo(stream: Writable, x: int, y?: Nullable_1<System_Internal.Int32>, callback?: Action): boolean;
|
|
2756
2990
|
static emitKeypressEvents(stream: Readable, rl?: Interface): void;
|
|
2757
2991
|
static moveCursor(stream: Writable, dx: int, dy: int, callback?: Action): boolean;
|
|
2758
2992
|
}
|
|
@@ -2762,7 +2996,7 @@ export type readline = readline$instance;
|
|
|
2762
2996
|
|
|
2763
2997
|
export abstract class stream$instance {
|
|
2764
2998
|
static readonly promises: StreamPromises;
|
|
2765
|
-
static finished(stream: Stream, callback:
|
|
2999
|
+
static finished(stream: Stream, callback: Action_1<Exception>): void;
|
|
2766
3000
|
static finished(stream: Stream): Task;
|
|
2767
3001
|
static pipeline(...streams: unknown[]): void;
|
|
2768
3002
|
}
|
|
@@ -2797,8 +3031,8 @@ export abstract class tls$instance {
|
|
|
2797
3031
|
static connect(port: int, options?: ConnectionOptions, secureConnectListener?: Action): TLSSocket;
|
|
2798
3032
|
static connect(port: int, host?: string, options?: ConnectionOptions, secureConnectListener?: Action): TLSSocket;
|
|
2799
3033
|
static createSecureContext(options?: SecureContextOptions): SecureContext;
|
|
2800
|
-
static createServer(options: TlsOptions, secureConnectionListener?:
|
|
2801
|
-
static createServer(secureConnectionListener?:
|
|
3034
|
+
static createServer(options: TlsOptions, secureConnectionListener?: Action_1<TLSSocket>): TLSServer;
|
|
3035
|
+
static createServer(secureConnectionListener?: Action_1<TLSSocket>): TLSServer;
|
|
2802
3036
|
static getCACertificates(type?: string): string[];
|
|
2803
3037
|
static getCiphers(): string[];
|
|
2804
3038
|
static setDefaultCACertificates(certs: string[]): void;
|
|
@@ -2818,7 +3052,7 @@ export abstract class url$instance {
|
|
|
2818
3052
|
static parse(input: string): URL | undefined;
|
|
2819
3053
|
static pathToFileURL(filePath: string): URL;
|
|
2820
3054
|
static resolve(from: string, to: string): string;
|
|
2821
|
-
static urlToHttpOptions(input: URL):
|
|
3055
|
+
static urlToHttpOptions(input: URL): Dictionary_2<System_Internal.String, unknown | undefined>;
|
|
2822
3056
|
}
|
|
2823
3057
|
|
|
2824
3058
|
|
|
@@ -2826,7 +3060,7 @@ export type url = url$instance;
|
|
|
2826
3060
|
|
|
2827
3061
|
export abstract class util$instance {
|
|
2828
3062
|
static debuglog(section: string): DebugLogFunction;
|
|
2829
|
-
static deprecate<TResult>(fn:
|
|
3063
|
+
static deprecate<TResult>(fn: Func_1<TResult>, msg: string, code?: string): Func_1<TResult>;
|
|
2830
3064
|
static deprecate(action: Action, msg: string, code?: string): Action;
|
|
2831
3065
|
static format(format: unknown, ...args: unknown[]): string;
|
|
2832
3066
|
static formatWithOptions(inspectOptions: unknown, formatValue: unknown, ...args: unknown[]): string;
|