@tsonic/nodejs 10.0.1 → 10.0.5

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.
@@ -139,11 +139,11 @@ export const AnyPtrRecord: {
139
139
  export type AnyPtrRecord = AnyPtrRecord$instance;
140
140
 
141
141
  export interface AnyRecord$instance {
142
- readonly type: string;
142
+ type: string;
143
143
  }
144
144
 
145
145
 
146
- export const AnyRecord: {
146
+ export const AnyRecord: (abstract new() => AnyRecord) & {
147
147
  };
148
148
 
149
149
 
@@ -199,11 +199,13 @@ export const AnyTxtRecord: {
199
199
  export type AnyTxtRecord = AnyTxtRecord$instance;
200
200
 
201
201
  export interface AssertionError$instance extends Exception {
202
+ readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
203
+
202
204
  get actual(): unknown | undefined;
203
- set actual(value: unknown);
205
+ set actual(value: unknown | undefined);
204
206
  readonly code: string;
205
207
  get expected(): unknown | undefined;
206
- set expected(value: unknown);
208
+ set expected(value: unknown | undefined);
207
209
  generatedMessage: boolean;
208
210
  operator: string;
209
211
  }
@@ -217,7 +219,8 @@ export const AssertionError: {
217
219
  export type AssertionError = AssertionError$instance;
218
220
 
219
221
  export interface BindOptions$instance {
220
- address: string;
222
+ get address(): string | undefined;
223
+ set address(value: string | undefined);
221
224
  exclusive: boolean;
222
225
  fd: Nullable<System_Internal.Int32>;
223
226
  port: Nullable<System_Internal.Int32>;
@@ -262,7 +265,7 @@ export const BrotliOptions: {
262
265
  export type BrotliOptions = BrotliOptions$instance;
263
266
 
264
267
  export interface Buffer$instance {
265
- Item: byte;
268
+ [index: number]: byte;
266
269
  readonly length: int;
267
270
  compare(target: Buffer, targetStart?: Nullable<System_Internal.Int32>, targetEnd?: Nullable<System_Internal.Int32>, sourceStart?: Nullable<System_Internal.Int32>, sourceEnd?: Nullable<System_Internal.Int32>): int;
268
271
  copy(target: Buffer, targetStart?: int, sourceStart?: Nullable<System_Internal.Int32>, sourceEnd?: Nullable<System_Internal.Int32>): int;
@@ -346,7 +349,6 @@ export interface Buffer$instance {
346
349
 
347
350
 
348
351
  export const Buffer: {
349
- new(): Buffer;
350
352
  poolSize: int;
351
353
  alloc(size: int, fill?: unknown, encoding?: string): Buffer;
352
354
  allocUnsafe(size: int): Buffer;
@@ -366,18 +368,31 @@ export const Buffer: {
366
368
 
367
369
  export type Buffer = Buffer$instance;
368
370
 
371
+ export interface BufferConstants$instance {
372
+ readonly MAX_LENGTH: int;
373
+ readonly MAX_STRING_LENGTH: int;
374
+ }
375
+
376
+
377
+ export const BufferConstants: {
378
+ new(): BufferConstants;
379
+ };
380
+
381
+
382
+ export type BufferConstants = BufferConstants$instance;
383
+
369
384
  export interface CaaRecord$instance {
370
385
  get contactemail(): string | undefined;
371
- set contactemail(value: string);
386
+ set contactemail(value: string | undefined);
372
387
  get contactphone(): string | undefined;
373
- set contactphone(value: string);
388
+ set contactphone(value: string | undefined);
374
389
  critical: int;
375
390
  get iodef(): string | undefined;
376
- set iodef(value: string);
391
+ set iodef(value: string | undefined);
377
392
  get issue(): string | undefined;
378
- set issue(value: string);
393
+ set issue(value: string | undefined);
379
394
  get issuewild(): string | undefined;
380
- set issuewild(value: string);
395
+ set issuewild(value: string | undefined);
381
396
  }
382
397
 
383
398
 
@@ -389,17 +404,21 @@ export const CaaRecord: {
389
404
  export type CaaRecord = CaaRecord$instance;
390
405
 
391
406
  export interface ChildProcess$instance extends EventEmitter {
392
- readonly connected: boolean;
393
- readonly exitCode: Nullable<System_Internal.Int32>;
407
+ connected: boolean;
408
+ exitCode: Nullable<System_Internal.Int32>;
394
409
  readonly killed: boolean;
395
410
  readonly pid: int;
396
- readonly referenced: boolean;
397
- readonly signalCode: string | undefined;
398
- readonly spawnargs: string[];
399
- readonly spawnfile: string;
400
- readonly stderr: Readable;
401
- readonly stdin: Writable | undefined;
402
- readonly stdout: Readable;
411
+ referenced: boolean;
412
+ get signalCode(): string | undefined;
413
+ set signalCode(value: string | undefined);
414
+ spawnargs: string[];
415
+ spawnfile: string;
416
+ get stderr(): Readable | undefined;
417
+ set stderr(value: Readable | undefined);
418
+ get stdin(): Writable | undefined;
419
+ set stdin(value: Writable | undefined);
420
+ get stdout(): Readable | undefined;
421
+ set stdout(value: Readable | undefined);
403
422
  disconnect(): void;
404
423
  kill(signal?: string): boolean;
405
424
  ref(): void;
@@ -409,7 +428,6 @@ export interface ChildProcess$instance extends EventEmitter {
409
428
 
410
429
 
411
430
  export const ChildProcess: {
412
- new(): ChildProcess;
413
431
  };
414
432
 
415
433
 
@@ -419,6 +437,7 @@ export interface Cipher$instance extends Transform {
419
437
  Dispose(): void;
420
438
  final(outputEncoding?: string): string;
421
439
  final(): byte[];
440
+ Finalize(): void;
422
441
  getAuthTag(): byte[];
423
442
  setAAD(buffer: byte[]): void;
424
443
  setAuthTag(tagLength: int): void;
@@ -428,7 +447,6 @@ export interface Cipher$instance extends Transform {
428
447
 
429
448
 
430
449
  export const Cipher: {
431
- new(): Cipher;
432
450
  };
433
451
 
434
452
 
@@ -450,12 +468,12 @@ export type CipherNameAndProtocol = CipherNameAndProtocol$instance;
450
468
 
451
469
  export interface CommonConnectionOptions$instance {
452
470
  get ALPNProtocols(): string[] | undefined;
453
- set ALPNProtocols(value: string[]);
471
+ set ALPNProtocols(value: string[] | undefined);
454
472
  enableTrace: Nullable<System_Internal.Boolean>;
455
473
  rejectUnauthorized: Nullable<System_Internal.Boolean>;
456
474
  requestCert: Nullable<System_Internal.Boolean>;
457
475
  get secureContext(): SecureContext | undefined;
458
- set secureContext(value: SecureContext);
476
+ set secureContext(value: SecureContext | undefined);
459
477
  }
460
478
 
461
479
 
@@ -468,17 +486,18 @@ export type CommonConnectionOptions = CommonConnectionOptions$instance;
468
486
 
469
487
  export interface ConnectionOptions$instance extends CommonConnectionOptions {
470
488
  get ca(): unknown | undefined;
471
- set ca(value: unknown);
489
+ set ca(value: unknown | undefined);
472
490
  get cert(): unknown | undefined;
473
- set cert(value: unknown);
474
- host: string;
491
+ set cert(value: unknown | undefined);
492
+ get host(): string | undefined;
493
+ set host(value: string | undefined);
475
494
  get key(): unknown | undefined;
476
- set key(value: unknown);
495
+ set key(value: unknown | undefined);
477
496
  get passphrase(): string | undefined;
478
- set passphrase(value: string);
497
+ set passphrase(value: string | undefined);
479
498
  port: Nullable<System_Internal.Int32>;
480
499
  get servername(): string | undefined;
481
- set servername(value: string);
500
+ set servername(value: string | undefined);
482
501
  timeout: Nullable<System_Internal.Int32>;
483
502
  }
484
503
 
@@ -490,6 +509,39 @@ export const ConnectionOptions: {
490
509
 
491
510
  export type ConnectionOptions = ConnectionOptions$instance;
492
511
 
512
+ export interface ConsoleConstructor$instance {
513
+ assert(value: boolean, message?: string, ...optionalParams: unknown[]): void;
514
+ clear(): void;
515
+ count(label?: string): void;
516
+ countReset(label?: string): void;
517
+ debug(message?: unknown, ...optionalParams: unknown[]): void;
518
+ dir(obj: unknown, ...options: unknown[]): void;
519
+ dirxml(...data: unknown[]): void;
520
+ error(message?: unknown, ...optionalParams: unknown[]): void;
521
+ group(...label: unknown[]): void;
522
+ groupCollapsed(...label: unknown[]): void;
523
+ groupEnd(): void;
524
+ info(message?: unknown, ...optionalParams: unknown[]): void;
525
+ log(message?: unknown, ...optionalParams: unknown[]): void;
526
+ profile(label?: string): void;
527
+ profileEnd(label?: string): void;
528
+ table(tabularData: unknown, properties?: string[]): void;
529
+ time(label?: string): void;
530
+ timeEnd(label?: string): void;
531
+ timeLog(label?: string, ...data: unknown[]): void;
532
+ timeStamp(label?: string): void;
533
+ trace(message?: unknown, ...optionalParams: unknown[]): void;
534
+ warn(message?: unknown, ...optionalParams: unknown[]): void;
535
+ }
536
+
537
+
538
+ export const ConsoleConstructor: {
539
+ new(stdout: unknown, stderr: unknown, ignoreErrors: boolean, colorMode: unknown, inspectOptions: Nullable<System_Internal.Int32>, groupIndentation: boolean): ConsoleConstructor;
540
+ };
541
+
542
+
543
+ export type ConsoleConstructor = ConsoleConstructor$instance;
544
+
493
545
  export interface CpuInfo$instance {
494
546
  model: string;
495
547
  speed: int;
@@ -537,6 +589,7 @@ export interface Decipher$instance extends Transform {
537
589
  Dispose(): void;
538
590
  final(outputEncoding?: string): string;
539
591
  final(): byte[];
592
+ Finalize(): void;
540
593
  setAAD(buffer: byte[]): void;
541
594
  setAuthTag(buffer: byte[]): void;
542
595
  update(data: string, inputEncoding?: string, outputEncoding?: string): string;
@@ -545,7 +598,6 @@ export interface Decipher$instance extends Transform {
545
598
 
546
599
 
547
600
  export const Decipher: {
548
- new(): Decipher;
549
601
  };
550
602
 
551
603
 
@@ -553,7 +605,7 @@ export type Decipher = Decipher$instance;
553
605
 
554
606
  export interface DetailedPeerCertificate$instance extends PeerCertificate {
555
607
  get issuerCertificate(): DetailedPeerCertificate | undefined;
556
- set issuerCertificate(value: DetailedPeerCertificate);
608
+ set issuerCertificate(value: DetailedPeerCertificate | undefined);
557
609
  }
558
610
 
559
611
 
@@ -605,17 +657,19 @@ export interface DgramSocket$instance extends EventEmitter {
605
657
 
606
658
 
607
659
  export const DgramSocket: {
608
- new(): DgramSocket;
609
660
  };
610
661
 
611
662
 
612
663
  export type DgramSocket = DgramSocket$instance;
613
664
 
614
665
  export interface DiffieHellman$instance {
666
+ readonly __tsonic_iface_System_IDisposable: never;
667
+
615
668
  computeSecret(otherPublicKey: string, inputEncoding?: string, outputEncoding?: string): string;
616
669
  computeSecret(otherPublicKey: byte[], outputEncoding?: string): string;
617
670
  computeSecret(otherPublicKey: byte[]): byte[];
618
671
  Dispose(): void;
672
+ Dispose(disposing: boolean): void;
619
673
  generateKeys(encoding?: string): string;
620
674
  generateKeys(): byte[];
621
675
  getGenerator(encoding?: string): string;
@@ -635,13 +689,50 @@ export interface DiffieHellman$instance {
635
689
 
636
690
 
637
691
  export const DiffieHellman: {
638
- new(): DiffieHellman;
639
692
  };
640
693
 
641
694
 
642
695
  export type DiffieHellman = DiffieHellman$instance;
643
696
 
697
+ export interface DnsPromises$instance {
698
+ getDefaultResultOrder(): string;
699
+ getServers(): string[];
700
+ lookup(hostname: string, options?: LookupOptions): Task<LookupAddress>;
701
+ lookupAll(hostname: string, options?: LookupOptions): Task<LookupAddress[]>;
702
+ lookupService(address: string, port: int): Task<LookupServiceResult>;
703
+ resolve(hostname: string): Task<string[]>;
704
+ resolve(hostname: string, rrtype: string): Task<unknown>;
705
+ resolve4(hostname: string): Task<string[]>;
706
+ resolve4(hostname: string, options: ResolveOptions): Task<unknown>;
707
+ resolve6(hostname: string): Task<string[]>;
708
+ resolve6(hostname: string, options: ResolveOptions): Task<unknown>;
709
+ resolveAny(hostname: string): Task<unknown[]>;
710
+ resolveCaa(hostname: string): Task<CaaRecord[]>;
711
+ resolveCname(hostname: string): Task<string[]>;
712
+ resolveMx(hostname: string): Task<MxRecord[]>;
713
+ resolveNaptr(hostname: string): Task<NaptrRecord[]>;
714
+ resolveNs(hostname: string): Task<string[]>;
715
+ resolvePtr(hostname: string): Task<string[]>;
716
+ resolveSoa(hostname: string): Task<SoaRecord>;
717
+ resolveSrv(hostname: string): Task<SrvRecord[]>;
718
+ resolveTlsa(hostname: string): Task<TlsaRecord[]>;
719
+ resolveTxt(hostname: string): Task<string[][]>;
720
+ reverse(ip: string): Task<string[]>;
721
+ setDefaultResultOrder(order: string): void;
722
+ setServers(servers: string[]): void;
723
+ }
724
+
725
+
726
+ export const DnsPromises: {
727
+ new(): DnsPromises;
728
+ };
729
+
730
+
731
+ export type DnsPromises = DnsPromises$instance;
732
+
644
733
  export interface DSAPrivateKeyObject$instance extends KeyObject {
734
+ readonly __tsonic_iface_System_IDisposable: never;
735
+
645
736
  readonly asymmetricKeyType: string | undefined;
646
737
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
647
738
  readonly type: string;
@@ -651,13 +742,14 @@ export interface DSAPrivateKeyObject$instance extends KeyObject {
651
742
 
652
743
 
653
744
  export const DSAPrivateKeyObject: {
654
- new(): DSAPrivateKeyObject;
655
745
  };
656
746
 
657
747
 
658
748
  export type DSAPrivateKeyObject = DSAPrivateKeyObject$instance;
659
749
 
660
750
  export interface DSAPublicKeyObject$instance extends KeyObject {
751
+ readonly __tsonic_iface_System_IDisposable: never;
752
+
661
753
  readonly asymmetricKeyType: string | undefined;
662
754
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
663
755
  readonly type: string;
@@ -667,7 +759,6 @@ export interface DSAPublicKeyObject$instance extends KeyObject {
667
759
 
668
760
 
669
761
  export const DSAPublicKeyObject: {
670
- new(): DSAPublicKeyObject;
671
762
  };
672
763
 
673
764
 
@@ -678,6 +769,7 @@ export interface Duplex$instance extends Readable {
678
769
  readonly writableCorked: boolean;
679
770
  readonly writableEnded: boolean;
680
771
  readonly writableLength: int;
772
+ _write(chunk: unknown, encoding: string, callback: Action): void;
681
773
  cork(): void;
682
774
  destroy(error?: Exception): void;
683
775
  end(chunk?: unknown, encoding?: string, callback?: Action): void;
@@ -694,10 +786,13 @@ export const Duplex: {
694
786
  export type Duplex = Duplex$instance;
695
787
 
696
788
  export interface ECDH$instance {
789
+ readonly __tsonic_iface_System_IDisposable: never;
790
+
697
791
  computeSecret(otherPublicKey: string, inputEncoding?: string, outputEncoding?: string): string;
698
792
  computeSecret(otherPublicKey: byte[], outputEncoding?: string): string;
699
793
  computeSecret(otherPublicKey: byte[]): byte[];
700
794
  Dispose(): void;
795
+ Dispose(disposing: boolean): void;
701
796
  generateKeys(encoding?: string, format?: string): string;
702
797
  generateKeys(): byte[];
703
798
  getPrivateKey(encoding?: string): string;
@@ -712,13 +807,14 @@ export interface ECDH$instance {
712
807
 
713
808
 
714
809
  export const ECDH: {
715
- new(): ECDH;
716
810
  };
717
811
 
718
812
 
719
813
  export type ECDH = ECDH$instance;
720
814
 
721
815
  export interface EdDSAPrivateKeyObject$instance extends KeyObject {
816
+ readonly __tsonic_iface_System_IDisposable: never;
817
+
722
818
  readonly asymmetricKeyType: string | undefined;
723
819
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
724
820
  readonly type: string;
@@ -728,13 +824,14 @@ export interface EdDSAPrivateKeyObject$instance extends KeyObject {
728
824
 
729
825
 
730
826
  export const EdDSAPrivateKeyObject: {
731
- new(): EdDSAPrivateKeyObject;
732
827
  };
733
828
 
734
829
 
735
830
  export type EdDSAPrivateKeyObject = EdDSAPrivateKeyObject$instance;
736
831
 
737
832
  export interface EdDSAPublicKeyObject$instance extends KeyObject {
833
+ readonly __tsonic_iface_System_IDisposable: never;
834
+
738
835
  readonly asymmetricKeyType: string | undefined;
739
836
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
740
837
  readonly type: string;
@@ -744,14 +841,14 @@ export interface EdDSAPublicKeyObject$instance extends KeyObject {
744
841
 
745
842
 
746
843
  export const EdDSAPublicKeyObject: {
747
- new(): EdDSAPublicKeyObject;
748
844
  };
749
845
 
750
846
 
751
847
  export type EdDSAPublicKeyObject = EdDSAPublicKeyObject$instance;
752
848
 
753
849
  export interface EphemeralKeyInfo$instance {
754
- name: string;
850
+ get name(): string | undefined;
851
+ set name(value: string | undefined);
755
852
  size: int;
756
853
  type: string;
757
854
  }
@@ -794,24 +891,24 @@ export type EventEmitter = EventEmitter$instance;
794
891
 
795
892
  export interface ExecOptions$instance {
796
893
  get argv0(): string | undefined;
797
- set argv0(value: string);
894
+ set argv0(value: string | undefined);
798
895
  get cwd(): string | undefined;
799
- set cwd(value: string);
896
+ set cwd(value: string | undefined);
800
897
  detached: boolean;
801
898
  get encoding(): string | undefined;
802
- set encoding(value: string);
899
+ set encoding(value: string | undefined);
803
900
  get env(): unknown | undefined;
804
- set env(value: unknown);
901
+ set env(value: unknown | undefined);
805
902
  gid: Nullable<System_Internal.Int32>;
806
903
  get input(): string | undefined;
807
- set input(value: string);
904
+ set input(value: string | undefined);
808
905
  get killSignal(): string | undefined;
809
- set killSignal(value: string);
906
+ set killSignal(value: string | undefined);
810
907
  maxBuffer: int;
811
908
  get shell(): string | undefined;
812
- set shell(value: string);
909
+ set shell(value: string | undefined);
813
910
  get stdio(): string | undefined;
814
- set stdio(value: string);
911
+ set stdio(value: string | undefined);
815
912
  timeout: int;
816
913
  uid: Nullable<System_Internal.Int32>;
817
914
  windowsHide: boolean;
@@ -826,19 +923,56 @@ export const ExecOptions: {
826
923
 
827
924
  export type ExecOptions = ExecOptions$instance;
828
925
 
926
+ export interface FsPromises$instance {
927
+ access(path: string, mode?: int): Task;
928
+ appendFile(path: string, data: string, encoding?: string): Task;
929
+ chmod(path: string, mode: int): Task;
930
+ close(fd: int): Task;
931
+ copyFile(src: string, dest: string, mode?: int): Task;
932
+ cp(src: string, dest: string, recursive?: boolean): Task;
933
+ fstat(fd: int): Task<Stats>;
934
+ mkdir(path: string, recursive?: boolean): Task;
935
+ open(path: string, flags: string, mode?: Nullable<System_Internal.Int32>): Task<System_Internal.Int32>;
936
+ read(fd: int, buffer: byte[], offset: int, length: int, position: Nullable<System_Internal.Int32>): Task<System_Internal.Int32>;
937
+ readdir(path: string, withFileTypes?: boolean): Task<string[]>;
938
+ readFile(path: string, encoding?: string): Task<System_Internal.String>;
939
+ readFileBytes(path: string): Task<byte[]>;
940
+ readlink(path: string): Task<System_Internal.String>;
941
+ realpath(path: string): Task<System_Internal.String>;
942
+ rename(oldPath: string, newPath: string): Task;
943
+ rm(path: string, recursive?: boolean): Task;
944
+ rmdir(path: string, recursive?: boolean): Task;
945
+ stat(path: string): Task<Stats>;
946
+ symlink(target: string, path: string, type?: string): Task;
947
+ truncate(path: string, len?: long): Task;
948
+ unlink(path: string): Task;
949
+ write(fd: int, buffer: byte[], offset: int, length: int, position: Nullable<System_Internal.Int32>): Task<System_Internal.Int32>;
950
+ write(fd: int, data: string, position?: Nullable<System_Internal.Int32>, encoding?: string): Task<System_Internal.Int32>;
951
+ writeFile(path: string, data: string, encoding?: string): Task;
952
+ writeFileBytes(path: string, data: byte[]): Task;
953
+ }
954
+
955
+
956
+ export const FsPromises: {
957
+ new(): FsPromises;
958
+ };
959
+
960
+
961
+ export type FsPromises = FsPromises$instance;
962
+
829
963
  export interface Hash$instance extends Transform {
830
964
  copy(): Hash;
831
965
  digest(encoding: string): string;
832
966
  digest(): byte[];
833
967
  digest(outputLength: int): byte[];
834
968
  Dispose(): void;
969
+ Finalize(): void;
835
970
  update(data: string, inputEncoding?: string): Hash;
836
971
  update(data: byte[]): Hash;
837
972
  }
838
973
 
839
974
 
840
975
  export const Hash: {
841
- new(): Hash;
842
976
  };
843
977
 
844
978
 
@@ -848,19 +982,21 @@ export interface Hmac$instance extends Transform {
848
982
  digest(encoding?: string): string;
849
983
  digest(): byte[];
850
984
  Dispose(): void;
985
+ Finalize(): void;
851
986
  update(data: string, inputEncoding?: string): Hmac;
852
987
  update(data: byte[]): Hmac;
853
988
  }
854
989
 
855
990
 
856
991
  export const Hmac: {
857
- new(): Hmac;
858
992
  };
859
993
 
860
994
 
861
995
  export type Hmac = Hmac$instance;
862
996
 
863
997
  export interface Immediate$instance {
998
+ readonly __tsonic_iface_System_IDisposable: never;
999
+
864
1000
  Dispose(): void;
865
1001
  hasRef(): boolean;
866
1002
  ref(): Immediate;
@@ -869,7 +1005,6 @@ export interface Immediate$instance {
869
1005
 
870
1006
 
871
1007
  export const Immediate: {
872
- new(): Immediate;
873
1008
  };
874
1009
 
875
1010
 
@@ -892,7 +1027,6 @@ export interface Interface$instance extends EventEmitter {
892
1027
 
893
1028
 
894
1029
  export const Interface: {
895
- new(): Interface;
896
1030
  };
897
1031
 
898
1032
 
@@ -901,13 +1035,14 @@ export type Interface = Interface$instance;
901
1035
  export interface InterfaceOptions$instance {
902
1036
  escapeCodeTimeout: Nullable<System_Internal.Int32>;
903
1037
  get history(): string[] | undefined;
904
- set history(value: string[]);
1038
+ set history(value: string[] | undefined);
905
1039
  historySize: Nullable<System_Internal.Int32>;
906
1040
  get input(): Readable | undefined;
907
- set input(value: Readable);
908
- output: Writable;
1041
+ set input(value: Readable | undefined);
1042
+ get output(): Writable | undefined;
1043
+ set output(value: Writable | undefined);
909
1044
  get prompt(): string | undefined;
910
- set prompt(value: string);
1045
+ set prompt(value: string | undefined);
911
1046
  removeHistoryDuplicates: Nullable<System_Internal.Boolean>;
912
1047
  tabSize: Nullable<System_Internal.Int32>;
913
1048
  terminal: Nullable<System_Internal.Boolean>;
@@ -934,6 +1069,8 @@ export const IpcSocketConnectOpts: {
934
1069
  export type IpcSocketConnectOpts = IpcSocketConnectOpts$instance;
935
1070
 
936
1071
  export interface KeyObject$instance {
1072
+ readonly __tsonic_iface_System_IDisposable: never;
1073
+
937
1074
  readonly asymmetricKeyType: string | undefined;
938
1075
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
939
1076
  readonly type: string;
@@ -942,7 +1079,7 @@ export interface KeyObject$instance {
942
1079
  }
943
1080
 
944
1081
 
945
- export const KeyObject: {
1082
+ export const KeyObject: (abstract new() => KeyObject) & {
946
1083
  };
947
1084
 
948
1085
 
@@ -950,9 +1087,11 @@ export type KeyObject = KeyObject$instance;
950
1087
 
951
1088
  export interface ListenOptions$instance {
952
1089
  backlog: Nullable<System_Internal.Int32>;
953
- host: string;
1090
+ get host(): string | undefined;
1091
+ set host(value: string | undefined);
954
1092
  ipv6Only: Nullable<System_Internal.Boolean>;
955
- path: string;
1093
+ get path(): string | undefined;
1094
+ set path(value: string | undefined);
956
1095
  port: Nullable<System_Internal.Int32>;
957
1096
  }
958
1097
 
@@ -979,10 +1118,11 @@ export type LookupAddress = LookupAddress$instance;
979
1118
 
980
1119
  export interface LookupOptions$instance {
981
1120
  all: Nullable<System_Internal.Boolean>;
982
- family: unknown;
1121
+ get family(): unknown | undefined;
1122
+ set family(value: unknown | undefined);
983
1123
  hints: Nullable<System_Internal.Int32>;
984
1124
  get order(): string | undefined;
985
- set order(value: string);
1125
+ set order(value: string | undefined);
986
1126
  verbatim: Nullable<System_Internal.Boolean>;
987
1127
  }
988
1128
 
@@ -994,9 +1134,22 @@ export const LookupOptions: {
994
1134
 
995
1135
  export type LookupOptions = LookupOptions$instance;
996
1136
 
1137
+ export interface LookupServiceResult$instance {
1138
+ hostname: string;
1139
+ service: string;
1140
+ }
1141
+
1142
+
1143
+ export const LookupServiceResult: {
1144
+ new(): LookupServiceResult;
1145
+ };
1146
+
1147
+
1148
+ export type LookupServiceResult = LookupServiceResult$instance;
1149
+
997
1150
  export interface MarkOptions$instance {
998
1151
  get detail(): unknown | undefined;
999
- set detail(value: unknown);
1152
+ set detail(value: unknown | undefined);
1000
1153
  startTime: Nullable<System_Internal.Double>;
1001
1154
  }
1002
1155
 
@@ -1010,13 +1163,13 @@ export type MarkOptions = MarkOptions$instance;
1010
1163
 
1011
1164
  export interface MeasureOptions$instance {
1012
1165
  get detail(): unknown | undefined;
1013
- set detail(value: unknown);
1166
+ set detail(value: unknown | undefined);
1014
1167
  end: Nullable<System_Internal.Double>;
1015
1168
  get endMark(): string | undefined;
1016
- set endMark(value: string);
1169
+ set endMark(value: string | undefined);
1017
1170
  start: Nullable<System_Internal.Double>;
1018
1171
  get startMark(): string | undefined;
1019
- set startMark(value: string);
1172
+ set startMark(value: string | undefined);
1020
1173
  }
1021
1174
 
1022
1175
 
@@ -1074,6 +1227,8 @@ export const ParsedPath: {
1074
1227
  export type ParsedPath = ParsedPath$instance;
1075
1228
 
1076
1229
  export interface PassThrough$instance extends Transform {
1230
+ _transform(chunk: unknown, encoding: string, callback: Action<Exception, unknown>): void;
1231
+ _transform(chunk: unknown, encoding: string, callback: Action<Exception, unknown>): void;
1077
1232
  }
1078
1233
 
1079
1234
 
@@ -1105,7 +1260,6 @@ export interface PathModule$instance {
1105
1260
 
1106
1261
 
1107
1262
  export const PathModule: {
1108
- new(): PathModule;
1109
1263
  readonly Instance: PathModule;
1110
1264
  };
1111
1265
 
@@ -1115,16 +1269,17 @@ export type PathModule = PathModule$instance;
1115
1269
  export interface PeerCertificate$instance {
1116
1270
  ca: boolean;
1117
1271
  get ext_key_usage(): string[] | undefined;
1118
- set ext_key_usage(value: string[]);
1272
+ set ext_key_usage(value: string[] | undefined);
1119
1273
  fingerprint: string;
1120
1274
  fingerprint256: string;
1121
1275
  fingerprint512: string;
1122
1276
  issuer: TLSCertificateInfo;
1123
- raw: byte[];
1277
+ get raw(): byte[] | undefined;
1278
+ set raw(value: byte[] | undefined);
1124
1279
  serialNumber: string;
1125
1280
  subject: TLSCertificateInfo;
1126
1281
  get subjectaltname(): string | undefined;
1127
- set subjectaltname(value: string);
1282
+ set subjectaltname(value: string | undefined);
1128
1283
  valid_from: string;
1129
1284
  valid_to: string;
1130
1285
  }
@@ -1146,7 +1301,6 @@ export interface PerformanceEntry$instance {
1146
1301
 
1147
1302
 
1148
1303
  export const PerformanceEntry: {
1149
- new(): PerformanceEntry;
1150
1304
  };
1151
1305
 
1152
1306
 
@@ -1208,7 +1362,7 @@ export type PerformanceObserverEntryList = PerformanceObserverEntryList$instance
1208
1362
  export interface PerformanceObserverOptions$instance {
1209
1363
  buffered: boolean;
1210
1364
  get entryTypes(): string[] | undefined;
1211
- set entryTypes(value: string[]);
1365
+ set entryTypes(value: string[] | undefined);
1212
1366
  }
1213
1367
 
1214
1368
 
@@ -1220,6 +1374,8 @@ export const PerformanceObserverOptions: {
1220
1374
  export type PerformanceObserverOptions = PerformanceObserverOptions$instance;
1221
1375
 
1222
1376
  export interface PrivateKeyObject$instance extends KeyObject {
1377
+ readonly __tsonic_iface_System_IDisposable: never;
1378
+
1223
1379
  readonly asymmetricKeyType: string | undefined;
1224
1380
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
1225
1381
  readonly type: string;
@@ -1230,17 +1386,20 @@ export interface PrivateKeyObject$instance extends KeyObject {
1230
1386
 
1231
1387
 
1232
1388
  export const PrivateKeyObject: {
1233
- new(): PrivateKeyObject;
1234
1389
  };
1235
1390
 
1236
1391
 
1237
1392
  export type PrivateKeyObject = PrivateKeyObject$instance;
1238
1393
 
1239
1394
  export interface ProcessEnv$instance {
1395
+ readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
1396
+ readonly __tsonic_iface_System_Collections_Generic_IDictionary_2: never;
1397
+ readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
1398
+ readonly __tsonic_iface_System_Collections_IEnumerable: never;
1399
+
1240
1400
  readonly Count: int;
1241
1401
  readonly IsReadOnly: boolean;
1242
- get Item(): string | undefined;
1243
- set Item(value: string);
1402
+ [key: string]: string | undefined;
1244
1403
  readonly Keys: ICollection<System_Internal.String>;
1245
1404
  readonly Values: ICollection<string | undefined>;
1246
1405
  Add(key: string, value: string): void;
@@ -1279,6 +1438,8 @@ export const ProcessVersions: {
1279
1438
  export type ProcessVersions = ProcessVersions$instance;
1280
1439
 
1281
1440
  export interface PublicKeyObject$instance extends KeyObject {
1441
+ readonly __tsonic_iface_System_IDisposable: never;
1442
+
1282
1443
  readonly asymmetricKeyType: string | undefined;
1283
1444
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
1284
1445
  readonly type: string;
@@ -1289,18 +1450,18 @@ export interface PublicKeyObject$instance extends KeyObject {
1289
1450
 
1290
1451
 
1291
1452
  export const PublicKeyObject: {
1292
- new(): PublicKeyObject;
1293
1453
  };
1294
1454
 
1295
1455
 
1296
1456
  export type PublicKeyObject = PublicKeyObject$instance;
1297
1457
 
1298
1458
  export interface Readable$instance extends Stream {
1299
- readonly destroyed: boolean;
1459
+ destroyed: boolean;
1300
1460
  readonly readable: boolean;
1301
1461
  readonly readableEnded: boolean;
1302
1462
  readonly readableFlowing: Nullable<System_Internal.Boolean>;
1303
1463
  readonly readableLength: int;
1464
+ _read(size: int): void;
1304
1465
  destroy(error?: Exception): void;
1305
1466
  isPaused(): boolean;
1306
1467
  pause(): Readable;
@@ -1320,6 +1481,20 @@ export const Readable: {
1320
1481
 
1321
1482
  export type Readable = Readable$instance;
1322
1483
 
1484
+ export interface ReadlinePromises$instance {
1485
+ createInterface(options: InterfaceOptions): Interface;
1486
+ createInterface(input: Readable, output?: Writable): Interface;
1487
+ question(rl: Interface, query: string): Task<System_Internal.String>;
1488
+ }
1489
+
1490
+
1491
+ export const ReadlinePromises: {
1492
+ new(): ReadlinePromises;
1493
+ };
1494
+
1495
+
1496
+ export type ReadlinePromises = ReadlinePromises$instance;
1497
+
1323
1498
  export interface RecordWithTtl$instance {
1324
1499
  address: string;
1325
1500
  ttl: int;
@@ -1409,6 +1584,8 @@ export const ResolverOptions: {
1409
1584
  export type ResolverOptions = ResolverOptions$instance;
1410
1585
 
1411
1586
  export interface SecretKeyObject$instance extends KeyObject {
1587
+ readonly __tsonic_iface_System_IDisposable: never;
1588
+
1412
1589
  readonly asymmetricKeyType: string | undefined;
1413
1590
  readonly symmetricKeySize: Nullable<System_Internal.Int32>;
1414
1591
  readonly type: string;
@@ -1419,7 +1596,6 @@ export interface SecretKeyObject$instance extends KeyObject {
1419
1596
 
1420
1597
 
1421
1598
  export const SecretKeyObject: {
1422
- new(): SecretKeyObject;
1423
1599
  };
1424
1600
 
1425
1601
 
@@ -1429,7 +1605,7 @@ export interface SecureContext$instance {
1429
1605
  readonly CACertificates: X509Certificate2Collection | undefined;
1430
1606
  readonly Certificate: X509Certificate2 | undefined;
1431
1607
  get context(): unknown | undefined;
1432
- set context(value: unknown);
1608
+ set context(value: unknown | undefined);
1433
1609
  readonly Protocols: SslProtocols;
1434
1610
  LoadCACertificates(ca: unknown): void;
1435
1611
  LoadCertificate(cert: unknown, key: unknown, passphrase: string): void;
@@ -1446,21 +1622,21 @@ export type SecureContext = SecureContext$instance;
1446
1622
 
1447
1623
  export interface SecureContextOptions$instance {
1448
1624
  get ca(): unknown | undefined;
1449
- set ca(value: unknown);
1625
+ set ca(value: unknown | undefined);
1450
1626
  get cert(): unknown | undefined;
1451
- set cert(value: unknown);
1627
+ set cert(value: unknown | undefined);
1452
1628
  get ciphers(): string | undefined;
1453
- set ciphers(value: string);
1629
+ set ciphers(value: string | undefined);
1454
1630
  get key(): unknown | undefined;
1455
- set key(value: unknown);
1631
+ set key(value: unknown | undefined);
1456
1632
  get maxVersion(): string | undefined;
1457
- set maxVersion(value: string);
1633
+ set maxVersion(value: string | undefined);
1458
1634
  get minVersion(): string | undefined;
1459
- set minVersion(value: string);
1635
+ set minVersion(value: string | undefined);
1460
1636
  get passphrase(): string | undefined;
1461
- set passphrase(value: string);
1637
+ set passphrase(value: string | undefined);
1462
1638
  get pfx(): unknown | undefined;
1463
- set pfx(value: unknown);
1639
+ set pfx(value: unknown | undefined);
1464
1640
  }
1465
1641
 
1466
1642
 
@@ -1474,7 +1650,7 @@ export type SecureContextOptions = SecureContextOptions$instance;
1474
1650
  export interface Server$instance extends EventEmitter {
1475
1651
  readonly listening: boolean;
1476
1652
  maxConnections: int;
1477
- address(): unknown;
1653
+ address(): unknown | undefined;
1478
1654
  close(callback?: Action<Exception>): Server;
1479
1655
  getConnections(callback: Action<Exception, System_Internal.Int32>): void;
1480
1656
  listen(port: int, hostname: string, backlog: int, listeningListener?: Action): Server;
@@ -1511,6 +1687,7 @@ export type ServerOpts = ServerOpts$instance;
1511
1687
 
1512
1688
  export interface Sign$instance extends Transform {
1513
1689
  Dispose(): void;
1690
+ Finalize(): void;
1514
1691
  sign(privateKey: string, outputEncoding?: string): string;
1515
1692
  sign(privateKey: string): byte[];
1516
1693
  sign(privateKey: unknown, outputEncoding?: string): string;
@@ -1521,7 +1698,6 @@ export interface Sign$instance extends Transform {
1521
1698
 
1522
1699
 
1523
1700
  export const Sign: {
1524
- new(): Sign;
1525
1701
  };
1526
1702
 
1527
1703
 
@@ -1546,17 +1722,21 @@ export const SoaRecord: {
1546
1722
  export type SoaRecord = SoaRecord$instance;
1547
1723
 
1548
1724
  export interface Socket$instance extends Stream {
1549
- readonly bytesRead: long;
1550
- readonly bytesWritten: long;
1725
+ bytesRead: long;
1726
+ bytesWritten: long;
1551
1727
  readonly connecting: boolean;
1552
1728
  readonly destroyed: boolean;
1553
- readonly localAddress: string | undefined;
1554
- readonly localFamily: string | undefined;
1555
- readonly localPort: Nullable<System_Internal.Int32>;
1729
+ get localAddress(): string | undefined;
1730
+ set localAddress(value: string | undefined);
1731
+ get localFamily(): string | undefined;
1732
+ set localFamily(value: string | undefined);
1733
+ localPort: Nullable<System_Internal.Int32>;
1556
1734
  readonly readyState: string;
1557
- readonly remoteAddress: string | undefined;
1558
- readonly remoteFamily: string | undefined;
1559
- readonly remotePort: Nullable<System_Internal.Int32>;
1735
+ get remoteAddress(): string | undefined;
1736
+ set remoteAddress(value: string | undefined);
1737
+ get remoteFamily(): string | undefined;
1738
+ set remoteFamily(value: string | undefined);
1739
+ remotePort: Nullable<System_Internal.Int32>;
1560
1740
  address(): unknown;
1561
1741
  connect(port: int, host?: string, connectionListener?: Action): Socket;
1562
1742
  connect(options: TcpSocketConnectOpts, connectionListener?: Action): Socket;
@@ -1590,10 +1770,10 @@ export const Socket: {
1590
1770
  export type Socket = Socket$instance;
1591
1771
 
1592
1772
  export interface SocketAddress$instance {
1593
- readonly address: string;
1594
- readonly family: string;
1595
- readonly flowlabel: Nullable<System_Internal.Int32>;
1596
- readonly port: int;
1773
+ address: string;
1774
+ family: string;
1775
+ flowlabel: Nullable<System_Internal.Int32>;
1776
+ port: int;
1597
1777
  }
1598
1778
 
1599
1779
 
@@ -1605,8 +1785,10 @@ export const SocketAddress: {
1605
1785
  export type SocketAddress = SocketAddress$instance;
1606
1786
 
1607
1787
  export interface SocketAddressInitOptions$instance {
1608
- address: string;
1609
- family: string;
1788
+ get address(): string | undefined;
1789
+ set address(value: string | undefined);
1790
+ get family(): string | undefined;
1791
+ set family(value: string | undefined);
1610
1792
  flowlabel: Nullable<System_Internal.Int32>;
1611
1793
  port: Nullable<System_Internal.Int32>;
1612
1794
  }
@@ -1653,11 +1835,11 @@ export type SocketOptions = SocketOptions$instance;
1653
1835
 
1654
1836
  export interface SpawnSyncReturns_1$instance<T> {
1655
1837
  get error(): Exception | undefined;
1656
- set error(value: Exception);
1838
+ set error(value: Exception | undefined);
1657
1839
  output: (T | undefined)[];
1658
1840
  pid: int;
1659
1841
  get signal(): string | undefined;
1660
- set signal(value: string);
1842
+ set signal(value: string | undefined);
1661
1843
  status: Nullable<System_Internal.Int32>;
1662
1844
  stderr: T;
1663
1845
  stdout: T;
@@ -1725,6 +1907,19 @@ export const Stream: {
1725
1907
 
1726
1908
  export type Stream = Stream$instance;
1727
1909
 
1910
+ export interface StreamPromises$instance {
1911
+ finished(streamValue: Stream): Task;
1912
+ pipeline(...streams: Stream[]): Task;
1913
+ }
1914
+
1915
+
1916
+ export const StreamPromises: {
1917
+ new(): StreamPromises;
1918
+ };
1919
+
1920
+
1921
+ export type StreamPromises = StreamPromises$instance;
1922
+
1728
1923
  export interface StringDecoder$instance {
1729
1924
  end(buffer?: byte[]): string;
1730
1925
  write(buffer: byte[]): string;
@@ -1741,11 +1936,12 @@ export type StringDecoder = StringDecoder$instance;
1741
1936
  export interface TcpSocketConnectOpts$instance {
1742
1937
  family: Nullable<System_Internal.Int32>;
1743
1938
  hints: Nullable<System_Internal.Int32>;
1744
- host: string;
1939
+ get host(): string | undefined;
1940
+ set host(value: string | undefined);
1745
1941
  keepAlive: Nullable<System_Internal.Boolean>;
1746
1942
  keepAliveInitialDelay: Nullable<System_Internal.Int32>;
1747
1943
  get localAddress(): string | undefined;
1748
- set localAddress(value: string);
1944
+ set localAddress(value: string | undefined);
1749
1945
  localPort: Nullable<System_Internal.Int32>;
1750
1946
  noDelay: Nullable<System_Internal.Boolean>;
1751
1947
  port: int;
@@ -1760,6 +1956,8 @@ export const TcpSocketConnectOpts: {
1760
1956
  export type TcpSocketConnectOpts = TcpSocketConnectOpts$instance;
1761
1957
 
1762
1958
  export interface Timeout$instance {
1959
+ readonly __tsonic_iface_System_IDisposable: never;
1960
+
1763
1961
  close(): void;
1764
1962
  Dispose(): void;
1765
1963
  hasRef(): boolean;
@@ -1770,12 +1968,39 @@ export interface Timeout$instance {
1770
1968
 
1771
1969
 
1772
1970
  export const Timeout: {
1773
- new(): Timeout;
1774
1971
  };
1775
1972
 
1776
1973
 
1777
1974
  export type Timeout = Timeout$instance;
1778
1975
 
1976
+ export interface TimersPromises$instance {
1977
+ readonly scheduler: TimersScheduler;
1978
+ setImmediate(value?: unknown): Task<unknown | undefined>;
1979
+ setInterval(delay?: int, value?: unknown): IAsyncEnumerable<unknown | undefined>;
1980
+ setTimeout(delay?: int, value?: unknown): Task<unknown | undefined>;
1981
+ }
1982
+
1983
+
1984
+ export const TimersPromises: {
1985
+ new(): TimersPromises;
1986
+ };
1987
+
1988
+
1989
+ export type TimersPromises = TimersPromises$instance;
1990
+
1991
+ export interface TimersScheduler$instance {
1992
+ wait(delay?: int): Task;
1993
+ yield(): Task;
1994
+ }
1995
+
1996
+
1997
+ export const TimersScheduler: {
1998
+ new(): TimersScheduler;
1999
+ };
2000
+
2001
+
2002
+ export type TimersScheduler = TimersScheduler$instance;
2003
+
1779
2004
  export interface TlsaRecord$instance {
1780
2005
  certUsage: int;
1781
2006
  data: byte[];
@@ -1811,14 +2036,14 @@ export type TLSCertificateInfo = TLSCertificateInfo$instance;
1811
2036
  export interface TlsOptions$instance extends CommonConnectionOptions {
1812
2037
  allowHalfOpen: Nullable<System_Internal.Boolean>;
1813
2038
  get ca(): unknown | undefined;
1814
- set ca(value: unknown);
2039
+ set ca(value: unknown | undefined);
1815
2040
  get cert(): unknown | undefined;
1816
- set cert(value: unknown);
2041
+ set cert(value: unknown | undefined);
1817
2042
  handshakeTimeout: Nullable<System_Internal.Int32>;
1818
2043
  get key(): unknown | undefined;
1819
- set key(value: unknown);
2044
+ set key(value: unknown | undefined);
1820
2045
  get passphrase(): string | undefined;
1821
- set passphrase(value: string);
2046
+ set passphrase(value: string | undefined);
1822
2047
  pauseOnConnect: Nullable<System_Internal.Boolean>;
1823
2048
  sessionTimeout: Nullable<System_Internal.Int32>;
1824
2049
  }
@@ -1888,18 +2113,18 @@ export type TLSSocket = TLSSocket$instance;
1888
2113
 
1889
2114
  export interface TLSSocketOptions$instance extends CommonConnectionOptions {
1890
2115
  get ca(): unknown | undefined;
1891
- set ca(value: unknown);
2116
+ set ca(value: unknown | undefined);
1892
2117
  get cert(): unknown | undefined;
1893
- set cert(value: unknown);
2118
+ set cert(value: unknown | undefined);
1894
2119
  isServer: Nullable<System_Internal.Boolean>;
1895
2120
  get key(): unknown | undefined;
1896
- set key(value: unknown);
2121
+ set key(value: unknown | undefined);
1897
2122
  get passphrase(): string | undefined;
1898
- set passphrase(value: string);
2123
+ set passphrase(value: string | undefined);
1899
2124
  get server(): Server | undefined;
1900
- set server(value: Server);
2125
+ set server(value: Server | undefined);
1901
2126
  get servername(): string | undefined;
1902
- set servername(value: string);
2127
+ set servername(value: string | undefined);
1903
2128
  }
1904
2129
 
1905
2130
 
@@ -1911,6 +2136,9 @@ export const TLSSocketOptions: {
1911
2136
  export type TLSSocketOptions = TLSSocketOptions$instance;
1912
2137
 
1913
2138
  export interface Transform$instance extends Duplex {
2139
+ _flush(callback: Action<Exception>): void;
2140
+ _transform(chunk: unknown, encoding: string, callback: Action<Exception, unknown>): void;
2141
+ _write(chunk: unknown, encoding: string, callback: Action): void;
1914
2142
  }
1915
2143
 
1916
2144
 
@@ -1948,6 +2176,19 @@ export const URL: {
1948
2176
 
1949
2177
  export type URL = URL$instance;
1950
2178
 
2179
+ export interface URLPattern$instance {
2180
+ exec(input: string): Dictionary<System_Internal.String, System_Internal.String> | undefined;
2181
+ test(input: string): boolean;
2182
+ }
2183
+
2184
+
2185
+ export const URLPattern: {
2186
+ new(pattern: string): URLPattern;
2187
+ };
2188
+
2189
+
2190
+ export type URLPattern = URLPattern$instance;
2191
+
1951
2192
  export interface URLSearchParams$instance {
1952
2193
  readonly size: int;
1953
2194
  append(name: string, value: string): void;
@@ -1976,7 +2217,7 @@ export interface UserInfo$instance {
1976
2217
  gid: int;
1977
2218
  homedir: string;
1978
2219
  get shell(): string | undefined;
1979
- set shell(value: string);
2220
+ set shell(value: string | undefined);
1980
2221
  uid: int;
1981
2222
  username: string;
1982
2223
  }
@@ -1991,6 +2232,7 @@ export type UserInfo = UserInfo$instance;
1991
2232
 
1992
2233
  export interface Verify$instance extends Transform {
1993
2234
  Dispose(): void;
2235
+ Finalize(): void;
1994
2236
  update(data: string, inputEncoding?: string): Verify;
1995
2237
  update(data: byte[]): Verify;
1996
2238
  verify(publicKey: string, signature: string, signatureEncoding?: string): boolean;
@@ -2001,18 +2243,19 @@ export interface Verify$instance extends Transform {
2001
2243
 
2002
2244
 
2003
2245
  export const Verify: {
2004
- new(): Verify;
2005
2246
  };
2006
2247
 
2007
2248
 
2008
2249
  export type Verify = Verify$instance;
2009
2250
 
2010
2251
  export interface Writable$instance extends Stream {
2011
- readonly destroyed: boolean;
2252
+ destroyed: boolean;
2012
2253
  readonly writable: boolean;
2013
2254
  readonly writableCorked: boolean;
2014
2255
  readonly writableEnded: boolean;
2015
2256
  readonly writableLength: int;
2257
+ _final(callback: Action): void;
2258
+ _write(chunk: unknown, encoding: string, callback: Action): void;
2016
2259
  cork(): void;
2017
2260
  destroy(error?: Exception): void;
2018
2261
  end(chunk?: unknown, encoding?: string, callback?: Action): void;
@@ -2050,7 +2293,6 @@ export interface X509CertificateInfo$instance {
2050
2293
 
2051
2294
 
2052
2295
  export const X509CertificateInfo: {
2053
- new(): X509CertificateInfo;
2054
2296
  };
2055
2297
 
2056
2298
 
@@ -2077,6 +2319,7 @@ export abstract class assert$instance {
2077
2319
  static deepEqual(actual: unknown, expected: unknown, message?: string): void;
2078
2320
  static deepStrictEqual(actual: unknown, expected: unknown, message?: string): void;
2079
2321
  static doesNotMatch(string: string, regexp: Regex, message?: string): void;
2322
+ static doesNotReject(fn: Func<Task>, message?: string): Task;
2080
2323
  static doesNotThrow(fn: Action, message?: string): void;
2081
2324
  static equal(actual: unknown, expected: unknown, message?: string): void;
2082
2325
  static fail(message?: string): void;
@@ -2087,6 +2330,8 @@ export abstract class assert$instance {
2087
2330
  static notEqual(actual: unknown, expected: unknown, message?: string): void;
2088
2331
  static notStrictEqual(actual: unknown, expected: unknown, message?: string): void;
2089
2332
  static ok(value: boolean, message?: string): void;
2333
+ static rejects(fn: Func<Task>, message?: string): Task;
2334
+ static strict(actual: unknown, expected: unknown, message?: string): void;
2090
2335
  static strictEqual(actual: unknown, expected: unknown, message?: string): void;
2091
2336
  static throws(fn: Action, message?: string): void;
2092
2337
  }
@@ -2094,6 +2339,25 @@ export abstract class assert$instance {
2094
2339
 
2095
2340
  export type assert = assert$instance;
2096
2341
 
2342
+ export abstract class buffer$instance {
2343
+ static INSPECT_MAX_BYTES: int;
2344
+ static readonly constants: BufferConstants;
2345
+ static readonly kMaxLength: int;
2346
+ static readonly kStringMaxLength: int;
2347
+ static atob(data: string): string;
2348
+ static btoa(data: string): string;
2349
+ static isAscii(value: Buffer): boolean;
2350
+ static isAscii(value: byte[]): boolean;
2351
+ static isUtf8(value: Buffer): boolean;
2352
+ static isUtf8(value: byte[]): boolean;
2353
+ static resolveObjectURL(id: string): unknown | undefined;
2354
+ static SlowBuffer(size: int): Buffer;
2355
+ static transcode(source: Buffer, fromEncoding: string, toEncoding: string): Buffer;
2356
+ }
2357
+
2358
+
2359
+ export type buffer = buffer$instance;
2360
+
2097
2361
  export abstract class Certificate$instance {
2098
2362
  static exportChallenge(spkac: byte[]): byte[];
2099
2363
  static exportChallenge(spkac: string): byte[];
@@ -2123,6 +2387,7 @@ export abstract class child_process$instance {
2123
2387
  export type child_process = child_process$instance;
2124
2388
 
2125
2389
  export abstract class console$instance {
2390
+ static readonly Console: ConsoleConstructor;
2126
2391
  static assert(value: boolean, message?: string, ...optionalParams: unknown[]): void;
2127
2392
  static clear(): void;
2128
2393
  static count(label?: string): void;
@@ -2255,6 +2520,7 @@ export abstract class dns$instance {
2255
2520
  static readonly LOADIPHLPAPI: string;
2256
2521
  static readonly ADDRGETNETWORKPARAMS: string;
2257
2522
  static readonly CANCELLED: string;
2523
+ static readonly promises: DnsPromises;
2258
2524
  static getDefaultResultOrder(): string;
2259
2525
  static getServers(): string[];
2260
2526
  static lookup(hostname: string, options: LookupOptions, callback: Action<Exception, LookupAddress[]>): void;
@@ -2287,7 +2553,25 @@ export abstract class dns$instance {
2287
2553
 
2288
2554
  export type dns = dns$instance;
2289
2555
 
2556
+ export abstract class events$instance {
2557
+ static readonly captureRejectionSymbol: string;
2558
+ static captureRejections: boolean;
2559
+ static defaultMaxListeners: int;
2560
+ static readonly errorMonitor: string;
2561
+ static addAbortListener(signal: unknown, listener: Action): Action;
2562
+ static getEventListeners(emitter: EventEmitter, eventName: string): Function[];
2563
+ static getMaxListeners(emitter: EventEmitter): int;
2564
+ static listenerCount(emitter: EventEmitter, eventName: string): int;
2565
+ static on(emitter: EventEmitter, eventName: string): IAsyncEnumerable<(unknown | undefined)[]>;
2566
+ static once(emitter: EventEmitter, eventName: string): Task<(unknown | undefined)[]>;
2567
+ static setMaxListeners(n: int, ...emitters: EventEmitter[]): void;
2568
+ }
2569
+
2570
+
2571
+ export type events = events$instance;
2572
+
2290
2573
  export abstract class fs$instance {
2574
+ static readonly promises: FsPromises;
2291
2575
  static access(path: string, mode?: int): Task;
2292
2576
  static accessSync(path: string, mode?: int): void;
2293
2577
  static appendFile(path: string, data: string, encoding?: string): Task;
@@ -2378,6 +2662,7 @@ export abstract class os$instance {
2378
2662
  static homedir(): string;
2379
2663
  static hostname(): string;
2380
2664
  static loadavg(): double[];
2665
+ static machine(): string;
2381
2666
  static platform(): string;
2382
2667
  static release(): string;
2383
2668
  static tmpdir(): string;
@@ -2385,6 +2670,7 @@ export abstract class os$instance {
2385
2670
  static type(): string;
2386
2671
  static uptime(): long;
2387
2672
  static userInfo(): UserInfo;
2673
+ static version(): string;
2388
2674
  }
2389
2675
 
2390
2676
 
@@ -2460,12 +2746,14 @@ export abstract class querystring$instance {
2460
2746
  export type querystring = querystring$instance;
2461
2747
 
2462
2748
  export abstract class readline$instance {
2749
+ static readonly promises: ReadlinePromises;
2463
2750
  static clearLine(stream: Writable, dir: int, callback?: Action): boolean;
2464
2751
  static clearScreenDown(stream: Writable, callback?: Action): boolean;
2465
2752
  static createAsyncIterator(input: Readable, options?: InterfaceOptions): IAsyncEnumerable<System_Internal.String>;
2466
2753
  static createInterface(options: InterfaceOptions): Interface;
2467
2754
  static createInterface(input: Readable, output?: Writable): Interface;
2468
2755
  static cursorTo(stream: Writable, x: int, y?: Nullable<System_Internal.Int32>, callback?: Action): boolean;
2756
+ static emitKeypressEvents(stream: Readable, rl?: Interface): void;
2469
2757
  static moveCursor(stream: Writable, dx: int, dy: int, callback?: Action): boolean;
2470
2758
  }
2471
2759
 
@@ -2473,6 +2761,7 @@ export abstract class readline$instance {
2473
2761
  export type readline = readline$instance;
2474
2762
 
2475
2763
  export abstract class stream$instance {
2764
+ static readonly promises: StreamPromises;
2476
2765
  static finished(stream: Stream, callback: Action<Exception>): void;
2477
2766
  static finished(stream: Stream): Task;
2478
2767
  static pipeline(...streams: unknown[]): void;
@@ -2482,6 +2771,7 @@ export abstract class stream$instance {
2482
2771
  export type stream = stream$instance;
2483
2772
 
2484
2773
  export abstract class timers$instance {
2774
+ static readonly promises: TimersPromises;
2485
2775
  static clearImmediate(immediate: Immediate): void;
2486
2776
  static clearInterval(timeout: Timeout): void;
2487
2777
  static clearTimeout(timeout: Timeout): void;
@@ -2517,15 +2807,35 @@ export abstract class tls$instance {
2517
2807
 
2518
2808
  export type tls = tls$instance;
2519
2809
 
2810
+ export abstract class url$instance {
2811
+ static domainToASCII(domain: string): string;
2812
+ static domainToUnicode(domain: string): string;
2813
+ static fileURLToPath(fileUrl: URL): string;
2814
+ static fileURLToPath(fileUrl: string): string;
2815
+ static fileURLToPathBuffer(fileUrl: URL): Buffer;
2816
+ static fileURLToPathBuffer(fileUrl: string): Buffer;
2817
+ static format(input: unknown): string;
2818
+ static parse(input: string): URL | undefined;
2819
+ static pathToFileURL(filePath: string): URL;
2820
+ static resolve(from: string, to: string): string;
2821
+ static urlToHttpOptions(input: URL): Dictionary<System_Internal.String, unknown | undefined>;
2822
+ }
2823
+
2824
+
2825
+ export type url = url$instance;
2826
+
2520
2827
  export abstract class util$instance {
2521
2828
  static debuglog(section: string): DebugLogFunction;
2522
2829
  static deprecate<TResult>(fn: Func<TResult>, msg: string, code?: string): Func<TResult>;
2523
2830
  static deprecate(action: Action, msg: string, code?: string): Action;
2524
2831
  static format(format: unknown, ...args: unknown[]): string;
2832
+ static formatWithOptions(inspectOptions: unknown, formatValue: unknown, ...args: unknown[]): string;
2525
2833
  static inherits(constructor: unknown, superConstructor: unknown): void;
2526
2834
  static inspect(obj: unknown): string;
2527
2835
  static isArray(obj: unknown): boolean;
2528
2836
  static isDeepStrictEqual(val1: unknown, val2: unknown): boolean;
2837
+ static stripVTControlCharacters(input: string): string;
2838
+ static toUSVString(input: string): string;
2529
2839
  }
2530
2840
 
2531
2841