@types/node 16.11.20 → 16.11.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
node v16.11/README.md CHANGED
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 17 Jan 2022 09:01:28 GMT
11
+ * Last updated: Thu, 10 Feb 2022 10:01:31 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
15
15
  # Credits
16
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
16
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Seth Westphal](https://github.com/westy92), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
node v16.11/buffer.d.ts CHANGED
@@ -909,6 +909,11 @@ declare module 'buffer' {
909
909
  * @return `offset` plus the number of bytes written.
910
910
  */
911
911
  writeBigUInt64BE(value: bigint, offset?: number): number;
912
+ /**
913
+ * @alias Buffer.writeBigUInt64BE
914
+ * @since v14.10.0, v12.19.0
915
+ */
916
+ writeBigUint64BE(value: bigint, offset?: number): number;
912
917
  /**
913
918
  * Writes `value` to `buf` at the specified `offset` as little-endian
914
919
  *
@@ -930,6 +935,11 @@ declare module 'buffer' {
930
935
  * @return `offset` plus the number of bytes written.
931
936
  */
932
937
  writeBigUInt64LE(value: bigint, offset?: number): number;
938
+ /**
939
+ * @alias Buffer.writeBigUInt64LE
940
+ * @since v14.10.0, v12.19.0
941
+ */
942
+ writeBigUint64LE(value: bigint, offset?: number): number;
933
943
  /**
934
944
  * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
935
945
  * when `value` is anything other than an unsigned integer.
@@ -953,6 +963,11 @@ declare module 'buffer' {
953
963
  * @return `offset` plus the number of bytes written.
954
964
  */
955
965
  writeUIntLE(value: number, offset: number, byteLength: number): number;
966
+ /**
967
+ * @alias Buffer.writeUIntLE
968
+ * @since v14.9.0, v12.19.0
969
+ */
970
+ writeUintLE(value: number, offset: number, byteLength: number): number;
956
971
  /**
957
972
  * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as big-endian. Supports up to 48 bits of accuracy. Behavior is undefined
958
973
  * when `value` is anything other than an unsigned integer.
@@ -976,6 +991,11 @@ declare module 'buffer' {
976
991
  * @return `offset` plus the number of bytes written.
977
992
  */
978
993
  writeUIntBE(value: number, offset: number, byteLength: number): number;
994
+ /**
995
+ * @alias Buffer.writeUIntBE
996
+ * @since v14.9.0, v12.19.0
997
+ */
998
+ writeUintBE(value: number, offset: number, byteLength: number): number;
979
999
  /**
980
1000
  * Writes `byteLength` bytes of `value` to `buf` at the specified `offset`as little-endian. Supports up to 48 bits of accuracy. Behavior is undefined
981
1001
  * when `value` is anything other than a signed integer.
@@ -1035,6 +1055,11 @@ declare module 'buffer' {
1035
1055
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
1036
1056
  */
1037
1057
  readBigUInt64BE(offset?: number): bigint;
1058
+ /**
1059
+ * @alias Buffer.readBigUInt64BE
1060
+ * @since v14.10.0, v12.19.0
1061
+ */
1062
+ readBigUint64BE(offset?: number): bigint;
1038
1063
  /**
1039
1064
  * Reads an unsigned, little-endian 64-bit integer from `buf` at the specified`offset`.
1040
1065
  *
@@ -1052,6 +1077,11 @@ declare module 'buffer' {
1052
1077
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy: `0 <= offset <= buf.length - 8`.
1053
1078
  */
1054
1079
  readBigUInt64LE(offset?: number): bigint;
1080
+ /**
1081
+ * @alias Buffer.readBigUInt64LE
1082
+ * @since v14.10.0, v12.19.0
1083
+ */
1084
+ readBigUint64LE(offset?: number): bigint;
1055
1085
  /**
1056
1086
  * Reads a signed, big-endian 64-bit integer from `buf` at the specified `offset`.
1057
1087
  *
@@ -1089,6 +1119,11 @@ declare module 'buffer' {
1089
1119
  * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
1090
1120
  */
1091
1121
  readUIntLE(offset: number, byteLength: number): number;
1122
+ /**
1123
+ * @alias Buffer.readUIntLE
1124
+ * @since v14.9.0, v12.19.0
1125
+ */
1126
+ readUintLE(offset: number, byteLength: number): number;
1092
1127
  /**
1093
1128
  * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as an unsigned big-endian integer supporting
1094
1129
  * up to 48 bits of accuracy.
@@ -1110,6 +1145,11 @@ declare module 'buffer' {
1110
1145
  * @param byteLength Number of bytes to read. Must satisfy `0 < byteLength <= 6`.
1111
1146
  */
1112
1147
  readUIntBE(offset: number, byteLength: number): number;
1148
+ /**
1149
+ * @alias Buffer.readUIntBE
1150
+ * @since v14.9.0, v12.19.0
1151
+ */
1152
+ readUintBE(offset: number, byteLength: number): number;
1113
1153
  /**
1114
1154
  * Reads `byteLength` number of bytes from `buf` at the specified `offset`and interprets the result as a little-endian, two's complement signed value
1115
1155
  * supporting up to 48 bits of accuracy.
@@ -1169,6 +1209,11 @@ declare module 'buffer' {
1169
1209
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 1`.
1170
1210
  */
1171
1211
  readUInt8(offset?: number): number;
1212
+ /**
1213
+ * @alias Buffer.readUInt8
1214
+ * @since v14.9.0, v12.19.0
1215
+ */
1216
+ readUint8(offset?: number): number;
1172
1217
  /**
1173
1218
  * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified`offset`.
1174
1219
  *
@@ -1190,6 +1235,11 @@ declare module 'buffer' {
1190
1235
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
1191
1236
  */
1192
1237
  readUInt16LE(offset?: number): number;
1238
+ /**
1239
+ * @alias Buffer.readUInt16LE
1240
+ * @since v14.9.0, v12.19.0
1241
+ */
1242
+ readUint16LE(offset?: number): number;
1193
1243
  /**
1194
1244
  * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified`offset`.
1195
1245
  *
@@ -1209,6 +1259,11 @@ declare module 'buffer' {
1209
1259
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 2`.
1210
1260
  */
1211
1261
  readUInt16BE(offset?: number): number;
1262
+ /**
1263
+ * @alias Buffer.readUInt16BE
1264
+ * @since v14.9.0, v12.19.0
1265
+ */
1266
+ readUint16BE(offset?: number): number;
1212
1267
  /**
1213
1268
  * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified`offset`.
1214
1269
  *
@@ -1228,6 +1283,11 @@ declare module 'buffer' {
1228
1283
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
1229
1284
  */
1230
1285
  readUInt32LE(offset?: number): number;
1286
+ /**
1287
+ * @alias Buffer.readUInt32LE
1288
+ * @since v14.9.0, v12.19.0
1289
+ */
1290
+ readUint32LE(offset?: number): number;
1231
1291
  /**
1232
1292
  * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified`offset`.
1233
1293
  *
@@ -1245,6 +1305,11 @@ declare module 'buffer' {
1245
1305
  * @param [offset=0] Number of bytes to skip before starting to read. Must satisfy `0 <= offset <= buf.length - 4`.
1246
1306
  */
1247
1307
  readUInt32BE(offset?: number): number;
1308
+ /**
1309
+ * @alias Buffer.readUInt32BE
1310
+ * @since v14.9.0, v12.19.0
1311
+ */
1312
+ readUint32BE(offset?: number): number;
1248
1313
  /**
1249
1314
  * Reads a signed 8-bit integer from `buf` at the specified `offset`.
1250
1315
  *
@@ -1517,6 +1582,11 @@ declare module 'buffer' {
1517
1582
  * @return `offset` plus the number of bytes written.
1518
1583
  */
1519
1584
  writeUInt8(value: number, offset?: number): number;
1585
+ /**
1586
+ * @alias Buffer.writeUInt8
1587
+ * @since v14.9.0, v12.19.0
1588
+ */
1589
+ writeUint8(value: number, offset?: number): number;
1520
1590
  /**
1521
1591
  * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value` is
1522
1592
  * anything other than an unsigned 16-bit integer.
@@ -1540,6 +1610,11 @@ declare module 'buffer' {
1540
1610
  * @return `offset` plus the number of bytes written.
1541
1611
  */
1542
1612
  writeUInt16LE(value: number, offset?: number): number;
1613
+ /**
1614
+ * @alias Buffer.writeUInt16LE
1615
+ * @since v14.9.0, v12.19.0
1616
+ */
1617
+ writeUint16LE(value: number, offset?: number): number;
1543
1618
  /**
1544
1619
  * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 16-bit integer. Behavior is undefined when `value`is anything other than an
1545
1620
  * unsigned 16-bit integer.
@@ -1563,6 +1638,11 @@ declare module 'buffer' {
1563
1638
  * @return `offset` plus the number of bytes written.
1564
1639
  */
1565
1640
  writeUInt16BE(value: number, offset?: number): number;
1641
+ /**
1642
+ * @alias Buffer.writeUInt16BE
1643
+ * @since v14.9.0, v12.19.0
1644
+ */
1645
+ writeUint16BE(value: number, offset?: number): number;
1566
1646
  /**
1567
1647
  * Writes `value` to `buf` at the specified `offset` as little-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value` is
1568
1648
  * anything other than an unsigned 32-bit integer.
@@ -1585,6 +1665,11 @@ declare module 'buffer' {
1585
1665
  * @return `offset` plus the number of bytes written.
1586
1666
  */
1587
1667
  writeUInt32LE(value: number, offset?: number): number;
1668
+ /**
1669
+ * @alias Buffer.writeUInt32LE
1670
+ * @since v14.9.0, v12.19.0
1671
+ */
1672
+ writeUint32LE(value: number, offset?: number): number;
1588
1673
  /**
1589
1674
  * Writes `value` to `buf` at the specified `offset` as big-endian. The `value`must be a valid unsigned 32-bit integer. Behavior is undefined when `value`is anything other than an
1590
1675
  * unsigned 32-bit integer.
@@ -1607,6 +1692,11 @@ declare module 'buffer' {
1607
1692
  * @return `offset` plus the number of bytes written.
1608
1693
  */
1609
1694
  writeUInt32BE(value: number, offset?: number): number;
1695
+ /**
1696
+ * @alias Buffer.writeUInt32BE
1697
+ * @since v14.9.0, v12.19.0
1698
+ */
1699
+ writeUint32BE(value: number, offset?: number): number;
1610
1700
  /**
1611
1701
  * Writes `value` to `buf` at the specified `offset`. `value` must be a valid
1612
1702
  * signed 8-bit integer. Behavior is undefined when `value` is anything other than
node v16.11/http.d.ts CHANGED
@@ -959,7 +959,7 @@ declare module 'http' {
959
959
  * as an argument to any listeners on the event.
960
960
  * @since v0.3.0
961
961
  */
962
- destroy(error?: Error): void;
962
+ destroy(error?: Error): this;
963
963
  }
964
964
  interface AgentOptions extends Partial<TcpSocketConnectOpts> {
965
965
  /**
node v16.11/http2.d.ts CHANGED
@@ -1516,9 +1516,9 @@ declare module 'http2' {
1516
1516
  * is finished.
1517
1517
  * @since v8.4.0
1518
1518
  */
1519
- end(callback?: () => void): void;
1520
- end(data: string | Uint8Array, callback?: () => void): void;
1521
- end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void;
1519
+ end(callback?: () => void): this;
1520
+ end(data: string | Uint8Array, callback?: () => void): this;
1521
+ end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this;
1522
1522
  /**
1523
1523
  * Reads out a header that has already been queued but not sent to the client.
1524
1524
  * The name is case-insensitive.
node v16.11/index.d.ts CHANGED
@@ -34,7 +34,6 @@
34
34
  // Junxiao Shi <https://github.com/yoursunny>
35
35
  // Ilia Baryshnikov <https://github.com/qwelias>
36
36
  // ExE Boss <https://github.com/ExE-Boss>
37
- // Surasak Chaisurin <https://github.com/Ryan-Willpower>
38
37
  // Piotr Błażejewicz <https://github.com/peterblazejewicz>
39
38
  // Anna Henningsen <https://github.com/addaleax>
40
39
  // Victor Perin <https://github.com/victorperin>
node v16.11/net.d.ts CHANGED
@@ -288,9 +288,9 @@ declare module 'net' {
288
288
  * @param callback Optional callback for when the socket is finished.
289
289
  * @return The socket itself.
290
290
  */
291
- end(callback?: () => void): void;
292
- end(buffer: Uint8Array | string, callback?: () => void): void;
293
- end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): void;
291
+ end(callback?: () => void): this;
292
+ end(buffer: Uint8Array | string, callback?: () => void): this;
293
+ end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;
294
294
  /**
295
295
  * events.EventEmitter
296
296
  * 1. close
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.11.20",
3
+ "version": "16.11.24",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -175,11 +175,6 @@
175
175
  "url": "https://github.com/ExE-Boss",
176
176
  "githubUsername": "ExE-Boss"
177
177
  },
178
- {
179
- "name": "Surasak Chaisurin",
180
- "url": "https://github.com/Ryan-Willpower",
181
- "githubUsername": "Ryan-Willpower"
182
- },
183
178
  {
184
179
  "name": "Piotr Błażejewicz",
185
180
  "url": "https://github.com/peterblazejewicz",
@@ -225,6 +220,6 @@
225
220
  },
226
221
  "scripts": {},
227
222
  "dependencies": {},
228
- "typesPublisherContentHash": "f0cf5494053bbd33ab4c7158523ff1dc364c1fccc00f77ca4fbf1abe50280825",
223
+ "typesPublisherContentHash": "0693ef3fe1b25dffce1c9abdae48d4fb78444f0ab3a0a3b086d3b963ef83fbe2",
229
224
  "typeScriptVersion": "3.8"
230
225
  }
node v16.11/stream.d.ts CHANGED
@@ -408,7 +408,7 @@ declare module 'stream' {
408
408
  * @since v8.0.0
409
409
  * @param error Error which will be passed as payload in `'error'` event
410
410
  */
411
- destroy(error?: Error): void;
411
+ destroy(error?: Error): this;
412
412
  /**
413
413
  * Event emitter
414
414
  * The defined events on documents including:
@@ -639,9 +639,9 @@ declare module 'stream' {
639
639
  * @param encoding The encoding if `chunk` is a string
640
640
  * @param callback Callback for when the stream is finished.
641
641
  */
642
- end(cb?: () => void): void;
643
- end(chunk: any, cb?: () => void): void;
644
- end(chunk: any, encoding: BufferEncoding, cb?: () => void): void;
642
+ end(cb?: () => void): this;
643
+ end(chunk: any, cb?: () => void): this;
644
+ end(chunk: any, encoding: BufferEncoding, cb?: () => void): this;
645
645
  /**
646
646
  * The `writable.cork()` method forces all written data to be buffered in memory.
647
647
  * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called.
@@ -707,7 +707,7 @@ declare module 'stream' {
707
707
  * @since v8.0.0
708
708
  * @param error Optional, an error to emit with `'error'` event.
709
709
  */
710
- destroy(error?: Error): void;
710
+ destroy(error?: Error): this;
711
711
  /**
712
712
  * Event emitter
713
713
  * The defined events on documents including:
@@ -853,9 +853,9 @@ declare module 'stream' {
853
853
  write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
854
854
  write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
855
855
  setDefaultEncoding(encoding: BufferEncoding): this;
856
- end(cb?: () => void): void;
857
- end(chunk: any, cb?: () => void): void;
858
- end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void;
856
+ end(cb?: () => void): this;
857
+ end(chunk: any, cb?: () => void): this;
858
+ end(chunk: any, encoding?: BufferEncoding, cb?: () => void): this;
859
859
  cork(): void;
860
860
  uncork(): void;
861
861
  }
node v16.11/url.d.ts CHANGED
@@ -738,7 +738,7 @@ declare module 'url' {
738
738
  * @param fn Invoked for each name-value pair in the query
739
739
  * @param thisArg To be used as `this` value for when `fn` is called
740
740
  */
741
- forEach<TThis = this>(callback: (this: TThis, value: string, name: string, searchParams: this) => void, thisArg?: TThis): void;
741
+ forEach<TThis = this>(callback: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void, thisArg?: TThis): void;
742
742
  /**
743
743
  * Returns the value of the first name-value pair whose name is `name`. If there
744
744
  * are no such pairs, `null` is returned.
@@ -815,6 +815,32 @@ declare module 'url' {
815
815
  values(): IterableIterator<string>;
816
816
  [Symbol.iterator](): IterableIterator<[string, string]>;
817
817
  }
818
+
819
+ import { URL as _URL, URLSearchParams as _URLSearchParams } from 'url';
820
+ global {
821
+ interface URLSearchParams extends _URLSearchParams {}
822
+ interface URL extends _URL {}
823
+ interface Global {
824
+ URL: typeof _URL;
825
+ URLSearchParams: typeof _URLSearchParams;
826
+ }
827
+ /**
828
+ * `URL` class is a global reference for `require('url').URL`
829
+ * https://nodejs.org/api/url.html#the-whatwg-url-api
830
+ * @since v10.0.0
831
+ */
832
+ var URL: typeof globalThis extends { webkitURL: infer URL } ? URL : typeof _URL;
833
+ /**
834
+ * `URLSearchParams` class is a global reference for `require('url').URLSearchParams`.
835
+ * https://nodejs.org/api/url.html#class-urlsearchparams
836
+ * @since v10.0.0
837
+ */
838
+ var URLSearchParams: {
839
+ prototype: URLSearchParams;
840
+ new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
841
+ toString(): string;
842
+ };
843
+ }
818
844
  }
819
845
  declare module 'node:url' {
820
846
  export * from 'url';