@rio-cloud/cdk-v2-constructs 8.2.0 → 8.2.1

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.
Files changed (179) hide show
  1. package/.jsii +2 -2
  2. package/node_modules/@types/node/README.md +3 -3
  3. package/node_modules/@types/node/assert/strict.d.ts +105 -2
  4. package/node_modules/@types/node/assert.d.ts +211 -92
  5. package/node_modules/@types/node/async_hooks.d.ts +103 -19
  6. package/node_modules/@types/node/buffer.buffer.d.ts +472 -0
  7. package/node_modules/@types/node/buffer.d.ts +88 -516
  8. package/node_modules/@types/node/child_process.d.ts +167 -231
  9. package/node_modules/@types/node/cluster.d.ts +172 -26
  10. package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  11. package/node_modules/@types/node/console.d.ts +66 -28
  12. package/node_modules/@types/node/constants.d.ts +14 -12
  13. package/node_modules/@types/node/crypto.d.ts +1458 -497
  14. package/node_modules/@types/node/dgram.d.ts +44 -30
  15. package/node_modules/@types/node/diagnostics_channel.d.ts +389 -4
  16. package/node_modules/@types/node/dns/promises.d.ts +120 -42
  17. package/node_modules/@types/node/dns.d.ts +209 -95
  18. package/node_modules/@types/node/domain.d.ts +14 -18
  19. package/node_modules/@types/node/events.d.ts +245 -113
  20. package/node_modules/@types/node/fs/promises.d.ts +194 -96
  21. package/node_modules/@types/node/fs.d.ts +695 -270
  22. package/node_modules/@types/node/globals.d.ts +97 -308
  23. package/node_modules/@types/node/globals.typedarray.d.ts +41 -0
  24. package/node_modules/@types/node/http.d.ts +363 -97
  25. package/node_modules/@types/node/http2.d.ts +684 -231
  26. package/node_modules/@types/node/https.d.ts +122 -87
  27. package/node_modules/@types/node/index.d.ts +24 -11
  28. package/node_modules/@types/node/inspector.d.ts +220 -2690
  29. package/node_modules/@types/node/inspector.generated.d.ts +4239 -0
  30. package/node_modules/@types/node/module.d.ts +705 -149
  31. package/node_modules/@types/node/net.d.ts +178 -54
  32. package/node_modules/@types/node/os.d.ts +47 -17
  33. package/node_modules/@types/node/package.json +22 -97
  34. package/node_modules/@types/node/path.d.ts +12 -3
  35. package/node_modules/@types/node/perf_hooks.d.ts +500 -97
  36. package/node_modules/@types/node/process.d.ts +657 -87
  37. package/node_modules/@types/node/punycode.d.ts +5 -5
  38. package/node_modules/@types/node/querystring.d.ts +24 -13
  39. package/node_modules/@types/node/readline/promises.d.ts +25 -14
  40. package/node_modules/@types/node/readline.d.ts +102 -41
  41. package/node_modules/@types/node/repl.d.ts +38 -30
  42. package/node_modules/@types/node/sea.d.ts +162 -0
  43. package/node_modules/@types/node/sqlite.d.ts +1040 -0
  44. package/node_modules/@types/node/stream/consumers.d.ts +33 -7
  45. package/node_modules/@types/node/stream/promises.d.ts +8 -1
  46. package/node_modules/@types/node/stream/web.d.ts +251 -28
  47. package/node_modules/@types/node/stream.d.ts +1060 -1055
  48. package/node_modules/@types/node/string_decoder.d.ts +8 -8
  49. package/node_modules/@types/node/test.d.ts +2133 -1166
  50. package/node_modules/@types/node/timers/promises.d.ts +31 -16
  51. package/node_modules/@types/node/timers.d.ts +159 -114
  52. package/node_modules/@types/node/tls.d.ts +232 -163
  53. package/node_modules/@types/node/trace_events.d.ts +43 -28
  54. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  55. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  56. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
  57. package/node_modules/@types/node/ts5.6/index.d.ts +103 -0
  58. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  59. package/node_modules/@types/node/ts5.7/index.d.ts +103 -0
  60. package/node_modules/@types/node/tty.d.ts +9 -9
  61. package/node_modules/@types/node/url.d.ts +236 -84
  62. package/node_modules/@types/node/util.d.ts +562 -412
  63. package/node_modules/@types/node/v8.d.ts +368 -21
  64. package/node_modules/@types/node/vm.d.ts +443 -149
  65. package/node_modules/@types/node/wasi.d.ts +62 -18
  66. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  67. package/node_modules/@types/node/web-globals/crypto.d.ts +32 -0
  68. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  69. package/node_modules/@types/node/web-globals/events.d.ts +97 -0
  70. package/node_modules/@types/node/web-globals/fetch.d.ts +62 -0
  71. package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
  72. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  73. package/node_modules/@types/node/web-globals/streams.d.ts +22 -0
  74. package/node_modules/@types/node/worker_threads.d.ts +310 -107
  75. package/node_modules/@types/node/zlib.d.ts +301 -73
  76. package/node_modules/undici-types/LICENSE +21 -0
  77. package/node_modules/undici-types/agent.d.ts +13 -12
  78. package/node_modules/undici-types/api.d.ts +26 -26
  79. package/node_modules/undici-types/balanced-pool.d.ts +19 -7
  80. package/node_modules/undici-types/cache-interceptor.d.ts +173 -0
  81. package/node_modules/undici-types/client-stats.d.ts +15 -0
  82. package/node_modules/undici-types/client.d.ts +26 -15
  83. package/node_modules/undici-types/connector.d.ts +2 -2
  84. package/node_modules/undici-types/cookies.d.ts +2 -0
  85. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -12
  86. package/node_modules/undici-types/dispatcher.d.ts +148 -113
  87. package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
  88. package/node_modules/undici-types/errors.d.ts +79 -46
  89. package/node_modules/undici-types/eventsource.d.ts +66 -0
  90. package/node_modules/undici-types/fetch.d.ts +41 -39
  91. package/node_modules/undici-types/formdata.d.ts +8 -8
  92. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  93. package/node_modules/undici-types/global-origin.d.ts +5 -5
  94. package/node_modules/undici-types/h2c-client.d.ts +73 -0
  95. package/node_modules/undici-types/handlers.d.ts +11 -5
  96. package/node_modules/undici-types/header.d.ts +157 -1
  97. package/node_modules/undici-types/index.d.ts +68 -43
  98. package/node_modules/undici-types/interceptors.d.ts +71 -3
  99. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  100. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  101. package/node_modules/undici-types/mock-client.d.ts +6 -4
  102. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  103. package/node_modules/undici-types/mock-interceptor.d.ts +24 -23
  104. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  105. package/node_modules/undici-types/package.json +1 -1
  106. package/node_modules/undici-types/patch.d.ts +0 -42
  107. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  108. package/node_modules/undici-types/pool.d.ts +21 -8
  109. package/node_modules/undici-types/proxy-agent.d.ts +5 -6
  110. package/node_modules/undici-types/readable.d.ts +24 -17
  111. package/node_modules/undici-types/retry-agent.d.ts +8 -0
  112. package/node_modules/undici-types/retry-handler.d.ts +125 -0
  113. package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  114. package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
  115. package/node_modules/undici-types/util.d.ts +18 -0
  116. package/node_modules/undici-types/utility.d.ts +7 -0
  117. package/node_modules/undici-types/webidl.d.ts +157 -36
  118. package/node_modules/undici-types/websocket.d.ts +67 -12
  119. package/package.json +9 -60
  120. package/version.json +1 -1
  121. package/node_modules/@types/node/dom-events.d.ts +0 -122
  122. package/node_modules/@types/node/globals.global.d.ts +0 -1
  123. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  124. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  125. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  126. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  127. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  128. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  129. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  130. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  131. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
  132. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
  133. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  134. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  135. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  136. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  137. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  138. package/node_modules/@types/node/ts4.8/events.d.ts +0 -796
  139. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1232
  140. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4289
  141. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -381
  142. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  143. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
  144. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  145. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  146. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  147. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  148. package/node_modules/@types/node/ts4.8/module.d.ts +0 -287
  149. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  150. package/node_modules/@types/node/ts4.8/os.d.ts +0 -477
  151. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  152. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
  153. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1532
  154. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  155. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  156. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  157. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  158. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  159. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  160. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  161. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
  162. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  163. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  164. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
  165. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  166. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  167. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  168. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  169. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  170. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  171. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2186
  172. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  173. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -901
  174. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  175. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  176. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  177. package/node_modules/argparse/CHANGELOG.md +0 -216
  178. package/node_modules/undici-types/file.d.ts +0 -39
  179. package/node_modules/undici-types/filereader.d.ts +0 -54
