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