@@ -1,381 +0,0 @@
1
- // Declare "static" methods in Error
2
- interface ErrorConstructor {
3
- /** Create .stack property on a target object */
4
- captureStackTrace(targetObject: object, constructorOpt?: Function): void;
5
-
6
- /**
7
- * Optional override for formatting stack traces
8
- *
9
- * @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
10
- */
11
- prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
12
-
13
- stackTraceLimit: number;
14
- }
15
-
16
- /*-----------------------------------------------*
17
- * *
18
- * GLOBAL *
19
- * *
20
- ------------------------------------------------*/
21
-
22
- // For backwards compability
23
- interface NodeRequire extends NodeJS.Require {}
24
- interface RequireResolve extends NodeJS.RequireResolve {}
25
- interface NodeModule extends NodeJS.Module {}
26
-
27
- declare var process: NodeJS.Process;
28
- declare var console: Console;
29
-
30
- declare var __filename: string;
31
- declare var __dirname: string;
32
-
33
- declare var require: NodeRequire;
34
- declare var module: NodeModule;
35
-
36
- // Same as module.exports
37
- declare var exports: any;
38
-
39
- /**
40
- * Only available if `--expose-gc` is passed to the process.
41
- */
42
- declare var gc: undefined | (() => void);
43
-
44
- // #region borrowed
45
- // from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
46
- /** A controller object that allows you to abort one or more DOM requests as and when desired. */
47
- interface AbortController {
48
- /**
49
- * Returns the AbortSignal object associated with this object.
50
- */
51
-
52
- readonly signal: AbortSignal;
53
- /**
54
- * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
55
- */
56
- abort(reason?: any): void;
57
- }
58
-
59
- /** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
60
- interface AbortSignal extends EventTarget {
61
- /**
62
- * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
63
- */
64
- readonly aborted: boolean;
65
- readonly reason: any;
66
- onabort: null | ((this: AbortSignal, event: Event) => any);
67
- throwIfAborted(): void;
68
- }
69
-
70
- declare var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T
71
- : {
72
- prototype: AbortController;
73
- new(): AbortController;
74
- };
75
-
76
- declare var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T
77
- : {
78
- prototype: AbortSignal;
79
- new(): AbortSignal;
80
- abort(reason?: any): AbortSignal;
81
- timeout(milliseconds: number): AbortSignal;
82
- };
83
- // #endregion borrowed
84
-
85
- // #region Disposable
86
- interface SymbolConstructor {
87
- /**
88
- * A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
89
- */
90
- readonly dispose: unique symbol;
91
-
92
- /**
93
- * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
94
- */
95
- readonly asyncDispose: unique symbol;
96
- }
97
-
98
- interface Disposable {
99
- [Symbol.dispose](): void;
100
- }
101
-
102
- interface AsyncDisposable {
103
- [Symbol.asyncDispose](): PromiseLike<void>;
104
- }
105
- // #endregion Disposable
106
-
107
- // #region ArrayLike.at()
108
- interface RelativeIndexable<T> {
109
- /**
110
- * Takes an integer value and returns the item at that index,
111
- * allowing for positive and negative integers.
112
- * Negative integers count back from the last item in the array.
113
- */
114
- at(index: number): T | undefined;
115
- }
116
- interface String extends RelativeIndexable<string> {}
117
- interface Array<T> extends RelativeIndexable<T> {}
118
- interface ReadonlyArray<T> extends RelativeIndexable<T> {}
119
- interface Int8Array extends RelativeIndexable<number> {}
120
- interface Uint8Array extends RelativeIndexable<number> {}
121
- interface Uint8ClampedArray extends RelativeIndexable<number> {}
122
- interface Int16Array extends RelativeIndexable<number> {}
123
- interface Uint16Array extends RelativeIndexable<number> {}
124
- interface Int32Array extends RelativeIndexable<number> {}
125
- interface Uint32Array extends RelativeIndexable<number> {}
126
- interface Float32Array extends RelativeIndexable<number> {}
127
- interface Float64Array extends RelativeIndexable<number> {}
128
- interface BigInt64Array extends RelativeIndexable<bigint> {}
129
- interface BigUint64Array extends RelativeIndexable<bigint> {}
130
- // #endregion ArrayLike.at() end
131
-
132
- /**
133
- * @since v17.0.0
134
- *
135
- * Creates a deep clone of an object.
136
- */
137
- declare function structuredClone<T>(
138
- value: T,
139
- transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> },
140
- ): T;
141
-
142
- /*----------------------------------------------*
143
- * *
144
- * GLOBAL INTERFACES *
145
- * *
146
- *-----------------------------------------------*/
147
- declare namespace NodeJS {
148
- interface CallSite {
149
- /**
150
- * Value of "this"
151
- */
152
- getThis(): unknown;
153
-
154
- /**
155
- * Type of "this" as a string.
156
- * This is the name of the function stored in the constructor field of
157
- * "this", if available. Otherwise the object's [[Class]] internal
158
- * property.
159
- */
160
- getTypeName(): string | null;
161
-
162
- /**
163
- * Current function
164
- */
165
- getFunction(): Function | undefined;
166
-
167
- /**
168
- * Name of the current function, typically its name property.
169
- * If a name property is not available an attempt will be made to try
170
- * to infer a name from the function's context.
171
- */
172
- getFunctionName(): string | null;
173
-
174
- /**
175
- * Name of the property [of "this" or one of its prototypes] that holds
176
- * the current function
177
- */
178
- getMethodName(): string | null;
179
-
180
- /**
181
- * Name of the script [if this function was defined in a script]
182
- */
183
- getFileName(): string | undefined;
184
-
185
- /**
186
- * Current line number [if this function was defined in a script]
187
- */
188
- getLineNumber(): number | null;
189
-
190
- /**
191
- * Current column number [if this function was defined in a script]
192
- */
193
- getColumnNumber(): number | null;
194
-
195
- /**
196
- * A call site object representing the location where eval was called
197
- * [if this function was created using a call to eval]
198
- */
199
- getEvalOrigin(): string | undefined;
200
-
201
- /**
202
- * Is this a toplevel invocation, that is, is "this" the global object?
203
- */
204
- isToplevel(): boolean;
205
-
206
- /**
207
- * Does this call take place in code defined by a call to eval?
208
- */
209
- isEval(): boolean;
210
-
211
- /**
212
- * Is this call in native V8 code?
213
- */
214
- isNative(): boolean;
215
-
216
- /**
217
- * Is this a constructor call?
218
- */
219
- isConstructor(): boolean;
220
- }
221
-
222
- interface ErrnoException extends Error {
223
- errno?: number | undefined;
224
- code?: string | undefined;
225
- path?: string | undefined;
226
- syscall?: string | undefined;
227
- }
228
-
229
- interface ReadableStream extends EventEmitter {
230
- readable: boolean;
231
- read(size?: number): string | Buffer;
232
- setEncoding(encoding: BufferEncoding): this;
233
- pause(): this;
234
- resume(): this;
235
- isPaused(): boolean;
236
- pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T;
237
- unpipe(destination?: WritableStream): this;
238
- unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
239
- wrap(oldStream: ReadableStream): this;
240
- [Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
241
- }
242
-
243
- interface WritableStream extends EventEmitter {
244
- writable: boolean;
245
- write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
246
- write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
247
- end(cb?: () => void): this;
248
- end(data: string | Uint8Array, cb?: () => void): this;
249
- end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
250
- }
251
-
252
- interface ReadWriteStream extends ReadableStream, WritableStream {}
253
-
254
- interface RefCounted {
255
- ref(): this;
256
- unref(): this;
257
- }
258
-
259
- type TypedArray =
260
- | Uint8Array
261
- | Uint8ClampedArray
262
- | Uint16Array
263
- | Uint32Array
264
- | Int8Array
265
- | Int16Array
266
- | Int32Array
267
- | BigUint64Array
268
- | BigInt64Array
269
- | Float32Array
270
- | Float64Array;
271
- type ArrayBufferView = TypedArray | DataView;
272
-
273
- interface Require {
274
- (id: string): any;
275
- resolve: RequireResolve;
276
- cache: Dict<NodeModule>;
277
- /**
278
- * @deprecated
279
- */
280
- extensions: RequireExtensions;
281
- main: Module | undefined;
282
- }
283
-
284
- interface RequireResolve {
285
- (id: string, options?: { paths?: string[] | undefined }): string;
286
- paths(request: string): string[] | null;
287
- }
288
-
289
- interface RequireExtensions extends Dict<(m: Module, filename: string) => any> {
290
- ".js": (m: Module, filename: string) => any;
291
- ".json": (m: Module, filename: string) => any;
292
- ".node": (m: Module, filename: string) => any;
293
- }
294
- interface Module {
295
- /**
296
- * `true` if the module is running during the Node.js preload
297
- */
298
- isPreloading: boolean;
299
- exports: any;
300
- require: Require;
301
- id: string;
302
- filename: string;
303
- loaded: boolean;
304
- /** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
305
- parent: Module | null | undefined;
306
- children: Module[];
307
- /**
308
- * @since v11.14.0
309
- *
310
- * The directory name of the module. This is usually the same as the path.dirname() of the module.id.
311
- */
312
- path: string;
313
- paths: string[];
314
- }
315
-
316
- interface Dict<T> {
317
- [key: string]: T | undefined;
318
- }
319
-
320
- interface ReadOnlyDict<T> {
321
- readonly [key: string]: T | undefined;
322
- }
323
-
324
- namespace fetch {
325
- type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
326
- type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
327
- type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
328
- type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
329
- type _RequestInit = typeof globalThis extends { onmessage: any } ? {}
330
- : import("undici-types").RequestInit;
331
- type Request = globalThis.Request;
332
- type Response = globalThis.Response;
333
- type Headers = globalThis.Headers;
334
- type FormData = globalThis.FormData;
335
- type RequestInit = globalThis.RequestInit;
336
- type RequestInfo = import("undici-types").RequestInfo;
337
- type HeadersInit = import("undici-types").HeadersInit;
338
- type BodyInit = import("undici-types").BodyInit;
339
- type RequestRedirect = import("undici-types").RequestRedirect;
340
- type RequestCredentials = import("undici-types").RequestCredentials;
341
- type RequestMode = import("undici-types").RequestMode;
342
- type ReferrerPolicy = import("undici-types").ReferrerPolicy;
343
- type Dispatcher = import("undici-types").Dispatcher;
344
- type RequestDuplex = import("undici-types").RequestDuplex;
345
- }
346
- }
347
-
348
- interface RequestInit extends NodeJS.fetch._RequestInit {}
349
-
350
- declare function fetch(
351
- input: NodeJS.fetch.RequestInfo,
352
- init?: RequestInit,
353
- ): Promise<Response>;
354
-
355
- interface Request extends NodeJS.fetch._Request {}
356
- declare var Request: typeof globalThis extends {
357
- onmessage: any;
358
- Request: infer T;
359
- } ? T
360
- : typeof import("undici-types").Request;
361
-
362
- interface Response extends NodeJS.fetch._Response {}
363
- declare var Response: typeof globalThis extends {
364
- onmessage: any;
365
- Response: infer T;
366
- } ? T
367
- : typeof import("undici-types").Response;
368
-
369
- interface FormData extends NodeJS.fetch._FormData {}
370
- declare var FormData: typeof globalThis extends {
371
- onmessage: any;
372
- FormData: infer T;
373
- } ? T
374
- : typeof import("undici-types").FormData;
375
-
376
- interface Headers extends NodeJS.fetch._Headers {}
377
- declare var Headers: typeof globalThis extends {
378
- onmessage: any;
379
- Headers: infer T;
380
- } ? T
381
- : typeof import("undici-types").Headers;
@@ -1 +0,0 @@
1
- declare var global: typeof globalThis;