miniflare 0.0.0-e5ebdb143 → 0.0.0-e6fea1318

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 (37) hide show
  1. package/README.md +7 -0
  2. package/dist/src/index.d.ts +1017 -430
  3. package/dist/src/index.js +10595 -5020
  4. package/dist/src/index.js.map +3 -3
  5. package/dist/src/workers/assets/assets-kv.worker.js +1 -1
  6. package/dist/src/workers/assets/assets-kv.worker.js.map +1 -1
  7. package/dist/src/workers/assets/assets.worker.js +5585 -6118
  8. package/dist/src/workers/assets/assets.worker.js.map +3 -3
  9. package/dist/src/workers/assets/router.worker.js +4654 -5503
  10. package/dist/src/workers/assets/router.worker.js.map +3 -3
  11. package/dist/src/workers/assets/rpc-proxy.worker.js +18 -0
  12. package/dist/src/workers/assets/rpc-proxy.worker.js.map +6 -0
  13. package/dist/src/workers/cache/cache-entry.worker.js.map +1 -1
  14. package/dist/src/workers/cache/cache.worker.js +12 -24
  15. package/dist/src/workers/cache/cache.worker.js.map +1 -1
  16. package/dist/src/workers/core/entry.worker.js +32 -59
  17. package/dist/src/workers/core/entry.worker.js.map +1 -1
  18. package/dist/src/workers/d1/database.worker.js +8 -6
  19. package/dist/src/workers/d1/database.worker.js.map +1 -1
  20. package/dist/src/workers/kv/namespace.worker.js +51 -5
  21. package/dist/src/workers/kv/namespace.worker.js.map +2 -2
  22. package/dist/src/workers/kv/sites.worker.js +3 -6
  23. package/dist/src/workers/kv/sites.worker.js.map +1 -1
  24. package/dist/src/workers/pipelines/pipeline.worker.js +11 -0
  25. package/dist/src/workers/pipelines/pipeline.worker.js.map +6 -0
  26. package/dist/src/workers/queues/broker.worker.js +12 -17
  27. package/dist/src/workers/queues/broker.worker.js.map +1 -1
  28. package/dist/src/workers/r2/bucket.worker.js +23 -46
  29. package/dist/src/workers/r2/bucket.worker.js.map +1 -1
  30. package/dist/src/workers/ratelimit/ratelimit.worker.js.map +1 -1
  31. package/dist/src/workers/shared/index.worker.js +28 -51
  32. package/dist/src/workers/shared/index.worker.js.map +1 -1
  33. package/dist/src/workers/shared/zod.worker.js +80 -84
  34. package/dist/src/workers/shared/zod.worker.js.map +1 -1
  35. package/dist/src/workers/workflows/binding.worker.js +141 -159
  36. package/dist/src/workers/workflows/binding.worker.js.map +1 -1
  37. package/package.json +24 -24
@@ -1,5 +1,6 @@
1
1
  import { Abortable } from 'events';
2
2
  import type { AbortSignal as AbortSignal_2 } from '@cloudflare/workers-types/experimental';
3
+ import { Awaitable as Awaitable_2 } from '..';
3
4
  import type { Blob as Blob_2 } from '@cloudflare/workers-types/experimental';
4
5
  import { Blob as Blob_3 } from 'buffer';
5
6
  import { BodyInit } from 'undici';
@@ -7,6 +8,8 @@ import type { CacheStorage } from '@cloudflare/workers-types/experimental';
7
8
  import { cspotcodeSourceMapSupport } from '@cspotcode/source-map-support';
8
9
  import type { D1Database } from '@cloudflare/workers-types/experimental';
9
10
  import type { DurableObjectNamespace } from '@cloudflare/workers-types/experimental';
11
+ import { ExternalServer as ExternalServer_2 } from '../..';
12
+ import { ExternalServer as ExternalServer_3 } from '..';
10
13
  import type { Fetcher } from '@cloudflare/workers-types/experimental';
11
14
  import { File } from 'undici';
12
15
  import type { File as File_2 } from '@cloudflare/workers-types/experimental';
@@ -16,18 +19,28 @@ import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimenta
16
19
  import { HeadersInit } from 'undici';
17
20
  import http from 'http';
18
21
  import { IncomingRequestCfProperties } from '@cloudflare/workers-types/experimental';
22
+ import { Json as Json_2 } from '..';
23
+ import { kCurrentWorker as kCurrentWorker_2 } from '..';
24
+ import { kUnsafeEphemeralUniqueKey as kUnsafeEphemeralUniqueKey_2 } from './shared';
19
25
  import type { KVNamespace } from '@cloudflare/workers-types/experimental';
26
+ import { Log as Log_2 } from '..';
27
+ import { Miniflare as Miniflare_2 } from '../..';
28
+ import { Miniflare as Miniflare_3 } from '..';
20
29
  import { MockAgent } from 'undici';
21
30
  import NodeWebSocket from 'ws';
22
31
  import { ParseParams } from 'zod';
32
+ import { PeriodType as PeriodType_2 } from './ratelimit';
33
+ import { Plugin as Plugin_2 } from './shared';
23
34
  import type { Queue } from '@cloudflare/workers-types/experimental';
24
35
  import type { R2Bucket } from '@cloudflare/workers-types/experimental';
25
36
  import { Readable } from 'stream';
26
37
  import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
27
38
  import { ReadableStream as ReadableStream_3 } from 'stream/web';
28
39
  import { ReferrerPolicy } from 'undici';
29
- import { Request as Request_3 } from 'undici';
30
- import type { Request as Request_4 } from '@cloudflare/workers-types/experimental';
40
+ import { Request as Request_3 } from '../..';
41
+ import { Request as Request_4 } from 'undici';
42
+ import type { Request as Request_5 } from '@cloudflare/workers-types/experimental';
43
+ import { Request as Request_6 } from '..';
31
44
  import { RequestCache } from 'undici';
32
45
  import { RequestCredentials } from 'undici';
33
46
  import { RequestDestination } from 'undici';
@@ -38,8 +51,10 @@ import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/exp
38
51
  import type { RequestInitCfProperties } from '@cloudflare/workers-types/experimental';
39
52
  import { RequestMode } from 'undici';
40
53
  import { RequestRedirect } from 'undici';
41
- import { Response as Response_3 } from 'undici';
42
- import type { Response as Response_4 } from '@cloudflare/workers-types/experimental';
54
+ import { Response as Response_3 } from '../..';
55
+ import { Response as Response_4 } from 'undici';
56
+ import type { Response as Response_5 } from '@cloudflare/workers-types/experimental';
57
+ import { Response as Response_6 } from '..';
43
58
  import { ResponseInit as ResponseInit_3 } from 'undici';
44
59
  import { ResponseRedirectStatus } from 'undici';
45
60
  import { ResponseType } from 'undici';
@@ -61,7 +76,7 @@ export declare type AnyHeaders = http.IncomingHttpHeaders | string[];
61
76
  export declare type AssetReverseMap = {
62
77
  [pathHash: string]: {
63
78
  filePath: string;
64
- contentType: string;
79
+ contentType: string | null;
65
80
  };
66
81
  };
67
82
 
@@ -72,86 +87,302 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
72
87
  workerName: z.ZodOptional<z.ZodString>;
73
88
  directory: z.ZodEffects<z.ZodString, string, string>;
74
89
  binding: z.ZodOptional<z.ZodString>;
75
- routingConfig: z.ZodOptional<z.ZodObject<{
76
- has_user_worker: z.ZodOptional<z.ZodBoolean>;
90
+ routerConfig: z.ZodOptional<z.ZodObject<{
91
+ account_id: z.ZodOptional<z.ZodNumber>;
92
+ script_id: z.ZodOptional<z.ZodNumber>;
77
93
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
94
+ has_user_worker: z.ZodOptional<z.ZodBoolean>;
78
95
  }, "strip", z.ZodTypeAny, {
79
- has_user_worker?: boolean;
96
+ account_id?: number;
97
+ script_id?: number;
80
98
  invoke_user_worker_ahead_of_assets?: boolean;
81
- }, {
82
99
  has_user_worker?: boolean;
100
+ }, {
101
+ account_id?: number;
102
+ script_id?: number;
83
103
  invoke_user_worker_ahead_of_assets?: boolean;
104
+ has_user_worker?: boolean;
84
105
  }>>;
85
- assetConfig: z.ZodOptional<z.ZodObject<{
106
+ assetConfig: z.ZodOptional<z.ZodObject<Omit<{
107
+ account_id: z.ZodOptional<z.ZodNumber>;
108
+ script_id: z.ZodOptional<z.ZodNumber>;
109
+ compatibility_date: z.ZodOptional<z.ZodString>;
110
+ compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
111
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
87
112
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
88
- serve_directly: z.ZodOptional<z.ZodBoolean>;
89
- }, "strip", z.ZodTypeAny, {
90
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
91
- not_found_handling?: "none" | "single-page-application" | "404-page";
92
- serve_directly?: boolean;
113
+ redirects: z.ZodOptional<z.ZodObject<{
114
+ version: z.ZodLiteral<1>;
115
+ staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
116
+ status: z.ZodNumber;
117
+ to: z.ZodString;
118
+ lineNumber: z.ZodNumber;
119
+ }, "strip", z.ZodTypeAny, {
120
+ status?: number;
121
+ to?: string;
122
+ lineNumber?: number;
123
+ }, {
124
+ status?: number;
125
+ to?: string;
126
+ lineNumber?: number;
127
+ }>>;
128
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
129
+ status: z.ZodNumber;
130
+ to: z.ZodString;
131
+ }, "strip", z.ZodTypeAny, {
132
+ status?: number;
133
+ to?: string;
134
+ }, {
135
+ status?: number;
136
+ to?: string;
137
+ }>>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ version?: 1;
140
+ staticRules?: Record<string, {
141
+ status?: number;
142
+ to?: string;
143
+ lineNumber?: number;
144
+ }>;
145
+ rules?: Record<string, {
146
+ status?: number;
147
+ to?: string;
148
+ }>;
149
+ }, {
150
+ version?: 1;
151
+ staticRules?: Record<string, {
152
+ status?: number;
153
+ to?: string;
154
+ lineNumber?: number;
155
+ }>;
156
+ rules?: Record<string, {
157
+ status?: number;
158
+ to?: string;
159
+ }>;
160
+ }>>;
161
+ headers: z.ZodOptional<z.ZodObject<{
162
+ version: z.ZodLiteral<2>;
163
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
164
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
165
+ unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
166
+ }, "strip", z.ZodTypeAny, {
167
+ set?: Record<string, string>;
168
+ unset?: string[];
169
+ }, {
170
+ set?: Record<string, string>;
171
+ unset?: string[];
172
+ }>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ version?: 2;
175
+ rules?: Record<string, {
176
+ set?: Record<string, string>;
177
+ unset?: string[];
178
+ }>;
179
+ }, {
180
+ version?: 2;
181
+ rules?: Record<string, {
182
+ set?: Record<string, string>;
183
+ unset?: string[];
184
+ }>;
185
+ }>>;
186
+ }, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
187
+ headers?: {
188
+ version?: 2;
189
+ rules?: Record<string, {
190
+ set?: Record<string, string>;
191
+ unset?: string[];
192
+ }>;
193
+ } | undefined;
194
+ account_id?: number | undefined;
195
+ script_id?: number | undefined;
196
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
197
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
198
+ redirects?: {
199
+ version?: 1;
200
+ staticRules?: Record<string, {
201
+ status?: number;
202
+ to?: string;
203
+ lineNumber?: number;
204
+ }>;
205
+ rules?: Record<string, {
206
+ status?: number;
207
+ to?: string;
208
+ }>;
209
+ } | undefined;
93
210
  }, {
94
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
95
- not_found_handling?: "none" | "single-page-application" | "404-page";
96
- serve_directly?: boolean;
211
+ headers?: {
212
+ version?: 2;
213
+ rules?: Record<string, {
214
+ set?: Record<string, string>;
215
+ unset?: string[];
216
+ }>;
217
+ } | undefined;
218
+ account_id?: number | undefined;
219
+ script_id?: number | undefined;
220
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
221
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
222
+ redirects?: {
223
+ version?: 1;
224
+ staticRules?: Record<string, {
225
+ status?: number;
226
+ to?: string;
227
+ lineNumber?: number;
228
+ }>;
229
+ rules?: Record<string, {
230
+ status?: number;
231
+ to?: string;
232
+ }>;
233
+ } | undefined;
97
234
  }>>;
98
235
  }, "strip", z.ZodTypeAny, {
99
236
  directory: string;
100
237
  workerName?: string | undefined;
101
238
  binding?: string | undefined;
102
- routingConfig?: {
103
- has_user_worker?: boolean;
239
+ routerConfig?: {
240
+ account_id?: number;
241
+ script_id?: number;
104
242
  invoke_user_worker_ahead_of_assets?: boolean;
243
+ has_user_worker?: boolean;
105
244
  } | undefined;
106
245
  assetConfig?: {
107
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
108
- not_found_handling?: "none" | "single-page-application" | "404-page";
109
- serve_directly?: boolean;
246
+ headers?: {
247
+ version?: 2;
248
+ rules?: Record<string, {
249
+ set?: Record<string, string>;
250
+ unset?: string[];
251
+ }>;
252
+ } | undefined;
253
+ account_id?: number | undefined;
254
+ script_id?: number | undefined;
255
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
256
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
257
+ redirects?: {
258
+ version?: 1;
259
+ staticRules?: Record<string, {
260
+ status?: number;
261
+ to?: string;
262
+ lineNumber?: number;
263
+ }>;
264
+ rules?: Record<string, {
265
+ status?: number;
266
+ to?: string;
267
+ }>;
268
+ } | undefined;
110
269
  } | undefined;
111
270
  }, {
112
271
  directory: string;
113
272
  workerName?: string | undefined;
114
273
  binding?: string | undefined;
115
- routingConfig?: {
116
- has_user_worker?: boolean;
274
+ routerConfig?: {
275
+ account_id?: number;
276
+ script_id?: number;
117
277
  invoke_user_worker_ahead_of_assets?: boolean;
278
+ has_user_worker?: boolean;
118
279
  } | undefined;
119
280
  assetConfig?: {
120
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
121
- not_found_handling?: "none" | "single-page-application" | "404-page";
122
- serve_directly?: boolean;
281
+ headers?: {
282
+ version?: 2;
283
+ rules?: Record<string, {
284
+ set?: Record<string, string>;
285
+ unset?: string[];
286
+ }>;
287
+ } | undefined;
288
+ account_id?: number | undefined;
289
+ script_id?: number | undefined;
290
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
291
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
292
+ redirects?: {
293
+ version?: 1;
294
+ staticRules?: Record<string, {
295
+ status?: number;
296
+ to?: string;
297
+ lineNumber?: number;
298
+ }>;
299
+ rules?: Record<string, {
300
+ status?: number;
301
+ to?: string;
302
+ }>;
303
+ } | undefined;
123
304
  } | undefined;
124
305
  }>>;
306
+ compatibilityDate: z.ZodOptional<z.ZodString>;
307
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125
308
  }, "strip", z.ZodTypeAny, {
126
309
  assets?: {
127
310
  directory: string;
128
311
  workerName?: string | undefined;
129
312
  binding?: string | undefined;
130
- routingConfig?: {
131
- has_user_worker?: boolean;
313
+ routerConfig?: {
314
+ account_id?: number;
315
+ script_id?: number;
132
316
  invoke_user_worker_ahead_of_assets?: boolean;
317
+ has_user_worker?: boolean;
133
318
  } | undefined;
134
319
  assetConfig?: {
135
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
136
- not_found_handling?: "none" | "single-page-application" | "404-page";
137
- serve_directly?: boolean;
320
+ headers?: {
321
+ version?: 2;
322
+ rules?: Record<string, {
323
+ set?: Record<string, string>;
324
+ unset?: string[];
325
+ }>;
326
+ } | undefined;
327
+ account_id?: number | undefined;
328
+ script_id?: number | undefined;
329
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
330
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
331
+ redirects?: {
332
+ version?: 1;
333
+ staticRules?: Record<string, {
334
+ status?: number;
335
+ to?: string;
336
+ lineNumber?: number;
337
+ }>;
338
+ rules?: Record<string, {
339
+ status?: number;
340
+ to?: string;
341
+ }>;
342
+ } | undefined;
138
343
  } | undefined;
139
344
  } | undefined;
345
+ compatibilityDate?: string | undefined;
346
+ compatibilityFlags?: string[] | undefined;
140
347
  }, {
141
348
  assets?: {
142
349
  directory: string;
143
350
  workerName?: string | undefined;
144
351
  binding?: string | undefined;
145
- routingConfig?: {
146
- has_user_worker?: boolean;
352
+ routerConfig?: {
353
+ account_id?: number;
354
+ script_id?: number;
147
355
  invoke_user_worker_ahead_of_assets?: boolean;
356
+ has_user_worker?: boolean;
148
357
  } | undefined;
149
358
  assetConfig?: {
150
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
151
- not_found_handling?: "none" | "single-page-application" | "404-page";
152
- serve_directly?: boolean;
359
+ headers?: {
360
+ version?: 2;
361
+ rules?: Record<string, {
362
+ set?: Record<string, string>;
363
+ unset?: string[];
364
+ }>;
365
+ } | undefined;
366
+ account_id?: number | undefined;
367
+ script_id?: number | undefined;
368
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
369
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
370
+ redirects?: {
371
+ version?: 1;
372
+ staticRules?: Record<string, {
373
+ status?: number;
374
+ to?: string;
375
+ lineNumber?: number;
376
+ }>;
377
+ rules?: Record<string, {
378
+ status?: number;
379
+ to?: string;
380
+ }>;
381
+ } | undefined;
153
382
  } | undefined;
154
383
  } | undefined;
384
+ compatibilityDate?: string | undefined;
385
+ compatibilityFlags?: string[] | undefined;
155
386
  }>;
156
387
 
157
388
  export declare type Awaitable<T> = T | Promise<T>;
@@ -172,7 +403,7 @@ export { BodyInit }
172
403
  * Use content hash to get file path from asset reverse map.
173
404
  */
174
405
  export declare const buildAssetManifest: (dir: string) => Promise<{
175
- encodedAssetManifest: Uint8Array;
406
+ encodedAssetManifest: Uint8Array<ArrayBuffer>;
176
407
  assetsReverseMap: AssetReverseMap;
177
408
  }>;
178
409
 
@@ -278,31 +509,31 @@ export declare const CoreHeaders: {
278
509
 
279
510
  export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
280
511
  modules: z.ZodArray<z.ZodObject<{
281
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
512
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
282
513
  path: z.ZodEffects<z.ZodString, string, string>;
283
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
514
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
284
515
  }, "strip", z.ZodTypeAny, {
285
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
516
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
286
517
  path: string;
287
- contents?: string | Uint8Array | undefined;
518
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
288
519
  }, {
289
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
520
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
290
521
  path: string;
291
- contents?: string | Uint8Array | undefined;
522
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
292
523
  }>, "many">;
293
524
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
294
525
  }, "strip", z.ZodTypeAny, {
295
526
  modules: {
296
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
527
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
297
528
  path: string;
298
- contents?: string | Uint8Array | undefined;
529
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
299
530
  }[];
300
531
  modulesRoot?: string | undefined;
301
532
  }, {
302
533
  modules: {
303
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
534
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
304
535
  path: string;
305
- contents?: string | Uint8Array | undefined;
536
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
306
537
  }[];
307
538
  modulesRoot?: string | undefined;
308
539
  }>, z.ZodObject<{
@@ -310,15 +541,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
310
541
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
311
542
  modules: z.ZodOptional<z.ZodBoolean>;
312
543
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
313
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
544
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
314
545
  include: z.ZodArray<z.ZodString, "many">;
315
546
  fallthrough: z.ZodOptional<z.ZodBoolean>;
316
547
  }, "strip", z.ZodTypeAny, {
317
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
548
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
318
549
  include: string[];
319
550
  fallthrough?: boolean | undefined;
320
551
  }, {
321
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
552
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
322
553
  include: string[];
323
554
  fallthrough?: boolean | undefined;
324
555
  }>, "many">>;
@@ -328,7 +559,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
328
559
  scriptPath?: string | undefined;
329
560
  modules?: boolean | undefined;
330
561
  modulesRules?: {
331
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
562
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
332
563
  include: string[];
333
564
  fallthrough?: boolean | undefined;
334
565
  }[] | undefined;
@@ -338,7 +569,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
338
569
  scriptPath?: string | undefined;
339
570
  modules?: boolean | undefined;
340
571
  modulesRules?: {
341
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
572
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
342
573
  include: string[];
343
574
  fallthrough?: boolean | undefined;
344
575
  }[] | undefined;
@@ -347,15 +578,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
347
578
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
348
579
  modules: z.ZodOptional<z.ZodBoolean>;
349
580
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
350
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
581
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
351
582
  include: z.ZodArray<z.ZodString, "many">;
352
583
  fallthrough: z.ZodOptional<z.ZodBoolean>;
353
584
  }, "strip", z.ZodTypeAny, {
354
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
585
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
355
586
  include: string[];
356
587
  fallthrough?: boolean | undefined;
357
588
  }, {
358
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
589
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
359
590
  include: string[];
360
591
  fallthrough?: boolean | undefined;
361
592
  }>, "many">>;
@@ -364,7 +595,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
364
595
  scriptPath: string;
365
596
  modules?: boolean | undefined;
366
597
  modulesRules?: {
367
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
598
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
368
599
  include: string[];
369
600
  fallthrough?: boolean | undefined;
370
601
  }[] | undefined;
@@ -373,7 +604,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
373
604
  scriptPath: string;
374
605
  modules?: boolean | undefined;
375
606
  modulesRules?: {
376
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
607
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
377
608
  include: string[];
378
609
  fallthrough?: boolean | undefined;
379
610
  }[] | undefined;
@@ -383,11 +614,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
383
614
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
384
615
  compatibilityDate: z.ZodOptional<z.ZodString>;
385
616
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
617
+ unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
386
618
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
387
619
  bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
388
- wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>>;
620
+ wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
389
621
  textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
390
- dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>>;
622
+ dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
391
623
  serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
392
624
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
393
625
  entrypoint: z.ZodOptional<z.ZodString>;
@@ -415,7 +647,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
415
647
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
416
648
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
417
649
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
418
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
650
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
651
+ readonly GOOD_DEFAULT: 0;
652
+ readonly SSL3: 1;
653
+ readonly TLS1DOT0: 2;
654
+ readonly TLS1DOT1: 3;
655
+ readonly TLS1DOT2: 4;
656
+ readonly TLS1DOT3: 5;
657
+ }>>;
419
658
  cipherList: z.ZodOptional<z.ZodString>;
420
659
  }, "strip", z.ZodTypeAny, {
421
660
  keypair?: {
@@ -425,7 +664,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
425
664
  requireClientCerts?: boolean | undefined;
426
665
  trustBrowserCas?: boolean | undefined;
427
666
  trustedCertificates?: string[] | undefined;
428
- minVersion?: TlsOptions_Version | undefined;
667
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
429
668
  cipherList?: string | undefined;
430
669
  }, {
431
670
  keypair?: {
@@ -435,7 +674,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
435
674
  requireClientCerts?: boolean | undefined;
436
675
  trustBrowserCas?: boolean | undefined;
437
676
  trustedCertificates?: string[] | undefined;
438
- minVersion?: TlsOptions_Version | undefined;
677
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
439
678
  cipherList?: string | undefined;
440
679
  }>>;
441
680
  }, "strip", z.ZodTypeAny, {
@@ -449,7 +688,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
449
688
  requireClientCerts?: boolean | undefined;
450
689
  trustBrowserCas?: boolean | undefined;
451
690
  trustedCertificates?: string[] | undefined;
452
- minVersion?: TlsOptions_Version | undefined;
691
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
453
692
  cipherList?: string | undefined;
454
693
  } | undefined;
455
694
  }, {
@@ -463,7 +702,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
463
702
  requireClientCerts?: boolean | undefined;
464
703
  trustBrowserCas?: boolean | undefined;
465
704
  trustedCertificates?: string[] | undefined;
466
- minVersion?: TlsOptions_Version | undefined;
705
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
467
706
  cipherList?: string | undefined;
468
707
  } | undefined;
469
708
  }>;
@@ -479,7 +718,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
479
718
  requireClientCerts?: boolean | undefined;
480
719
  trustBrowserCas?: boolean | undefined;
481
720
  trustedCertificates?: string[] | undefined;
482
- minVersion?: TlsOptions_Version | undefined;
721
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
483
722
  cipherList?: string | undefined;
484
723
  } | undefined;
485
724
  };
@@ -495,16 +734,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
495
734
  requireClientCerts?: boolean | undefined;
496
735
  trustBrowserCas?: boolean | undefined;
497
736
  trustedCertificates?: string[] | undefined;
498
- minVersion?: TlsOptions_Version | undefined;
737
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
499
738
  cipherList?: string | undefined;
500
739
  } | undefined;
501
740
  };
502
741
  }>, z.ZodObject<{
503
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
742
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
504
743
  }, "strip", z.ZodTypeAny, {
505
- external: ExternalServer & (ExternalServer | undefined);
744
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
506
745
  }, {
507
- external: ExternalServer & (ExternalServer | undefined);
746
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
508
747
  }>, z.ZodObject<{
509
748
  disk: z.ZodObject<{
510
749
  path: z.ZodString;
@@ -526,7 +765,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
526
765
  path: string;
527
766
  writable?: boolean | undefined;
528
767
  };
529
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>>;
768
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>>;
530
769
  wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
531
770
  scriptName: z.ZodString;
532
771
  entrypoint: z.ZodOptional<z.ZodString>;
@@ -567,7 +806,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
567
806
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
568
807
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
569
808
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
570
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
809
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
810
+ readonly GOOD_DEFAULT: 0;
811
+ readonly SSL3: 1;
812
+ readonly TLS1DOT0: 2;
813
+ readonly TLS1DOT1: 3;
814
+ readonly TLS1DOT2: 4;
815
+ readonly TLS1DOT3: 5;
816
+ }>>;
571
817
  cipherList: z.ZodOptional<z.ZodString>;
572
818
  }, "strip", z.ZodTypeAny, {
573
819
  keypair?: {
@@ -577,7 +823,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
577
823
  requireClientCerts?: boolean | undefined;
578
824
  trustBrowserCas?: boolean | undefined;
579
825
  trustedCertificates?: string[] | undefined;
580
- minVersion?: TlsOptions_Version | undefined;
826
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
581
827
  cipherList?: string | undefined;
582
828
  }, {
583
829
  keypair?: {
@@ -587,7 +833,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
587
833
  requireClientCerts?: boolean | undefined;
588
834
  trustBrowserCas?: boolean | undefined;
589
835
  trustedCertificates?: string[] | undefined;
590
- minVersion?: TlsOptions_Version | undefined;
836
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
591
837
  cipherList?: string | undefined;
592
838
  }>>;
593
839
  }, "strip", z.ZodTypeAny, {
@@ -601,7 +847,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
601
847
  requireClientCerts?: boolean | undefined;
602
848
  trustBrowserCas?: boolean | undefined;
603
849
  trustedCertificates?: string[] | undefined;
604
- minVersion?: TlsOptions_Version | undefined;
850
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
605
851
  cipherList?: string | undefined;
606
852
  } | undefined;
607
853
  }, {
@@ -615,7 +861,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
615
861
  requireClientCerts?: boolean | undefined;
616
862
  trustBrowserCas?: boolean | undefined;
617
863
  trustedCertificates?: string[] | undefined;
618
- minVersion?: TlsOptions_Version | undefined;
864
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
619
865
  cipherList?: string | undefined;
620
866
  } | undefined;
621
867
  }>;
@@ -631,7 +877,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
631
877
  requireClientCerts?: boolean | undefined;
632
878
  trustBrowserCas?: boolean | undefined;
633
879
  trustedCertificates?: string[] | undefined;
634
- minVersion?: TlsOptions_Version | undefined;
880
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
635
881
  cipherList?: string | undefined;
636
882
  } | undefined;
637
883
  };
@@ -647,16 +893,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
647
893
  requireClientCerts?: boolean | undefined;
648
894
  trustBrowserCas?: boolean | undefined;
649
895
  trustedCertificates?: string[] | undefined;
650
- minVersion?: TlsOptions_Version | undefined;
896
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
651
897
  cipherList?: string | undefined;
652
898
  } | undefined;
653
899
  };
654
900
  }>, z.ZodObject<{
655
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
901
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
656
902
  }, "strip", z.ZodTypeAny, {
657
- external: ExternalServer & (ExternalServer | undefined);
903
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
658
904
  }, {
659
- external: ExternalServer & (ExternalServer | undefined);
905
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
660
906
  }>, z.ZodObject<{
661
907
  disk: z.ZodObject<{
662
908
  path: z.ZodString;
@@ -678,7 +924,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
678
924
  path: string;
679
925
  writable?: boolean | undefined;
680
926
  };
681
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>;
927
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>;
682
928
  fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
683
929
  unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
684
930
  unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -699,8 +945,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
699
945
  }>, "many">>;
700
946
  unsafeEvalBinding: z.ZodOptional<z.ZodString>;
701
947
  unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
702
- /** Used to set the vitest pool worker SELF binding to point to the router worker if there are assets.
703
- (If there are assets but we're not using vitest, the miniflare entry worker can point directly to RW.)
948
+ /** Used to set the vitest pool worker SELF binding to point to the Router Worker if there are assets.
949
+ (If there are assets but we're not using vitest, the miniflare entry worker can point directly to
950
+ Router Worker)
704
951
  */
705
952
  hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
706
953
  }, "strip", z.ZodTypeAny, {
@@ -708,11 +955,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
708
955
  rootPath?: undefined;
709
956
  compatibilityDate?: string | undefined;
710
957
  compatibilityFlags?: string[] | undefined;
958
+ unsafeInspectorProxy?: boolean | undefined;
711
959
  routes?: string[] | undefined;
712
960
  bindings?: Record<string, Json> | undefined;
713
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
961
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
714
962
  textBlobBindings?: Record<string, string> | undefined;
715
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
963
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
716
964
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
717
965
  name: string | typeof kCurrentWorker;
718
966
  entrypoint?: string | undefined;
@@ -728,18 +976,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
728
976
  requireClientCerts?: boolean | undefined;
729
977
  trustBrowserCas?: boolean | undefined;
730
978
  trustedCertificates?: string[] | undefined;
731
- minVersion?: TlsOptions_Version | undefined;
979
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
732
980
  cipherList?: string | undefined;
733
981
  } | undefined;
734
982
  };
735
983
  } | {
736
- external: ExternalServer & (ExternalServer | undefined);
984
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
737
985
  } | {
738
986
  disk: {
739
987
  path: string;
740
988
  writable?: boolean | undefined;
741
989
  };
742
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
990
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
743
991
  wrappedBindings?: Record<string, string | {
744
992
  scriptName: string;
745
993
  entrypoint?: string | undefined;
@@ -760,18 +1008,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
760
1008
  requireClientCerts?: boolean | undefined;
761
1009
  trustBrowserCas?: boolean | undefined;
762
1010
  trustedCertificates?: string[] | undefined;
763
- minVersion?: TlsOptions_Version | undefined;
1011
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
764
1012
  cipherList?: string | undefined;
765
1013
  } | undefined;
766
1014
  };
767
1015
  } | {
768
- external: ExternalServer & (ExternalServer | undefined);
1016
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
769
1017
  } | {
770
1018
  disk: {
771
1019
  path: string;
772
1020
  writable?: boolean | undefined;
773
1021
  };
774
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1022
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
775
1023
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
776
1024
  unsafeEphemeralDurableObjects?: boolean | undefined;
777
1025
  unsafeDirectSockets?: {
@@ -788,11 +1036,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
788
1036
  rootPath?: string | undefined;
789
1037
  compatibilityDate?: string | undefined;
790
1038
  compatibilityFlags?: string[] | undefined;
1039
+ unsafeInspectorProxy?: boolean | undefined;
791
1040
  routes?: string[] | undefined;
792
1041
  bindings?: Record<string, Json> | undefined;
793
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1042
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
794
1043
  textBlobBindings?: Record<string, string> | undefined;
795
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1044
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
796
1045
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
797
1046
  name: string | typeof kCurrentWorker;
798
1047
  entrypoint?: string | undefined;
@@ -808,18 +1057,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
808
1057
  requireClientCerts?: boolean | undefined;
809
1058
  trustBrowserCas?: boolean | undefined;
810
1059
  trustedCertificates?: string[] | undefined;
811
- minVersion?: TlsOptions_Version | undefined;
1060
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
812
1061
  cipherList?: string | undefined;
813
1062
  } | undefined;
814
1063
  };
815
1064
  } | {
816
- external: ExternalServer & (ExternalServer | undefined);
1065
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
817
1066
  } | {
818
1067
  disk: {
819
1068
  path: string;
820
1069
  writable?: boolean | undefined;
821
1070
  };
822
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1071
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
823
1072
  wrappedBindings?: Record<string, string | {
824
1073
  scriptName: string;
825
1074
  entrypoint?: string | undefined;
@@ -840,18 +1089,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
840
1089
  requireClientCerts?: boolean | undefined;
841
1090
  trustBrowserCas?: boolean | undefined;
842
1091
  trustedCertificates?: string[] | undefined;
843
- minVersion?: TlsOptions_Version | undefined;
1092
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
844
1093
  cipherList?: string | undefined;
845
1094
  } | undefined;
846
1095
  };
847
1096
  } | {
848
- external: ExternalServer & (ExternalServer | undefined);
1097
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
849
1098
  } | {
850
1099
  disk: {
851
1100
  path: string;
852
1101
  writable?: boolean | undefined;
853
1102
  };
854
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1103
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
855
1104
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
856
1105
  unsafeEphemeralDurableObjects?: boolean | undefined;
857
1106
  unsafeDirectSockets?: {
@@ -865,9 +1114,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
865
1114
  hasAssetsAndIsVitest?: boolean | undefined;
866
1115
  }>>, ({
867
1116
  modules: {
868
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1117
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
869
1118
  path: string;
870
- contents?: string | Uint8Array | undefined;
1119
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
871
1120
  }[];
872
1121
  modulesRoot?: string | undefined;
873
1122
  } & {
@@ -875,11 +1124,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
875
1124
  rootPath?: undefined;
876
1125
  compatibilityDate?: string | undefined;
877
1126
  compatibilityFlags?: string[] | undefined;
1127
+ unsafeInspectorProxy?: boolean | undefined;
878
1128
  routes?: string[] | undefined;
879
1129
  bindings?: Record<string, Json> | undefined;
880
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1130
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
881
1131
  textBlobBindings?: Record<string, string> | undefined;
882
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1132
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
883
1133
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
884
1134
  name: string | typeof kCurrentWorker;
885
1135
  entrypoint?: string | undefined;
@@ -895,18 +1145,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
895
1145
  requireClientCerts?: boolean | undefined;
896
1146
  trustBrowserCas?: boolean | undefined;
897
1147
  trustedCertificates?: string[] | undefined;
898
- minVersion?: TlsOptions_Version | undefined;
1148
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
899
1149
  cipherList?: string | undefined;
900
1150
  } | undefined;
901
1151
  };
902
1152
  } | {
903
- external: ExternalServer & (ExternalServer | undefined);
1153
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
904
1154
  } | {
905
1155
  disk: {
906
1156
  path: string;
907
1157
  writable?: boolean | undefined;
908
1158
  };
909
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1159
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
910
1160
  wrappedBindings?: Record<string, string | {
911
1161
  scriptName: string;
912
1162
  entrypoint?: string | undefined;
@@ -927,18 +1177,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
927
1177
  requireClientCerts?: boolean | undefined;
928
1178
  trustBrowserCas?: boolean | undefined;
929
1179
  trustedCertificates?: string[] | undefined;
930
- minVersion?: TlsOptions_Version | undefined;
1180
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
931
1181
  cipherList?: string | undefined;
932
1182
  } | undefined;
933
1183
  };
934
1184
  } | {
935
- external: ExternalServer & (ExternalServer | undefined);
1185
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
936
1186
  } | {
937
1187
  disk: {
938
1188
  path: string;
939
1189
  writable?: boolean | undefined;
940
1190
  };
941
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1191
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
942
1192
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
943
1193
  unsafeEphemeralDurableObjects?: boolean | undefined;
944
1194
  unsafeDirectSockets?: {
@@ -955,7 +1205,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
955
1205
  scriptPath?: string | undefined;
956
1206
  modules?: boolean | undefined;
957
1207
  modulesRules?: {
958
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1208
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
959
1209
  include: string[];
960
1210
  fallthrough?: boolean | undefined;
961
1211
  }[] | undefined;
@@ -965,11 +1215,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
965
1215
  rootPath?: undefined;
966
1216
  compatibilityDate?: string | undefined;
967
1217
  compatibilityFlags?: string[] | undefined;
1218
+ unsafeInspectorProxy?: boolean | undefined;
968
1219
  routes?: string[] | undefined;
969
1220
  bindings?: Record<string, Json> | undefined;
970
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1221
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
971
1222
  textBlobBindings?: Record<string, string> | undefined;
972
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1223
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
973
1224
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
974
1225
  name: string | typeof kCurrentWorker;
975
1226
  entrypoint?: string | undefined;
@@ -985,18 +1236,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
985
1236
  requireClientCerts?: boolean | undefined;
986
1237
  trustBrowserCas?: boolean | undefined;
987
1238
  trustedCertificates?: string[] | undefined;
988
- minVersion?: TlsOptions_Version | undefined;
1239
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
989
1240
  cipherList?: string | undefined;
990
1241
  } | undefined;
991
1242
  };
992
1243
  } | {
993
- external: ExternalServer & (ExternalServer | undefined);
1244
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
994
1245
  } | {
995
1246
  disk: {
996
1247
  path: string;
997
1248
  writable?: boolean | undefined;
998
1249
  };
999
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1250
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1000
1251
  wrappedBindings?: Record<string, string | {
1001
1252
  scriptName: string;
1002
1253
  entrypoint?: string | undefined;
@@ -1017,18 +1268,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1017
1268
  requireClientCerts?: boolean | undefined;
1018
1269
  trustBrowserCas?: boolean | undefined;
1019
1270
  trustedCertificates?: string[] | undefined;
1020
- minVersion?: TlsOptions_Version | undefined;
1271
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1021
1272
  cipherList?: string | undefined;
1022
1273
  } | undefined;
1023
1274
  };
1024
1275
  } | {
1025
- external: ExternalServer & (ExternalServer | undefined);
1276
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1026
1277
  } | {
1027
1278
  disk: {
1028
1279
  path: string;
1029
1280
  writable?: boolean | undefined;
1030
1281
  };
1031
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1282
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1032
1283
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1033
1284
  unsafeEphemeralDurableObjects?: boolean | undefined;
1034
1285
  unsafeDirectSockets?: {
@@ -1044,7 +1295,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1044
1295
  scriptPath: string;
1045
1296
  modules?: boolean | undefined;
1046
1297
  modulesRules?: {
1047
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1298
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1048
1299
  include: string[];
1049
1300
  fallthrough?: boolean | undefined;
1050
1301
  }[] | undefined;
@@ -1054,11 +1305,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1054
1305
  rootPath?: undefined;
1055
1306
  compatibilityDate?: string | undefined;
1056
1307
  compatibilityFlags?: string[] | undefined;
1308
+ unsafeInspectorProxy?: boolean | undefined;
1057
1309
  routes?: string[] | undefined;
1058
1310
  bindings?: Record<string, Json> | undefined;
1059
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1311
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1060
1312
  textBlobBindings?: Record<string, string> | undefined;
1061
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1313
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1062
1314
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1063
1315
  name: string | typeof kCurrentWorker;
1064
1316
  entrypoint?: string | undefined;
@@ -1074,18 +1326,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1074
1326
  requireClientCerts?: boolean | undefined;
1075
1327
  trustBrowserCas?: boolean | undefined;
1076
1328
  trustedCertificates?: string[] | undefined;
1077
- minVersion?: TlsOptions_Version | undefined;
1329
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1078
1330
  cipherList?: string | undefined;
1079
1331
  } | undefined;
1080
1332
  };
1081
1333
  } | {
1082
- external: ExternalServer & (ExternalServer | undefined);
1334
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1083
1335
  } | {
1084
1336
  disk: {
1085
1337
  path: string;
1086
1338
  writable?: boolean | undefined;
1087
1339
  };
1088
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1340
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1089
1341
  wrappedBindings?: Record<string, string | {
1090
1342
  scriptName: string;
1091
1343
  entrypoint?: string | undefined;
@@ -1106,18 +1358,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1106
1358
  requireClientCerts?: boolean | undefined;
1107
1359
  trustBrowserCas?: boolean | undefined;
1108
1360
  trustedCertificates?: string[] | undefined;
1109
- minVersion?: TlsOptions_Version | undefined;
1361
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1110
1362
  cipherList?: string | undefined;
1111
1363
  } | undefined;
1112
1364
  };
1113
1365
  } | {
1114
- external: ExternalServer & (ExternalServer | undefined);
1366
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1115
1367
  } | {
1116
1368
  disk: {
1117
1369
  path: string;
1118
1370
  writable?: boolean | undefined;
1119
1371
  };
1120
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1372
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1121
1373
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1122
1374
  unsafeEphemeralDurableObjects?: boolean | undefined;
1123
1375
  unsafeDirectSockets?: {
@@ -1131,9 +1383,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1131
1383
  hasAssetsAndIsVitest?: boolean | undefined;
1132
1384
  }), ({
1133
1385
  modules: {
1134
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1386
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1135
1387
  path: string;
1136
- contents?: string | Uint8Array | undefined;
1388
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1137
1389
  }[];
1138
1390
  modulesRoot?: string | undefined;
1139
1391
  } | {
@@ -1141,7 +1393,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1141
1393
  scriptPath?: string | undefined;
1142
1394
  modules?: boolean | undefined;
1143
1395
  modulesRules?: {
1144
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1396
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1145
1397
  include: string[];
1146
1398
  fallthrough?: boolean | undefined;
1147
1399
  }[] | undefined;
@@ -1150,7 +1402,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1150
1402
  scriptPath: string;
1151
1403
  modules?: boolean | undefined;
1152
1404
  modulesRules?: {
1153
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1405
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1154
1406
  include: string[];
1155
1407
  fallthrough?: boolean | undefined;
1156
1408
  }[] | undefined;
@@ -1160,11 +1412,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1160
1412
  rootPath?: string | undefined;
1161
1413
  compatibilityDate?: string | undefined;
1162
1414
  compatibilityFlags?: string[] | undefined;
1415
+ unsafeInspectorProxy?: boolean | undefined;
1163
1416
  routes?: string[] | undefined;
1164
1417
  bindings?: Record<string, Json> | undefined;
1165
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1418
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1166
1419
  textBlobBindings?: Record<string, string> | undefined;
1167
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1420
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1168
1421
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1169
1422
  name: string | typeof kCurrentWorker;
1170
1423
  entrypoint?: string | undefined;
@@ -1180,18 +1433,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1180
1433
  requireClientCerts?: boolean | undefined;
1181
1434
  trustBrowserCas?: boolean | undefined;
1182
1435
  trustedCertificates?: string[] | undefined;
1183
- minVersion?: TlsOptions_Version | undefined;
1436
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1184
1437
  cipherList?: string | undefined;
1185
1438
  } | undefined;
1186
1439
  };
1187
1440
  } | {
1188
- external: ExternalServer & (ExternalServer | undefined);
1441
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1189
1442
  } | {
1190
1443
  disk: {
1191
1444
  path: string;
1192
1445
  writable?: boolean | undefined;
1193
1446
  };
1194
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1447
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1195
1448
  wrappedBindings?: Record<string, string | {
1196
1449
  scriptName: string;
1197
1450
  entrypoint?: string | undefined;
@@ -1212,18 +1465,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1212
1465
  requireClientCerts?: boolean | undefined;
1213
1466
  trustBrowserCas?: boolean | undefined;
1214
1467
  trustedCertificates?: string[] | undefined;
1215
- minVersion?: TlsOptions_Version | undefined;
1468
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1216
1469
  cipherList?: string | undefined;
1217
1470
  } | undefined;
1218
1471
  };
1219
1472
  } | {
1220
- external: ExternalServer & (ExternalServer | undefined);
1473
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1221
1474
  } | {
1222
1475
  disk: {
1223
1476
  path: string;
1224
1477
  writable?: boolean | undefined;
1225
1478
  };
1226
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1479
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1227
1480
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1228
1481
  unsafeEphemeralDurableObjects?: boolean | undefined;
1229
1482
  unsafeDirectSockets?: {
@@ -1254,7 +1507,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1254
1507
  cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
1255
1508
  liveReload: z.ZodOptional<z.ZodBoolean>;
1256
1509
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
1257
- unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>>;
1510
+ unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>>;
1258
1511
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
1259
1512
  }, "strip", z.ZodTypeAny, {
1260
1513
  rootPath?: undefined;
@@ -1273,7 +1526,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1273
1526
  cf?: string | boolean | Record<string, any> | undefined;
1274
1527
  liveReload?: boolean | undefined;
1275
1528
  unsafeProxySharedSecret?: string | undefined;
1276
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1529
+ unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1277
1530
  unsafeStickyBlobs?: boolean | undefined;
1278
1531
  }, {
1279
1532
  rootPath?: string | undefined;
@@ -1292,7 +1545,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1292
1545
  cf?: string | boolean | Record<string, any> | undefined;
1293
1546
  liveReload?: boolean | undefined;
1294
1547
  unsafeProxySharedSecret?: string | undefined;
1295
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1548
+ unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1296
1549
  unsafeStickyBlobs?: boolean | undefined;
1297
1550
  }>;
1298
1551
 
@@ -1345,6 +1598,7 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
1345
1598
  export declare interface DiskDirectory {
1346
1599
  path?: string;
1347
1600
  writable?: boolean;
1601
+ allowDotfiles?: boolean;
1348
1602
  }
1349
1603
 
1350
1604
  export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
@@ -1526,13 +1780,10 @@ export declare function getMiniflareObjectBindings(unsafeStickyBlobs: boolean):
1526
1780
  *
1527
1781
  * @param compatibilityDateStr The compatibility date
1528
1782
  * @param compatibilityFlags The compatibility flags
1529
- * @param opts.nodeCompat Whether the legacy node_compat arg is being used
1530
1783
  * @returns the mode and flags to indicate specific configuration for validating.
1531
1784
  */
1532
1785
  export declare function getNodeCompat(compatibilityDate: string | undefined, // Default to some arbitrary old date
1533
- compatibilityFlags: string[], opts?: {
1534
- nodeCompat?: boolean;
1535
- }): {
1786
+ compatibilityFlags: string[]): {
1536
1787
  mode: NodeJSCompatMode;
1537
1788
  hasNodejsAlsFlag: boolean;
1538
1789
  hasNodejsCompatFlag: boolean;
@@ -1576,10 +1827,12 @@ export declare interface HttpOptions_Header {
1576
1827
  value?: string;
1577
1828
  }
1578
1829
 
1579
- export declare enum HttpOptions_Style {
1580
- HOST = 0,
1581
- PROXY = 1
1582
- }
1830
+ export declare const HttpOptions_Style: {
1831
+ readonly HOST: 0;
1832
+ readonly PROXY: 1;
1833
+ };
1834
+
1835
+ export declare type HttpOptions_Style = (typeof HttpOptions_Style)[keyof typeof HttpOptions_Style];
1583
1836
 
1584
1837
  export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
1585
1838
 
@@ -1751,6 +2004,8 @@ export declare interface MatcherRegExps {
1751
2004
 
1752
2005
  export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
1753
2006
 
2007
+ export declare const MAX_BULK_GET_KEYS = 100;
2008
+
1754
2009
  export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
1755
2010
 
1756
2011
  export declare function maybeParseURL(url: Persistence): URL | undefined;
@@ -1763,9 +2018,9 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
1763
2018
  export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
1764
2019
 
1765
2020
  declare class MessageEvent_2 extends Event {
1766
- readonly data: ArrayBuffer | string;
2021
+ readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
1767
2022
  constructor(type: "message", init: {
1768
- data: ArrayBuffer | string;
2023
+ data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
1769
2024
  });
1770
2025
  }
1771
2026
  export { MessageEvent_2 as MessageEvent }
@@ -1798,7 +2053,7 @@ export declare class Miniflare {
1798
2053
  export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
1799
2054
  }
1800
2055
 
1801
- export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC";
2056
+ export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC" | "ERR_MISSING_INSPECTOR_PROXY_PORT";
1802
2057
 
1803
2058
  export declare class MiniflareError<Code extends string | number = string | number> extends Error {
1804
2059
  readonly code: Code;
@@ -1813,38 +2068,38 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
1813
2068
  export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
1814
2069
 
1815
2070
  export declare const ModuleDefinitionSchema: z.ZodObject<{
1816
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2071
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1817
2072
  path: z.ZodEffects<z.ZodString, string, string>;
1818
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
2073
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
1819
2074
  }, "strip", z.ZodTypeAny, {
1820
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2075
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1821
2076
  path: string;
1822
- contents?: string | Uint8Array | undefined;
2077
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1823
2078
  }, {
1824
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2079
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1825
2080
  path: string;
1826
- contents?: string | Uint8Array | undefined;
2081
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1827
2082
  }>;
1828
2083
 
1829
2084
  export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
1830
2085
 
1831
2086
  export declare const ModuleRuleSchema: z.ZodObject<{
1832
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2087
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1833
2088
  include: z.ZodArray<z.ZodString, "many">;
1834
2089
  fallthrough: z.ZodOptional<z.ZodBoolean>;
1835
2090
  }, "strip", z.ZodTypeAny, {
1836
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2091
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1837
2092
  include: string[];
1838
2093
  fallthrough?: boolean | undefined;
1839
2094
  }, {
1840
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2095
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1841
2096
  include: string[];
1842
2097
  fallthrough?: boolean | undefined;
1843
2098
  }>;
1844
2099
 
1845
2100
  export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
1846
2101
 
1847
- export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2102
+ export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1848
2103
 
1849
2104
  export declare class Mutex {
1850
2105
  private locked;
@@ -1871,14 +2126,13 @@ export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_3>;
1871
2126
 
1872
2127
  /**
1873
2128
  * We can provide Node.js compatibility in a number of different modes:
1874
- * - "legacy" - this mode adds compile-time polyfills that are not well maintained and cannot work with workerd runtime builtins.
1875
2129
  * - "als": this mode tells the workerd runtime to enable only the Async Local Storage builtin library (accessible via `node:async_hooks`).
1876
2130
  * - "v1" - this mode tells the workerd runtime to enable some Node.js builtin libraries (accessible only via `node:...` imports) but no globals.
1877
2131
  * - "v2" - this mode tells the workerd runtime to enable more Node.js builtin libraries (accessible both with and without the `node:` prefix)
1878
2132
  * and also some Node.js globals such as `Buffer`; it also turns on additional compile-time polyfills for those that are not provided by the runtime.
1879
2133
  * - null - no Node.js compatibility.
1880
2134
  */
1881
- export declare type NodeJSCompatMode = "legacy" | "als" | "v1" | "v2" | null;
2135
+ export declare type NodeJSCompatMode = "als" | "v1" | "v2" | null;
1882
2136
 
1883
2137
  export declare class NoOpLog extends Log {
1884
2138
  constructor();
@@ -1900,7 +2154,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
1900
2154
 
1901
2155
  export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
1902
2156
 
1903
- export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion9<T>;
2157
+ export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion14<T>;
2158
+
2159
+ export declare type OverloadUnion10<T> = T extends {
2160
+ (...args: infer P1): infer R1;
2161
+ (...args: infer P2): infer R2;
2162
+ (...args: infer P3): infer R3;
2163
+ (...args: infer P4): infer R4;
2164
+ (...args: infer P5): infer R5;
2165
+ (...args: infer P6): infer R6;
2166
+ (...args: infer P7): infer R7;
2167
+ (...args: infer P8): infer R8;
2168
+ (...args: infer P9): infer R9;
2169
+ (...args: infer P10): infer R10;
2170
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) : OverloadUnion9<T>;
2171
+
2172
+ export declare type OverloadUnion11<T> = T extends {
2173
+ (...args: infer P1): infer R1;
2174
+ (...args: infer P2): infer R2;
2175
+ (...args: infer P3): infer R3;
2176
+ (...args: infer P4): infer R4;
2177
+ (...args: infer P5): infer R5;
2178
+ (...args: infer P6): infer R6;
2179
+ (...args: infer P7): infer R7;
2180
+ (...args: infer P8): infer R8;
2181
+ (...args: infer P9): infer R9;
2182
+ (...args: infer P10): infer R10;
2183
+ (...args: infer P11): infer R11;
2184
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) : OverloadUnion10<T>;
2185
+
2186
+ export declare type OverloadUnion12<T> = T extends {
2187
+ (...args: infer P1): infer R1;
2188
+ (...args: infer P2): infer R2;
2189
+ (...args: infer P3): infer R3;
2190
+ (...args: infer P4): infer R4;
2191
+ (...args: infer P5): infer R5;
2192
+ (...args: infer P6): infer R6;
2193
+ (...args: infer P7): infer R7;
2194
+ (...args: infer P8): infer R8;
2195
+ (...args: infer P9): infer R9;
2196
+ (...args: infer P10): infer R10;
2197
+ (...args: infer P11): infer R11;
2198
+ (...args: infer P12): infer R12;
2199
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) : OverloadUnion11<T>;
2200
+
2201
+ export declare type OverloadUnion13<T> = T extends {
2202
+ (...args: infer P1): infer R1;
2203
+ (...args: infer P2): infer R2;
2204
+ (...args: infer P3): infer R3;
2205
+ (...args: infer P4): infer R4;
2206
+ (...args: infer P5): infer R5;
2207
+ (...args: infer P6): infer R6;
2208
+ (...args: infer P7): infer R7;
2209
+ (...args: infer P8): infer R8;
2210
+ (...args: infer P9): infer R9;
2211
+ (...args: infer P10): infer R10;
2212
+ (...args: infer P11): infer R11;
2213
+ (...args: infer P12): infer R12;
2214
+ (...args: infer P13): infer R13;
2215
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) | ((...args: P13) => R13) : OverloadUnion12<T>;
2216
+
2217
+ export declare type OverloadUnion14<T> = T extends {
2218
+ (...args: infer P1): infer R1;
2219
+ (...args: infer P2): infer R2;
2220
+ (...args: infer P3): infer R3;
2221
+ (...args: infer P4): infer R4;
2222
+ (...args: infer P5): infer R5;
2223
+ (...args: infer P6): infer R6;
2224
+ (...args: infer P7): infer R7;
2225
+ (...args: infer P8): infer R8;
2226
+ (...args: infer P9): infer R9;
2227
+ (...args: infer P10): infer R10;
2228
+ (...args: infer P11): infer R11;
2229
+ (...args: infer P12): infer R12;
2230
+ (...args: infer P13): infer R13;
2231
+ (...args: infer P14): infer R14;
2232
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) | ((...args: P13) => R13) | ((...args: P14) => R14) : OverloadUnion13<T>;
1904
2233
 
1905
2234
  export declare type OverloadUnion2<T> = T extends {
1906
2235
  (...args: infer P1): infer R1;
@@ -1996,12 +2325,24 @@ export declare type Persistence = z.infer<typeof PersistenceSchema>;
1996
2325
 
1997
2326
  export declare const PersistenceSchema: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
1998
2327
 
2328
+ export declare const PIPELINE_PLUGIN: Plugin<typeof PipelineOptionsSchema>;
2329
+
2330
+ export declare const PipelineOptionsSchema: z.ZodObject<{
2331
+ pipelines: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ pipelines?: string[] | Record<string, string> | undefined;
2334
+ }, {
2335
+ pipelines?: string[] | Record<string, string> | undefined;
2336
+ }>;
2337
+
2338
+ export declare const PIPELINES_PLUGIN_NAME = "pipelines";
2339
+
1999
2340
  export declare interface PlatformImpl<RS> {
2000
2341
  Blob: typeof Blob_2;
2001
2342
  File: typeof File_2;
2002
2343
  Headers: typeof Headers_3;
2003
- Request: typeof Request_4;
2004
- Response: typeof Response_4;
2344
+ Request: typeof Request_5;
2345
+ Response: typeof Response_5;
2005
2346
  isReadableStream(value: unknown): value is RS;
2006
2347
  bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
2007
2348
  unbufferReadableStream(buffer: ArrayBuffer): RS;
@@ -2024,33 +2365,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
2024
2365
  }
2025
2366
 
2026
2367
  export declare const PLUGINS: {
2027
- core: Plugin<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2368
+ core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2028
2369
  modules: z.ZodArray<z.ZodObject<{
2029
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2370
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2030
2371
  path: z.ZodEffects<z.ZodString, string, string>;
2031
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
2372
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2032
2373
  }, "strip", z.ZodTypeAny, {
2033
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2374
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2034
2375
  path: string;
2035
- contents?: string | Uint8Array | undefined;
2376
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2036
2377
  }, {
2037
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2378
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2038
2379
  path: string;
2039
- contents?: string | Uint8Array | undefined;
2380
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2040
2381
  }>, "many">;
2041
2382
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2042
2383
  }, "strip", z.ZodTypeAny, {
2043
2384
  modules: {
2044
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2385
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2045
2386
  path: string;
2046
- contents?: string | Uint8Array | undefined;
2387
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2047
2388
  }[];
2048
2389
  modulesRoot?: string | undefined;
2049
2390
  }, {
2050
2391
  modules: {
2051
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2392
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2052
2393
  path: string;
2053
- contents?: string | Uint8Array | undefined;
2394
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2054
2395
  }[];
2055
2396
  modulesRoot?: string | undefined;
2056
2397
  }>, z.ZodObject<{
@@ -2058,15 +2399,15 @@ export declare const PLUGINS: {
2058
2399
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2059
2400
  modules: z.ZodOptional<z.ZodBoolean>;
2060
2401
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2061
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2402
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2062
2403
  include: z.ZodArray<z.ZodString, "many">;
2063
2404
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2064
2405
  }, "strip", z.ZodTypeAny, {
2065
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2406
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2066
2407
  include: string[];
2067
2408
  fallthrough?: boolean | undefined;
2068
2409
  }, {
2069
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2410
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2070
2411
  include: string[];
2071
2412
  fallthrough?: boolean | undefined;
2072
2413
  }>, "many">>;
@@ -2076,7 +2417,7 @@ export declare const PLUGINS: {
2076
2417
  scriptPath?: string | undefined;
2077
2418
  modules?: boolean | undefined;
2078
2419
  modulesRules?: {
2079
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2420
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2080
2421
  include: string[];
2081
2422
  fallthrough?: boolean | undefined;
2082
2423
  }[] | undefined;
@@ -2086,7 +2427,7 @@ export declare const PLUGINS: {
2086
2427
  scriptPath?: string | undefined;
2087
2428
  modules?: boolean | undefined;
2088
2429
  modulesRules?: {
2089
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2430
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2090
2431
  include: string[];
2091
2432
  fallthrough?: boolean | undefined;
2092
2433
  }[] | undefined;
@@ -2095,15 +2436,15 @@ export declare const PLUGINS: {
2095
2436
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
2096
2437
  modules: z.ZodOptional<z.ZodBoolean>;
2097
2438
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2098
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2439
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2099
2440
  include: z.ZodArray<z.ZodString, "many">;
2100
2441
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2101
2442
  }, "strip", z.ZodTypeAny, {
2102
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2443
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2103
2444
  include: string[];
2104
2445
  fallthrough?: boolean | undefined;
2105
2446
  }, {
2106
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2447
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2107
2448
  include: string[];
2108
2449
  fallthrough?: boolean | undefined;
2109
2450
  }>, "many">>;
@@ -2112,7 +2453,7 @@ export declare const PLUGINS: {
2112
2453
  scriptPath: string;
2113
2454
  modules?: boolean | undefined;
2114
2455
  modulesRules?: {
2115
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2456
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2116
2457
  include: string[];
2117
2458
  fallthrough?: boolean | undefined;
2118
2459
  }[] | undefined;
@@ -2121,7 +2462,7 @@ export declare const PLUGINS: {
2121
2462
  scriptPath: string;
2122
2463
  modules?: boolean | undefined;
2123
2464
  modulesRules?: {
2124
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2465
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2125
2466
  include: string[];
2126
2467
  fallthrough?: boolean | undefined;
2127
2468
  }[] | undefined;
@@ -2131,19 +2472,20 @@ export declare const PLUGINS: {
2131
2472
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
2132
2473
  compatibilityDate: z.ZodOptional<z.ZodString>;
2133
2474
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2475
+ unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
2134
2476
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2135
- bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
2136
- wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>>;
2477
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
2478
+ wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
2137
2479
  textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
2138
- dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>>;
2139
- serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>, z.ZodObject<{
2140
- name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>]>;
2480
+ dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
2481
+ serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2482
+ name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2141
2483
  entrypoint: z.ZodOptional<z.ZodString>;
2142
2484
  }, "strip", z.ZodTypeAny, {
2143
- name: string | kCurrentWorker;
2485
+ name: string | kCurrentWorker_2;
2144
2486
  entrypoint?: string | undefined;
2145
2487
  }, {
2146
- name: string | kCurrentWorker;
2488
+ name: string | kCurrentWorker_2;
2147
2489
  entrypoint?: string | undefined;
2148
2490
  }>, z.ZodObject<{
2149
2491
  network: z.ZodObject<{
@@ -2163,7 +2505,14 @@ export declare const PLUGINS: {
2163
2505
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
2164
2506
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
2165
2507
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2166
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
2508
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
2509
+ readonly GOOD_DEFAULT: 0;
2510
+ readonly SSL3: 1;
2511
+ readonly TLS1DOT0: 2;
2512
+ readonly TLS1DOT1: 3;
2513
+ readonly TLS1DOT2: 4;
2514
+ readonly TLS1DOT3: 5;
2515
+ }>>;
2167
2516
  cipherList: z.ZodOptional<z.ZodString>;
2168
2517
  }, "strip", z.ZodTypeAny, {
2169
2518
  keypair?: {
@@ -2173,7 +2522,7 @@ export declare const PLUGINS: {
2173
2522
  requireClientCerts?: boolean | undefined;
2174
2523
  trustBrowserCas?: boolean | undefined;
2175
2524
  trustedCertificates?: string[] | undefined;
2176
- minVersion?: TlsOptions_Version | undefined;
2525
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2177
2526
  cipherList?: string | undefined;
2178
2527
  }, {
2179
2528
  keypair?: {
@@ -2183,7 +2532,7 @@ export declare const PLUGINS: {
2183
2532
  requireClientCerts?: boolean | undefined;
2184
2533
  trustBrowserCas?: boolean | undefined;
2185
2534
  trustedCertificates?: string[] | undefined;
2186
- minVersion?: TlsOptions_Version | undefined;
2535
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2187
2536
  cipherList?: string | undefined;
2188
2537
  }>>;
2189
2538
  }, "strip", z.ZodTypeAny, {
@@ -2197,7 +2546,7 @@ export declare const PLUGINS: {
2197
2546
  requireClientCerts?: boolean | undefined;
2198
2547
  trustBrowserCas?: boolean | undefined;
2199
2548
  trustedCertificates?: string[] | undefined;
2200
- minVersion?: TlsOptions_Version | undefined;
2549
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2201
2550
  cipherList?: string | undefined;
2202
2551
  } | undefined;
2203
2552
  }, {
@@ -2211,7 +2560,7 @@ export declare const PLUGINS: {
2211
2560
  requireClientCerts?: boolean | undefined;
2212
2561
  trustBrowserCas?: boolean | undefined;
2213
2562
  trustedCertificates?: string[] | undefined;
2214
- minVersion?: TlsOptions_Version | undefined;
2563
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2215
2564
  cipherList?: string | undefined;
2216
2565
  } | undefined;
2217
2566
  }>;
@@ -2227,7 +2576,7 @@ export declare const PLUGINS: {
2227
2576
  requireClientCerts?: boolean | undefined;
2228
2577
  trustBrowserCas?: boolean | undefined;
2229
2578
  trustedCertificates?: string[] | undefined;
2230
- minVersion?: TlsOptions_Version | undefined;
2579
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2231
2580
  cipherList?: string | undefined;
2232
2581
  } | undefined;
2233
2582
  };
@@ -2243,16 +2592,16 @@ export declare const PLUGINS: {
2243
2592
  requireClientCerts?: boolean | undefined;
2244
2593
  trustBrowserCas?: boolean | undefined;
2245
2594
  trustedCertificates?: string[] | undefined;
2246
- minVersion?: TlsOptions_Version | undefined;
2595
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2247
2596
  cipherList?: string | undefined;
2248
2597
  } | undefined;
2249
2598
  };
2250
2599
  }>, z.ZodObject<{
2251
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
2600
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
2252
2601
  }, "strip", z.ZodTypeAny, {
2253
- external: ExternalServer & (ExternalServer | undefined);
2602
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2254
2603
  }, {
2255
- external: ExternalServer & (ExternalServer | undefined);
2604
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2256
2605
  }>, z.ZodObject<{
2257
2606
  disk: z.ZodObject<{
2258
2607
  path: z.ZodString;
@@ -2274,28 +2623,28 @@ export declare const PLUGINS: {
2274
2623
  path: string;
2275
2624
  writable?: boolean | undefined;
2276
2625
  };
2277
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>>;
2626
+ }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>>;
2278
2627
  wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2279
2628
  scriptName: z.ZodString;
2280
2629
  entrypoint: z.ZodOptional<z.ZodString>;
2281
- bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
2630
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
2282
2631
  }, "strip", z.ZodTypeAny, {
2283
2632
  scriptName: string;
2284
2633
  entrypoint?: string | undefined;
2285
- bindings?: Record<string, Json> | undefined;
2634
+ bindings?: Record<string, Json_2> | undefined;
2286
2635
  }, {
2287
2636
  scriptName: string;
2288
2637
  entrypoint?: string | undefined;
2289
- bindings?: Record<string, Json> | undefined;
2638
+ bindings?: Record<string, Json_2> | undefined;
2290
2639
  }>]>>>;
2291
- outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>, z.ZodObject<{
2292
- name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>]>;
2640
+ outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2641
+ name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2293
2642
  entrypoint: z.ZodOptional<z.ZodString>;
2294
2643
  }, "strip", z.ZodTypeAny, {
2295
- name: string | kCurrentWorker;
2644
+ name: string | kCurrentWorker_2;
2296
2645
  entrypoint?: string | undefined;
2297
2646
  }, {
2298
- name: string | kCurrentWorker;
2647
+ name: string | kCurrentWorker_2;
2299
2648
  entrypoint?: string | undefined;
2300
2649
  }>, z.ZodObject<{
2301
2650
  network: z.ZodObject<{
@@ -2315,7 +2664,14 @@ export declare const PLUGINS: {
2315
2664
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
2316
2665
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
2317
2666
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2318
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
2667
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
2668
+ readonly GOOD_DEFAULT: 0;
2669
+ readonly SSL3: 1;
2670
+ readonly TLS1DOT0: 2;
2671
+ readonly TLS1DOT1: 3;
2672
+ readonly TLS1DOT2: 4;
2673
+ readonly TLS1DOT3: 5;
2674
+ }>>;
2319
2675
  cipherList: z.ZodOptional<z.ZodString>;
2320
2676
  }, "strip", z.ZodTypeAny, {
2321
2677
  keypair?: {
@@ -2325,7 +2681,7 @@ export declare const PLUGINS: {
2325
2681
  requireClientCerts?: boolean | undefined;
2326
2682
  trustBrowserCas?: boolean | undefined;
2327
2683
  trustedCertificates?: string[] | undefined;
2328
- minVersion?: TlsOptions_Version | undefined;
2684
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2329
2685
  cipherList?: string | undefined;
2330
2686
  }, {
2331
2687
  keypair?: {
@@ -2335,7 +2691,7 @@ export declare const PLUGINS: {
2335
2691
  requireClientCerts?: boolean | undefined;
2336
2692
  trustBrowserCas?: boolean | undefined;
2337
2693
  trustedCertificates?: string[] | undefined;
2338
- minVersion?: TlsOptions_Version | undefined;
2694
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2339
2695
  cipherList?: string | undefined;
2340
2696
  }>>;
2341
2697
  }, "strip", z.ZodTypeAny, {
@@ -2349,7 +2705,7 @@ export declare const PLUGINS: {
2349
2705
  requireClientCerts?: boolean | undefined;
2350
2706
  trustBrowserCas?: boolean | undefined;
2351
2707
  trustedCertificates?: string[] | undefined;
2352
- minVersion?: TlsOptions_Version | undefined;
2708
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2353
2709
  cipherList?: string | undefined;
2354
2710
  } | undefined;
2355
2711
  }, {
@@ -2363,7 +2719,7 @@ export declare const PLUGINS: {
2363
2719
  requireClientCerts?: boolean | undefined;
2364
2720
  trustBrowserCas?: boolean | undefined;
2365
2721
  trustedCertificates?: string[] | undefined;
2366
- minVersion?: TlsOptions_Version | undefined;
2722
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2367
2723
  cipherList?: string | undefined;
2368
2724
  } | undefined;
2369
2725
  }>;
@@ -2379,7 +2735,7 @@ export declare const PLUGINS: {
2379
2735
  requireClientCerts?: boolean | undefined;
2380
2736
  trustBrowserCas?: boolean | undefined;
2381
2737
  trustedCertificates?: string[] | undefined;
2382
- minVersion?: TlsOptions_Version | undefined;
2738
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2383
2739
  cipherList?: string | undefined;
2384
2740
  } | undefined;
2385
2741
  };
@@ -2395,16 +2751,16 @@ export declare const PLUGINS: {
2395
2751
  requireClientCerts?: boolean | undefined;
2396
2752
  trustBrowserCas?: boolean | undefined;
2397
2753
  trustedCertificates?: string[] | undefined;
2398
- minVersion?: TlsOptions_Version | undefined;
2754
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2399
2755
  cipherList?: string | undefined;
2400
2756
  } | undefined;
2401
2757
  };
2402
2758
  }>, z.ZodObject<{
2403
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
2759
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
2404
2760
  }, "strip", z.ZodTypeAny, {
2405
- external: ExternalServer & (ExternalServer | undefined);
2761
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2406
2762
  }, {
2407
- external: ExternalServer & (ExternalServer | undefined);
2763
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2408
2764
  }>, z.ZodObject<{
2409
2765
  disk: z.ZodObject<{
2410
2766
  path: z.ZodString;
@@ -2426,7 +2782,7 @@ export declare const PLUGINS: {
2426
2782
  path: string;
2427
2783
  writable?: boolean | undefined;
2428
2784
  };
2429
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>;
2785
+ }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>;
2430
2786
  fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
2431
2787
  unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
2432
2788
  unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2453,13 +2809,14 @@ export declare const PLUGINS: {
2453
2809
  rootPath?: undefined;
2454
2810
  compatibilityDate?: string | undefined;
2455
2811
  compatibilityFlags?: string[] | undefined;
2812
+ unsafeInspectorProxy?: boolean | undefined;
2456
2813
  routes?: string[] | undefined;
2457
- bindings?: Record<string, Json> | undefined;
2458
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2814
+ bindings?: Record<string, Json_2> | undefined;
2815
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2459
2816
  textBlobBindings?: Record<string, string> | undefined;
2460
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2461
- serviceBindings?: Record<string, string | kCurrentWorker | {
2462
- name: string | kCurrentWorker;
2817
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2818
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2819
+ name: string | kCurrentWorker_2;
2463
2820
  entrypoint?: string | undefined;
2464
2821
  } | {
2465
2822
  network: {
@@ -2473,25 +2830,25 @@ export declare const PLUGINS: {
2473
2830
  requireClientCerts?: boolean | undefined;
2474
2831
  trustBrowserCas?: boolean | undefined;
2475
2832
  trustedCertificates?: string[] | undefined;
2476
- minVersion?: TlsOptions_Version | undefined;
2833
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2477
2834
  cipherList?: string | undefined;
2478
2835
  } | undefined;
2479
2836
  };
2480
2837
  } | {
2481
- external: ExternalServer & (ExternalServer | undefined);
2838
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2482
2839
  } | {
2483
2840
  disk: {
2484
2841
  path: string;
2485
2842
  writable?: boolean | undefined;
2486
2843
  };
2487
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2844
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2488
2845
  wrappedBindings?: Record<string, string | {
2489
2846
  scriptName: string;
2490
2847
  entrypoint?: string | undefined;
2491
- bindings?: Record<string, Json> | undefined;
2848
+ bindings?: Record<string, Json_2> | undefined;
2492
2849
  }> | undefined;
2493
- outboundService?: string | kCurrentWorker | {
2494
- name: string | kCurrentWorker;
2850
+ outboundService?: string | kCurrentWorker_2 | {
2851
+ name: string | kCurrentWorker_2;
2495
2852
  entrypoint?: string | undefined;
2496
2853
  } | {
2497
2854
  network: {
@@ -2505,18 +2862,18 @@ export declare const PLUGINS: {
2505
2862
  requireClientCerts?: boolean | undefined;
2506
2863
  trustBrowserCas?: boolean | undefined;
2507
2864
  trustedCertificates?: string[] | undefined;
2508
- minVersion?: TlsOptions_Version | undefined;
2865
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2509
2866
  cipherList?: string | undefined;
2510
2867
  } | undefined;
2511
2868
  };
2512
2869
  } | {
2513
- external: ExternalServer & (ExternalServer | undefined);
2870
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2514
2871
  } | {
2515
2872
  disk: {
2516
2873
  path: string;
2517
2874
  writable?: boolean | undefined;
2518
2875
  };
2519
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2876
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2520
2877
  fetchMock?: MockAgent<MockAgent> | undefined;
2521
2878
  unsafeEphemeralDurableObjects?: boolean | undefined;
2522
2879
  unsafeDirectSockets?: {
@@ -2533,13 +2890,14 @@ export declare const PLUGINS: {
2533
2890
  rootPath?: string | undefined;
2534
2891
  compatibilityDate?: string | undefined;
2535
2892
  compatibilityFlags?: string[] | undefined;
2893
+ unsafeInspectorProxy?: boolean | undefined;
2536
2894
  routes?: string[] | undefined;
2537
- bindings?: Record<string, Json> | undefined;
2538
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2895
+ bindings?: Record<string, Json_2> | undefined;
2896
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2539
2897
  textBlobBindings?: Record<string, string> | undefined;
2540
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2541
- serviceBindings?: Record<string, string | kCurrentWorker | {
2542
- name: string | kCurrentWorker;
2898
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2899
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2900
+ name: string | kCurrentWorker_2;
2543
2901
  entrypoint?: string | undefined;
2544
2902
  } | {
2545
2903
  network: {
@@ -2553,25 +2911,25 @@ export declare const PLUGINS: {
2553
2911
  requireClientCerts?: boolean | undefined;
2554
2912
  trustBrowserCas?: boolean | undefined;
2555
2913
  trustedCertificates?: string[] | undefined;
2556
- minVersion?: TlsOptions_Version | undefined;
2914
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2557
2915
  cipherList?: string | undefined;
2558
2916
  } | undefined;
2559
2917
  };
2560
2918
  } | {
2561
- external: ExternalServer & (ExternalServer | undefined);
2919
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2562
2920
  } | {
2563
2921
  disk: {
2564
2922
  path: string;
2565
2923
  writable?: boolean | undefined;
2566
2924
  };
2567
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2925
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2568
2926
  wrappedBindings?: Record<string, string | {
2569
2927
  scriptName: string;
2570
2928
  entrypoint?: string | undefined;
2571
- bindings?: Record<string, Json> | undefined;
2929
+ bindings?: Record<string, Json_2> | undefined;
2572
2930
  }> | undefined;
2573
- outboundService?: string | kCurrentWorker | {
2574
- name: string | kCurrentWorker;
2931
+ outboundService?: string | kCurrentWorker_2 | {
2932
+ name: string | kCurrentWorker_2;
2575
2933
  entrypoint?: string | undefined;
2576
2934
  } | {
2577
2935
  network: {
@@ -2585,18 +2943,18 @@ export declare const PLUGINS: {
2585
2943
  requireClientCerts?: boolean | undefined;
2586
2944
  trustBrowserCas?: boolean | undefined;
2587
2945
  trustedCertificates?: string[] | undefined;
2588
- minVersion?: TlsOptions_Version | undefined;
2946
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2589
2947
  cipherList?: string | undefined;
2590
2948
  } | undefined;
2591
2949
  };
2592
2950
  } | {
2593
- external: ExternalServer & (ExternalServer | undefined);
2951
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2594
2952
  } | {
2595
2953
  disk: {
2596
2954
  path: string;
2597
2955
  writable?: boolean | undefined;
2598
2956
  };
2599
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2957
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2600
2958
  fetchMock?: MockAgent<MockAgent> | undefined;
2601
2959
  unsafeEphemeralDurableObjects?: boolean | undefined;
2602
2960
  unsafeDirectSockets?: {
@@ -2610,9 +2968,9 @@ export declare const PLUGINS: {
2610
2968
  hasAssetsAndIsVitest?: boolean | undefined;
2611
2969
  }>>, ({
2612
2970
  modules: {
2613
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2971
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2614
2972
  path: string;
2615
- contents?: string | Uint8Array | undefined;
2973
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2616
2974
  }[];
2617
2975
  modulesRoot?: string | undefined;
2618
2976
  } & {
@@ -2620,13 +2978,14 @@ export declare const PLUGINS: {
2620
2978
  rootPath?: undefined;
2621
2979
  compatibilityDate?: string | undefined;
2622
2980
  compatibilityFlags?: string[] | undefined;
2981
+ unsafeInspectorProxy?: boolean | undefined;
2623
2982
  routes?: string[] | undefined;
2624
- bindings?: Record<string, Json> | undefined;
2625
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2983
+ bindings?: Record<string, Json_2> | undefined;
2984
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2626
2985
  textBlobBindings?: Record<string, string> | undefined;
2627
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2628
- serviceBindings?: Record<string, string | kCurrentWorker | {
2629
- name: string | kCurrentWorker;
2986
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2987
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2988
+ name: string | kCurrentWorker_2;
2630
2989
  entrypoint?: string | undefined;
2631
2990
  } | {
2632
2991
  network: {
@@ -2640,25 +2999,25 @@ export declare const PLUGINS: {
2640
2999
  requireClientCerts?: boolean | undefined;
2641
3000
  trustBrowserCas?: boolean | undefined;
2642
3001
  trustedCertificates?: string[] | undefined;
2643
- minVersion?: TlsOptions_Version | undefined;
3002
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2644
3003
  cipherList?: string | undefined;
2645
3004
  } | undefined;
2646
3005
  };
2647
3006
  } | {
2648
- external: ExternalServer & (ExternalServer | undefined);
3007
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2649
3008
  } | {
2650
3009
  disk: {
2651
3010
  path: string;
2652
3011
  writable?: boolean | undefined;
2653
3012
  };
2654
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
3013
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2655
3014
  wrappedBindings?: Record<string, string | {
2656
3015
  scriptName: string;
2657
3016
  entrypoint?: string | undefined;
2658
- bindings?: Record<string, Json> | undefined;
3017
+ bindings?: Record<string, Json_2> | undefined;
2659
3018
  }> | undefined;
2660
- outboundService?: string | kCurrentWorker | {
2661
- name: string | kCurrentWorker;
3019
+ outboundService?: string | kCurrentWorker_2 | {
3020
+ name: string | kCurrentWorker_2;
2662
3021
  entrypoint?: string | undefined;
2663
3022
  } | {
2664
3023
  network: {
@@ -2672,18 +3031,18 @@ export declare const PLUGINS: {
2672
3031
  requireClientCerts?: boolean | undefined;
2673
3032
  trustBrowserCas?: boolean | undefined;
2674
3033
  trustedCertificates?: string[] | undefined;
2675
- minVersion?: TlsOptions_Version | undefined;
3034
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2676
3035
  cipherList?: string | undefined;
2677
3036
  } | undefined;
2678
3037
  };
2679
3038
  } | {
2680
- external: ExternalServer & (ExternalServer | undefined);
3039
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2681
3040
  } | {
2682
3041
  disk: {
2683
3042
  path: string;
2684
3043
  writable?: boolean | undefined;
2685
3044
  };
2686
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3045
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2687
3046
  fetchMock?: MockAgent<MockAgent> | undefined;
2688
3047
  unsafeEphemeralDurableObjects?: boolean | undefined;
2689
3048
  unsafeDirectSockets?: {
@@ -2700,7 +3059,7 @@ export declare const PLUGINS: {
2700
3059
  scriptPath?: string | undefined;
2701
3060
  modules?: boolean | undefined;
2702
3061
  modulesRules?: {
2703
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3062
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2704
3063
  include: string[];
2705
3064
  fallthrough?: boolean | undefined;
2706
3065
  }[] | undefined;
@@ -2710,13 +3069,14 @@ export declare const PLUGINS: {
2710
3069
  rootPath?: undefined;
2711
3070
  compatibilityDate?: string | undefined;
2712
3071
  compatibilityFlags?: string[] | undefined;
3072
+ unsafeInspectorProxy?: boolean | undefined;
2713
3073
  routes?: string[] | undefined;
2714
- bindings?: Record<string, Json> | undefined;
2715
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
3074
+ bindings?: Record<string, Json_2> | undefined;
3075
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2716
3076
  textBlobBindings?: Record<string, string> | undefined;
2717
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2718
- serviceBindings?: Record<string, string | kCurrentWorker | {
2719
- name: string | kCurrentWorker;
3077
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
3078
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3079
+ name: string | kCurrentWorker_2;
2720
3080
  entrypoint?: string | undefined;
2721
3081
  } | {
2722
3082
  network: {
@@ -2730,25 +3090,25 @@ export declare const PLUGINS: {
2730
3090
  requireClientCerts?: boolean | undefined;
2731
3091
  trustBrowserCas?: boolean | undefined;
2732
3092
  trustedCertificates?: string[] | undefined;
2733
- minVersion?: TlsOptions_Version | undefined;
3093
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2734
3094
  cipherList?: string | undefined;
2735
3095
  } | undefined;
2736
3096
  };
2737
3097
  } | {
2738
- external: ExternalServer & (ExternalServer | undefined);
3098
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2739
3099
  } | {
2740
3100
  disk: {
2741
3101
  path: string;
2742
3102
  writable?: boolean | undefined;
2743
3103
  };
2744
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
3104
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2745
3105
  wrappedBindings?: Record<string, string | {
2746
3106
  scriptName: string;
2747
3107
  entrypoint?: string | undefined;
2748
- bindings?: Record<string, Json> | undefined;
3108
+ bindings?: Record<string, Json_2> | undefined;
2749
3109
  }> | undefined;
2750
- outboundService?: string | kCurrentWorker | {
2751
- name: string | kCurrentWorker;
3110
+ outboundService?: string | kCurrentWorker_2 | {
3111
+ name: string | kCurrentWorker_2;
2752
3112
  entrypoint?: string | undefined;
2753
3113
  } | {
2754
3114
  network: {
@@ -2762,18 +3122,18 @@ export declare const PLUGINS: {
2762
3122
  requireClientCerts?: boolean | undefined;
2763
3123
  trustBrowserCas?: boolean | undefined;
2764
3124
  trustedCertificates?: string[] | undefined;
2765
- minVersion?: TlsOptions_Version | undefined;
3125
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2766
3126
  cipherList?: string | undefined;
2767
3127
  } | undefined;
2768
3128
  };
2769
3129
  } | {
2770
- external: ExternalServer & (ExternalServer | undefined);
3130
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2771
3131
  } | {
2772
3132
  disk: {
2773
3133
  path: string;
2774
3134
  writable?: boolean | undefined;
2775
3135
  };
2776
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3136
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2777
3137
  fetchMock?: MockAgent<MockAgent> | undefined;
2778
3138
  unsafeEphemeralDurableObjects?: boolean | undefined;
2779
3139
  unsafeDirectSockets?: {
@@ -2789,7 +3149,7 @@ export declare const PLUGINS: {
2789
3149
  scriptPath: string;
2790
3150
  modules?: boolean | undefined;
2791
3151
  modulesRules?: {
2792
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3152
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2793
3153
  include: string[];
2794
3154
  fallthrough?: boolean | undefined;
2795
3155
  }[] | undefined;
@@ -2799,13 +3159,14 @@ export declare const PLUGINS: {
2799
3159
  rootPath?: undefined;
2800
3160
  compatibilityDate?: string | undefined;
2801
3161
  compatibilityFlags?: string[] | undefined;
3162
+ unsafeInspectorProxy?: boolean | undefined;
2802
3163
  routes?: string[] | undefined;
2803
- bindings?: Record<string, Json> | undefined;
2804
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
3164
+ bindings?: Record<string, Json_2> | undefined;
3165
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2805
3166
  textBlobBindings?: Record<string, string> | undefined;
2806
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2807
- serviceBindings?: Record<string, string | kCurrentWorker | {
2808
- name: string | kCurrentWorker;
3167
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
3168
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3169
+ name: string | kCurrentWorker_2;
2809
3170
  entrypoint?: string | undefined;
2810
3171
  } | {
2811
3172
  network: {
@@ -2819,25 +3180,25 @@ export declare const PLUGINS: {
2819
3180
  requireClientCerts?: boolean | undefined;
2820
3181
  trustBrowserCas?: boolean | undefined;
2821
3182
  trustedCertificates?: string[] | undefined;
2822
- minVersion?: TlsOptions_Version | undefined;
3183
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2823
3184
  cipherList?: string | undefined;
2824
3185
  } | undefined;
2825
3186
  };
2826
3187
  } | {
2827
- external: ExternalServer & (ExternalServer | undefined);
3188
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2828
3189
  } | {
2829
3190
  disk: {
2830
3191
  path: string;
2831
3192
  writable?: boolean | undefined;
2832
3193
  };
2833
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
3194
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2834
3195
  wrappedBindings?: Record<string, string | {
2835
3196
  scriptName: string;
2836
3197
  entrypoint?: string | undefined;
2837
- bindings?: Record<string, Json> | undefined;
3198
+ bindings?: Record<string, Json_2> | undefined;
2838
3199
  }> | undefined;
2839
- outboundService?: string | kCurrentWorker | {
2840
- name: string | kCurrentWorker;
3200
+ outboundService?: string | kCurrentWorker_2 | {
3201
+ name: string | kCurrentWorker_2;
2841
3202
  entrypoint?: string | undefined;
2842
3203
  } | {
2843
3204
  network: {
@@ -2851,18 +3212,18 @@ export declare const PLUGINS: {
2851
3212
  requireClientCerts?: boolean | undefined;
2852
3213
  trustBrowserCas?: boolean | undefined;
2853
3214
  trustedCertificates?: string[] | undefined;
2854
- minVersion?: TlsOptions_Version | undefined;
3215
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2855
3216
  cipherList?: string | undefined;
2856
3217
  } | undefined;
2857
3218
  };
2858
3219
  } | {
2859
- external: ExternalServer & (ExternalServer | undefined);
3220
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2860
3221
  } | {
2861
3222
  disk: {
2862
3223
  path: string;
2863
3224
  writable?: boolean | undefined;
2864
3225
  };
2865
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3226
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2866
3227
  fetchMock?: MockAgent<MockAgent> | undefined;
2867
3228
  unsafeEphemeralDurableObjects?: boolean | undefined;
2868
3229
  unsafeDirectSockets?: {
@@ -2876,9 +3237,9 @@ export declare const PLUGINS: {
2876
3237
  hasAssetsAndIsVitest?: boolean | undefined;
2877
3238
  }), ({
2878
3239
  modules: {
2879
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3240
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2880
3241
  path: string;
2881
- contents?: string | Uint8Array | undefined;
3242
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2882
3243
  }[];
2883
3244
  modulesRoot?: string | undefined;
2884
3245
  } | {
@@ -2886,7 +3247,7 @@ export declare const PLUGINS: {
2886
3247
  scriptPath?: string | undefined;
2887
3248
  modules?: boolean | undefined;
2888
3249
  modulesRules?: {
2889
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3250
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2890
3251
  include: string[];
2891
3252
  fallthrough?: boolean | undefined;
2892
3253
  }[] | undefined;
@@ -2895,7 +3256,7 @@ export declare const PLUGINS: {
2895
3256
  scriptPath: string;
2896
3257
  modules?: boolean | undefined;
2897
3258
  modulesRules?: {
2898
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3259
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2899
3260
  include: string[];
2900
3261
  fallthrough?: boolean | undefined;
2901
3262
  }[] | undefined;
@@ -2905,13 +3266,14 @@ export declare const PLUGINS: {
2905
3266
  rootPath?: string | undefined;
2906
3267
  compatibilityDate?: string | undefined;
2907
3268
  compatibilityFlags?: string[] | undefined;
3269
+ unsafeInspectorProxy?: boolean | undefined;
2908
3270
  routes?: string[] | undefined;
2909
- bindings?: Record<string, Json> | undefined;
2910
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
3271
+ bindings?: Record<string, Json_2> | undefined;
3272
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2911
3273
  textBlobBindings?: Record<string, string> | undefined;
2912
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2913
- serviceBindings?: Record<string, string | kCurrentWorker | {
2914
- name: string | kCurrentWorker;
3274
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
3275
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3276
+ name: string | kCurrentWorker_2;
2915
3277
  entrypoint?: string | undefined;
2916
3278
  } | {
2917
3279
  network: {
@@ -2925,25 +3287,25 @@ export declare const PLUGINS: {
2925
3287
  requireClientCerts?: boolean | undefined;
2926
3288
  trustBrowserCas?: boolean | undefined;
2927
3289
  trustedCertificates?: string[] | undefined;
2928
- minVersion?: TlsOptions_Version | undefined;
3290
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2929
3291
  cipherList?: string | undefined;
2930
3292
  } | undefined;
2931
3293
  };
2932
3294
  } | {
2933
- external: ExternalServer & (ExternalServer | undefined);
3295
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2934
3296
  } | {
2935
3297
  disk: {
2936
3298
  path: string;
2937
3299
  writable?: boolean | undefined;
2938
3300
  };
2939
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
3301
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2940
3302
  wrappedBindings?: Record<string, string | {
2941
3303
  scriptName: string;
2942
3304
  entrypoint?: string | undefined;
2943
- bindings?: Record<string, Json> | undefined;
3305
+ bindings?: Record<string, Json_2> | undefined;
2944
3306
  }> | undefined;
2945
- outboundService?: string | kCurrentWorker | {
2946
- name: string | kCurrentWorker;
3307
+ outboundService?: string | kCurrentWorker_2 | {
3308
+ name: string | kCurrentWorker_2;
2947
3309
  entrypoint?: string | undefined;
2948
3310
  } | {
2949
3311
  network: {
@@ -2957,18 +3319,18 @@ export declare const PLUGINS: {
2957
3319
  requireClientCerts?: boolean | undefined;
2958
3320
  trustBrowserCas?: boolean | undefined;
2959
3321
  trustedCertificates?: string[] | undefined;
2960
- minVersion?: TlsOptions_Version | undefined;
3322
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2961
3323
  cipherList?: string | undefined;
2962
3324
  } | undefined;
2963
3325
  };
2964
3326
  } | {
2965
- external: ExternalServer & (ExternalServer | undefined);
3327
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2966
3328
  } | {
2967
3329
  disk: {
2968
3330
  path: string;
2969
3331
  writable?: boolean | undefined;
2970
3332
  };
2971
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3333
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2972
3334
  fetchMock?: MockAgent<MockAgent> | undefined;
2973
3335
  unsafeEphemeralDurableObjects?: boolean | undefined;
2974
3336
  unsafeDirectSockets?: {
@@ -2991,13 +3353,13 @@ export declare const PLUGINS: {
2991
3353
  httpsCertPath: z.ZodOptional<z.ZodString>;
2992
3354
  inspectorPort: z.ZodOptional<z.ZodNumber>;
2993
3355
  verbose: z.ZodOptional<z.ZodBoolean>;
2994
- log: z.ZodOptional<z.ZodType<Log, z.ZodTypeDef, Log>>;
3356
+ log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
2995
3357
  handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
2996
3358
  upstream: z.ZodOptional<z.ZodString>;
2997
3359
  cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
2998
3360
  liveReload: z.ZodOptional<z.ZodBoolean>;
2999
3361
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
3000
- unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>>;
3362
+ unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>>;
3001
3363
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
3002
3364
  }, "strip", z.ZodTypeAny, {
3003
3365
  rootPath?: undefined;
@@ -3010,13 +3372,13 @@ export declare const PLUGINS: {
3010
3372
  httpsCertPath?: string | undefined;
3011
3373
  inspectorPort?: number | undefined;
3012
3374
  verbose?: boolean | undefined;
3013
- log?: Log | undefined;
3375
+ log?: Log_2 | undefined;
3014
3376
  handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
3015
3377
  upstream?: string | undefined;
3016
3378
  cf?: string | boolean | Record<string, any> | undefined;
3017
3379
  liveReload?: boolean | undefined;
3018
3380
  unsafeProxySharedSecret?: string | undefined;
3019
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3381
+ unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3020
3382
  unsafeStickyBlobs?: boolean | undefined;
3021
3383
  }, {
3022
3384
  rootPath?: string | undefined;
@@ -3029,16 +3391,16 @@ export declare const PLUGINS: {
3029
3391
  httpsCertPath?: string | undefined;
3030
3392
  inspectorPort?: number | undefined;
3031
3393
  verbose?: boolean | undefined;
3032
- log?: Log | undefined;
3394
+ log?: Log_2 | undefined;
3033
3395
  handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
3034
3396
  upstream?: string | undefined;
3035
3397
  cf?: string | boolean | Record<string, any> | undefined;
3036
3398
  liveReload?: boolean | undefined;
3037
3399
  unsafeProxySharedSecret?: string | undefined;
3038
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3400
+ unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3039
3401
  unsafeStickyBlobs?: boolean | undefined;
3040
3402
  }>>;
3041
- cache: Plugin<z.ZodObject<{
3403
+ cache: Plugin_2<z.ZodObject<{
3042
3404
  cache: z.ZodOptional<z.ZodBoolean>;
3043
3405
  cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
3044
3406
  }, "strip", z.ZodTypeAny, {
@@ -3054,7 +3416,7 @@ export declare const PLUGINS: {
3054
3416
  }, {
3055
3417
  cachePersist?: string | boolean | undefined;
3056
3418
  }>>;
3057
- d1: Plugin<z.ZodObject<{
3419
+ d1: Plugin_2<z.ZodObject<{
3058
3420
  d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3059
3421
  }, "strip", z.ZodTypeAny, {
3060
3422
  d1Databases?: string[] | Record<string, string> | undefined;
@@ -3067,24 +3429,24 @@ export declare const PLUGINS: {
3067
3429
  }, {
3068
3430
  d1Persist?: string | boolean | undefined;
3069
3431
  }>>;
3070
- do: Plugin<z.ZodObject<{
3432
+ do: Plugin_2<z.ZodObject<{
3071
3433
  durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
3072
3434
  className: z.ZodString;
3073
3435
  scriptName: z.ZodOptional<z.ZodString>;
3074
3436
  useSQLite: z.ZodOptional<z.ZodBoolean>;
3075
- unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey>]>>;
3437
+ unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
3076
3438
  unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
3077
3439
  }, "strip", z.ZodTypeAny, {
3078
3440
  className: string;
3079
3441
  scriptName?: string | undefined;
3080
3442
  useSQLite?: boolean | undefined;
3081
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3443
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3082
3444
  unsafePreventEviction?: boolean | undefined;
3083
3445
  }, {
3084
3446
  className: string;
3085
3447
  scriptName?: string | undefined;
3086
3448
  useSQLite?: boolean | undefined;
3087
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3449
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3088
3450
  unsafePreventEviction?: boolean | undefined;
3089
3451
  }>]>>>;
3090
3452
  }, "strip", z.ZodTypeAny, {
@@ -3092,7 +3454,7 @@ export declare const PLUGINS: {
3092
3454
  className: string;
3093
3455
  scriptName?: string | undefined;
3094
3456
  useSQLite?: boolean | undefined;
3095
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3457
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3096
3458
  unsafePreventEviction?: boolean | undefined;
3097
3459
  }> | undefined;
3098
3460
  }, {
@@ -3100,7 +3462,7 @@ export declare const PLUGINS: {
3100
3462
  className: string;
3101
3463
  scriptName?: string | undefined;
3102
3464
  useSQLite?: boolean | undefined;
3103
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3465
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3104
3466
  unsafePreventEviction?: boolean | undefined;
3105
3467
  }> | undefined;
3106
3468
  }>, z.ZodObject<{
@@ -3110,7 +3472,7 @@ export declare const PLUGINS: {
3110
3472
  }, {
3111
3473
  durableObjectsPersist?: string | boolean | undefined;
3112
3474
  }>>;
3113
- kv: Plugin<z.ZodObject<{
3475
+ kv: Plugin_2<z.ZodObject<{
3114
3476
  kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3115
3477
  sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3116
3478
  siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3132,7 +3494,7 @@ export declare const PLUGINS: {
3132
3494
  }, {
3133
3495
  kvPersist?: string | boolean | undefined;
3134
3496
  }>>;
3135
- queues: Plugin<z.ZodObject<{
3497
+ queues: Plugin_2<z.ZodObject<{
3136
3498
  queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
3137
3499
  queueName: z.ZodString;
3138
3500
  deliveryDelay: z.ZodOptional<z.ZodNumber>;
@@ -3206,7 +3568,7 @@ export declare const PLUGINS: {
3206
3568
  retryDelay?: number | undefined;
3207
3569
  }> | undefined;
3208
3570
  }>>;
3209
- r2: Plugin<z.ZodObject<{
3571
+ r2: Plugin_2<z.ZodObject<{
3210
3572
  r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3211
3573
  }, "strip", z.ZodTypeAny, {
3212
3574
  r2Buckets?: string[] | Record<string, string> | undefined;
@@ -3219,138 +3581,354 @@ export declare const PLUGINS: {
3219
3581
  }, {
3220
3582
  r2Persist?: string | boolean | undefined;
3221
3583
  }>>;
3222
- hyperdrive: Plugin<z.ZodObject<{
3584
+ hyperdrive: Plugin_2<z.ZodObject<{
3223
3585
  hyperdrives: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodType<URL_2, z.ZodTypeDef, URL_2>]>, URL_2, string | URL_2>>>;
3224
3586
  }, "strip", z.ZodTypeAny, {
3225
3587
  hyperdrives?: Record<string, URL_2> | undefined;
3226
3588
  }, {
3227
3589
  hyperdrives?: Record<string, string | URL_2> | undefined;
3228
3590
  }>>;
3229
- ratelimit: Plugin<z.ZodObject<{
3591
+ ratelimit: Plugin_2<z.ZodObject<{
3230
3592
  ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3231
3593
  simple: z.ZodObject<{
3232
3594
  limit: z.ZodNumber;
3233
- period: z.ZodOptional<z.ZodNativeEnum<PeriodType>>;
3595
+ period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
3234
3596
  }, "strip", z.ZodTypeAny, {
3235
3597
  limit: number;
3236
- period?: PeriodType | undefined;
3598
+ period?: PeriodType_2 | undefined;
3237
3599
  }, {
3238
3600
  limit: number;
3239
- period?: PeriodType | undefined;
3601
+ period?: PeriodType_2 | undefined;
3240
3602
  }>;
3241
3603
  }, "strip", z.ZodTypeAny, {
3242
3604
  simple: {
3243
3605
  limit: number;
3244
- period?: PeriodType | undefined;
3606
+ period?: PeriodType_2 | undefined;
3245
3607
  };
3246
3608
  }, {
3247
3609
  simple: {
3248
3610
  limit: number;
3249
- period?: PeriodType | undefined;
3611
+ period?: PeriodType_2 | undefined;
3250
3612
  };
3251
3613
  }>>>;
3252
3614
  }, "strip", z.ZodTypeAny, {
3253
3615
  ratelimits?: Record<string, {
3254
3616
  simple: {
3255
3617
  limit: number;
3256
- period?: PeriodType | undefined;
3618
+ period?: PeriodType_2 | undefined;
3257
3619
  };
3258
3620
  }> | undefined;
3259
3621
  }, {
3260
3622
  ratelimits?: Record<string, {
3261
3623
  simple: {
3262
3624
  limit: number;
3263
- period?: PeriodType | undefined;
3625
+ period?: PeriodType_2 | undefined;
3264
3626
  };
3265
3627
  }> | undefined;
3266
3628
  }>>;
3267
- assets: Plugin<z.ZodObject<{
3629
+ assets: Plugin_2<z.ZodObject<{
3268
3630
  assets: z.ZodOptional<z.ZodObject<{
3269
3631
  workerName: z.ZodOptional<z.ZodString>;
3270
3632
  directory: z.ZodEffects<z.ZodString, string, string>;
3271
3633
  binding: z.ZodOptional<z.ZodString>;
3272
- routingConfig: z.ZodOptional<z.ZodObject<{
3273
- has_user_worker: z.ZodOptional<z.ZodBoolean>;
3634
+ routerConfig: z.ZodOptional<z.ZodObject<{
3635
+ account_id: z.ZodOptional<z.ZodNumber>;
3636
+ script_id: z.ZodOptional<z.ZodNumber>;
3274
3637
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
3638
+ has_user_worker: z.ZodOptional<z.ZodBoolean>;
3275
3639
  }, "strip", z.ZodTypeAny, {
3276
- has_user_worker?: boolean;
3640
+ account_id?: number;
3641
+ script_id?: number;
3277
3642
  invoke_user_worker_ahead_of_assets?: boolean;
3278
- }, {
3279
3643
  has_user_worker?: boolean;
3644
+ }, {
3645
+ account_id?: number;
3646
+ script_id?: number;
3280
3647
  invoke_user_worker_ahead_of_assets?: boolean;
3648
+ has_user_worker?: boolean;
3281
3649
  }>>;
3282
- assetConfig: z.ZodOptional<z.ZodObject<{
3650
+ assetConfig: z.ZodOptional<z.ZodObject<Omit<{
3651
+ account_id: z.ZodOptional<z.ZodNumber>;
3652
+ script_id: z.ZodOptional<z.ZodNumber>;
3653
+ compatibility_date: z.ZodOptional<z.ZodString>;
3654
+ compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3283
3655
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
3284
3656
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
3285
- serve_directly: z.ZodOptional<z.ZodBoolean>;
3657
+ redirects: z.ZodOptional<z.ZodObject<{
3658
+ version: z.ZodLiteral<1>;
3659
+ staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
3660
+ status: z.ZodNumber;
3661
+ to: z.ZodString;
3662
+ lineNumber: z.ZodNumber;
3663
+ }, "strip", z.ZodTypeAny, {
3664
+ status?: number;
3665
+ to?: string;
3666
+ lineNumber?: number;
3667
+ }, {
3668
+ status?: number;
3669
+ to?: string;
3670
+ lineNumber?: number;
3671
+ }>>;
3672
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
3673
+ status: z.ZodNumber;
3674
+ to: z.ZodString;
3675
+ }, "strip", z.ZodTypeAny, {
3676
+ status?: number;
3677
+ to?: string;
3678
+ }, {
3679
+ status?: number;
3680
+ to?: string;
3681
+ }>>;
3682
+ }, "strip", z.ZodTypeAny, {
3683
+ version?: 1;
3684
+ staticRules?: Record<string, {
3685
+ status?: number;
3686
+ to?: string;
3687
+ lineNumber?: number;
3688
+ }>;
3689
+ rules?: Record<string, {
3690
+ status?: number;
3691
+ to?: string;
3692
+ }>;
3693
+ }, {
3694
+ version?: 1;
3695
+ staticRules?: Record<string, {
3696
+ status?: number;
3697
+ to?: string;
3698
+ lineNumber?: number;
3699
+ }>;
3700
+ rules?: Record<string, {
3701
+ status?: number;
3702
+ to?: string;
3703
+ }>;
3704
+ }>>;
3705
+ headers: z.ZodOptional<z.ZodObject<{
3706
+ version: z.ZodLiteral<2>;
3707
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
3708
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3709
+ unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3286
3710
  }, "strip", z.ZodTypeAny, {
3287
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3288
- not_found_handling?: "none" | "single-page-application" | "404-page";
3289
- serve_directly?: boolean;
3711
+ set?: Record<string, string>;
3712
+ unset?: string[];
3290
3713
  }, {
3291
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3292
- not_found_handling?: "none" | "single-page-application" | "404-page";
3293
- serve_directly?: boolean;
3714
+ set?: Record<string, string>;
3715
+ unset?: string[];
3716
+ }>>;
3717
+ }, "strip", z.ZodTypeAny, {
3718
+ version?: 2;
3719
+ rules?: Record<string, {
3720
+ set?: Record<string, string>;
3721
+ unset?: string[];
3722
+ }>;
3723
+ }, {
3724
+ version?: 2;
3725
+ rules?: Record<string, {
3726
+ set?: Record<string, string>;
3727
+ unset?: string[];
3728
+ }>;
3729
+ }>>;
3730
+ }, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
3731
+ headers?: {
3732
+ version?: 2;
3733
+ rules?: Record<string, {
3734
+ set?: Record<string, string>;
3735
+ unset?: string[];
3736
+ }>;
3737
+ } | undefined;
3738
+ account_id?: number | undefined;
3739
+ script_id?: number | undefined;
3740
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3741
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3742
+ redirects?: {
3743
+ version?: 1;
3744
+ staticRules?: Record<string, {
3745
+ status?: number;
3746
+ to?: string;
3747
+ lineNumber?: number;
3748
+ }>;
3749
+ rules?: Record<string, {
3750
+ status?: number;
3751
+ to?: string;
3752
+ }>;
3753
+ } | undefined;
3754
+ }, {
3755
+ headers?: {
3756
+ version?: 2;
3757
+ rules?: Record<string, {
3758
+ set?: Record<string, string>;
3759
+ unset?: string[];
3760
+ }>;
3761
+ } | undefined;
3762
+ account_id?: number | undefined;
3763
+ script_id?: number | undefined;
3764
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3765
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3766
+ redirects?: {
3767
+ version?: 1;
3768
+ staticRules?: Record<string, {
3769
+ status?: number;
3770
+ to?: string;
3771
+ lineNumber?: number;
3772
+ }>;
3773
+ rules?: Record<string, {
3774
+ status?: number;
3775
+ to?: string;
3776
+ }>;
3777
+ } | undefined;
3294
3778
  }>>;
3295
3779
  }, "strip", z.ZodTypeAny, {
3296
3780
  directory: string;
3297
3781
  workerName?: string | undefined;
3298
3782
  binding?: string | undefined;
3299
- routingConfig?: {
3300
- has_user_worker?: boolean;
3783
+ routerConfig?: {
3784
+ account_id?: number;
3785
+ script_id?: number;
3301
3786
  invoke_user_worker_ahead_of_assets?: boolean;
3787
+ has_user_worker?: boolean;
3302
3788
  } | undefined;
3303
3789
  assetConfig?: {
3304
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3305
- not_found_handling?: "none" | "single-page-application" | "404-page";
3306
- serve_directly?: boolean;
3790
+ headers?: {
3791
+ version?: 2;
3792
+ rules?: Record<string, {
3793
+ set?: Record<string, string>;
3794
+ unset?: string[];
3795
+ }>;
3796
+ } | undefined;
3797
+ account_id?: number | undefined;
3798
+ script_id?: number | undefined;
3799
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3800
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3801
+ redirects?: {
3802
+ version?: 1;
3803
+ staticRules?: Record<string, {
3804
+ status?: number;
3805
+ to?: string;
3806
+ lineNumber?: number;
3807
+ }>;
3808
+ rules?: Record<string, {
3809
+ status?: number;
3810
+ to?: string;
3811
+ }>;
3812
+ } | undefined;
3307
3813
  } | undefined;
3308
3814
  }, {
3309
3815
  directory: string;
3310
3816
  workerName?: string | undefined;
3311
3817
  binding?: string | undefined;
3312
- routingConfig?: {
3313
- has_user_worker?: boolean;
3818
+ routerConfig?: {
3819
+ account_id?: number;
3820
+ script_id?: number;
3314
3821
  invoke_user_worker_ahead_of_assets?: boolean;
3822
+ has_user_worker?: boolean;
3315
3823
  } | undefined;
3316
3824
  assetConfig?: {
3317
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3318
- not_found_handling?: "none" | "single-page-application" | "404-page";
3319
- serve_directly?: boolean;
3825
+ headers?: {
3826
+ version?: 2;
3827
+ rules?: Record<string, {
3828
+ set?: Record<string, string>;
3829
+ unset?: string[];
3830
+ }>;
3831
+ } | undefined;
3832
+ account_id?: number | undefined;
3833
+ script_id?: number | undefined;
3834
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3835
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3836
+ redirects?: {
3837
+ version?: 1;
3838
+ staticRules?: Record<string, {
3839
+ status?: number;
3840
+ to?: string;
3841
+ lineNumber?: number;
3842
+ }>;
3843
+ rules?: Record<string, {
3844
+ status?: number;
3845
+ to?: string;
3846
+ }>;
3847
+ } | undefined;
3320
3848
  } | undefined;
3321
3849
  }>>;
3850
+ compatibilityDate: z.ZodOptional<z.ZodString>;
3851
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3322
3852
  }, "strip", z.ZodTypeAny, {
3323
3853
  assets?: {
3324
3854
  directory: string;
3325
3855
  workerName?: string | undefined;
3326
3856
  binding?: string | undefined;
3327
- routingConfig?: {
3328
- has_user_worker?: boolean;
3857
+ routerConfig?: {
3858
+ account_id?: number;
3859
+ script_id?: number;
3329
3860
  invoke_user_worker_ahead_of_assets?: boolean;
3861
+ has_user_worker?: boolean;
3330
3862
  } | undefined;
3331
3863
  assetConfig?: {
3332
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3333
- not_found_handling?: "none" | "single-page-application" | "404-page";
3334
- serve_directly?: boolean;
3864
+ headers?: {
3865
+ version?: 2;
3866
+ rules?: Record<string, {
3867
+ set?: Record<string, string>;
3868
+ unset?: string[];
3869
+ }>;
3870
+ } | undefined;
3871
+ account_id?: number | undefined;
3872
+ script_id?: number | undefined;
3873
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3874
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3875
+ redirects?: {
3876
+ version?: 1;
3877
+ staticRules?: Record<string, {
3878
+ status?: number;
3879
+ to?: string;
3880
+ lineNumber?: number;
3881
+ }>;
3882
+ rules?: Record<string, {
3883
+ status?: number;
3884
+ to?: string;
3885
+ }>;
3335
3886
  } | undefined;
3336
3887
  } | undefined;
3888
+ } | undefined;
3889
+ compatibilityDate?: string | undefined;
3890
+ compatibilityFlags?: string[] | undefined;
3337
3891
  }, {
3338
3892
  assets?: {
3339
3893
  directory: string;
3340
3894
  workerName?: string | undefined;
3341
3895
  binding?: string | undefined;
3342
- routingConfig?: {
3343
- has_user_worker?: boolean;
3896
+ routerConfig?: {
3897
+ account_id?: number;
3898
+ script_id?: number;
3344
3899
  invoke_user_worker_ahead_of_assets?: boolean;
3900
+ has_user_worker?: boolean;
3345
3901
  } | undefined;
3346
3902
  assetConfig?: {
3347
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3348
- not_found_handling?: "none" | "single-page-application" | "404-page";
3349
- serve_directly?: boolean;
3903
+ headers?: {
3904
+ version?: 2;
3905
+ rules?: Record<string, {
3906
+ set?: Record<string, string>;
3907
+ unset?: string[];
3908
+ }>;
3909
+ } | undefined;
3910
+ account_id?: number | undefined;
3911
+ script_id?: number | undefined;
3912
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3913
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3914
+ redirects?: {
3915
+ version?: 1;
3916
+ staticRules?: Record<string, {
3917
+ status?: number;
3918
+ to?: string;
3919
+ lineNumber?: number;
3920
+ }>;
3921
+ rules?: Record<string, {
3922
+ status?: number;
3923
+ to?: string;
3924
+ }>;
3350
3925
  } | undefined;
3351
3926
  } | undefined;
3927
+ } | undefined;
3928
+ compatibilityDate?: string | undefined;
3929
+ compatibilityFlags?: string[] | undefined;
3352
3930
  }>>;
3353
- workflows: Plugin<z.ZodObject<{
3931
+ workflows: Plugin_2<z.ZodObject<{
3354
3932
  workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3355
3933
  name: z.ZodString;
3356
3934
  className: z.ZodString;
@@ -3383,6 +3961,13 @@ export declare const PLUGINS: {
3383
3961
  }, {
3384
3962
  workflowsPersist?: string | boolean | undefined;
3385
3963
  }>>;
3964
+ pipelines: Plugin_2<z.ZodObject<{
3965
+ pipelines: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3966
+ }, "strip", z.ZodTypeAny, {
3967
+ pipelines?: string[] | Record<string, string> | undefined;
3968
+ }, {
3969
+ pipelines?: string[] | Record<string, string> | undefined;
3970
+ }>>;
3386
3971
  };
3387
3972
 
3388
3973
  export declare type Plugins = typeof PLUGINS;
@@ -3580,11 +4165,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
3580
4165
  export declare const QueueIncomingMessageSchema: z.ZodObject<{
3581
4166
  contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
3582
4167
  delaySecs: z.ZodOptional<z.ZodNumber>;
3583
- body: z.ZodEffects<z.ZodString, Buffer, string>;
4168
+ body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
3584
4169
  id: z.ZodOptional<z.ZodString>;
3585
4170
  timestamp: z.ZodOptional<z.ZodNumber>;
3586
4171
  }, "strip", z.ZodTypeAny, {
3587
- body: Buffer;
4172
+ body: Buffer<ArrayBuffer>;
3588
4173
  contentType: "json" | "bytes" | "v8" | "text";
3589
4174
  delaySecs?: number | undefined;
3590
4175
  id?: string | undefined;
@@ -3660,11 +4245,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
3660
4245
  messages: z.ZodArray<z.ZodObject<{
3661
4246
  contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
3662
4247
  delaySecs: z.ZodOptional<z.ZodNumber>;
3663
- body: z.ZodEffects<z.ZodString, Buffer, string>;
4248
+ body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
3664
4249
  id: z.ZodOptional<z.ZodString>;
3665
4250
  timestamp: z.ZodOptional<z.ZodNumber>;
3666
4251
  }, "strip", z.ZodTypeAny, {
3667
- body: Buffer;
4252
+ body: Buffer<ArrayBuffer>;
3668
4253
  contentType: "json" | "bytes" | "v8" | "text";
3669
4254
  delaySecs?: number | undefined;
3670
4255
  id?: string | undefined;
@@ -3678,7 +4263,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
3678
4263
  }>, "many">;
3679
4264
  }, "strip", z.ZodTypeAny, {
3680
4265
  messages: {
3681
- body: Buffer;
4266
+ body: Buffer<ArrayBuffer>;
3682
4267
  contentType: "json" | "bytes" | "v8" | "text";
3683
4268
  delaySecs?: number | undefined;
3684
4269
  id?: string | undefined;
@@ -3872,11 +4457,11 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
3872
4457
 
3873
4458
  export { ReferrerPolicy }
3874
4459
 
3875
- export declare type ReplaceWorkersTypes<T> = T extends Request_4 ? Request_2 : T extends Response_4 ? Response_2 : T extends ReadableStream_2 ? ReadableStream_3 : Required<T> extends Required<RequestInit_4> ? RequestInit_2 : T extends Headers_3 ? Headers_2 : T extends Blob_2 ? Blob_3 : T extends AbortSignal_2 ? AbortSignal : T extends Promise<infer P> ? Promise<ReplaceWorkersTypes<P>> : T extends (...args: infer P) => infer R ? (...args: ReplaceWorkersTypes<P>) => ReplaceWorkersTypes<R> : T extends object ? {
4460
+ export declare type ReplaceWorkersTypes<T> = T extends Request_5 ? Request_2 : T extends Response_5 ? Response_2 : T extends ReadableStream_2 ? ReadableStream_3 : Required<T> extends Required<RequestInit_4> ? RequestInit_2 : T extends Headers_3 ? Headers_2 : T extends Blob_2 ? Blob_3 : T extends AbortSignal_2 ? AbortSignal : T extends Promise<infer P> ? Promise<ReplaceWorkersTypes<P>> : T extends (...args: infer P) => infer R ? (...args: ReplaceWorkersTypes<P>) => ReplaceWorkersTypes<R> : T extends object ? {
3876
4461
  [K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
3877
4462
  } : T;
3878
4463
 
3879
- declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_3 {
4464
+ declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
3880
4465
  [kCf]?: CfType;
3881
4466
  constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
3882
4467
  get cf(): CfType | undefined;
@@ -3906,7 +4491,7 @@ export { RequestMode }
3906
4491
 
3907
4492
  export { RequestRedirect }
3908
4493
 
3909
- declare class Response_2 extends Response_3 {
4494
+ declare class Response_2 extends Response_4 {
3910
4495
  readonly [kWebSocket]: WebSocket | null;
3911
4496
  static error(): Response_2;
3912
4497
  static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
@@ -4048,31 +4633,31 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
4048
4633
 
4049
4634
  export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4050
4635
  modules: z.ZodArray<z.ZodObject<{
4051
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4636
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4052
4637
  path: z.ZodEffects<z.ZodString, string, string>;
4053
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
4638
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
4054
4639
  }, "strip", z.ZodTypeAny, {
4055
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4640
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4056
4641
  path: string;
4057
- contents?: string | Uint8Array | undefined;
4642
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4058
4643
  }, {
4059
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4644
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4060
4645
  path: string;
4061
- contents?: string | Uint8Array | undefined;
4646
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4062
4647
  }>, "many">;
4063
4648
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4064
4649
  }, "strip", z.ZodTypeAny, {
4065
4650
  modules: {
4066
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4651
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4067
4652
  path: string;
4068
- contents?: string | Uint8Array | undefined;
4653
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4069
4654
  }[];
4070
4655
  modulesRoot?: string | undefined;
4071
4656
  }, {
4072
4657
  modules: {
4073
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4658
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4074
4659
  path: string;
4075
- contents?: string | Uint8Array | undefined;
4660
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4076
4661
  }[];
4077
4662
  modulesRoot?: string | undefined;
4078
4663
  }>, z.ZodObject<{
@@ -4080,15 +4665,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4080
4665
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4081
4666
  modules: z.ZodOptional<z.ZodBoolean>;
4082
4667
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4083
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4668
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4084
4669
  include: z.ZodArray<z.ZodString, "many">;
4085
4670
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4086
4671
  }, "strip", z.ZodTypeAny, {
4087
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4672
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4088
4673
  include: string[];
4089
4674
  fallthrough?: boolean | undefined;
4090
4675
  }, {
4091
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4676
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4092
4677
  include: string[];
4093
4678
  fallthrough?: boolean | undefined;
4094
4679
  }>, "many">>;
@@ -4098,7 +4683,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4098
4683
  scriptPath?: string | undefined;
4099
4684
  modules?: boolean | undefined;
4100
4685
  modulesRules?: {
4101
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4686
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4102
4687
  include: string[];
4103
4688
  fallthrough?: boolean | undefined;
4104
4689
  }[] | undefined;
@@ -4108,7 +4693,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4108
4693
  scriptPath?: string | undefined;
4109
4694
  modules?: boolean | undefined;
4110
4695
  modulesRules?: {
4111
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4696
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4112
4697
  include: string[];
4113
4698
  fallthrough?: boolean | undefined;
4114
4699
  }[] | undefined;
@@ -4117,15 +4702,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4117
4702
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
4118
4703
  modules: z.ZodOptional<z.ZodBoolean>;
4119
4704
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4120
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4705
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4121
4706
  include: z.ZodArray<z.ZodString, "many">;
4122
4707
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4123
4708
  }, "strip", z.ZodTypeAny, {
4124
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4709
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4125
4710
  include: string[];
4126
4711
  fallthrough?: boolean | undefined;
4127
4712
  }, {
4128
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4713
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4129
4714
  include: string[];
4130
4715
  fallthrough?: boolean | undefined;
4131
4716
  }>, "many">>;
@@ -4134,7 +4719,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4134
4719
  scriptPath: string;
4135
4720
  modules?: boolean | undefined;
4136
4721
  modulesRules?: {
4137
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4722
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4138
4723
  include: string[];
4139
4724
  fallthrough?: boolean | undefined;
4140
4725
  }[] | undefined;
@@ -4143,7 +4728,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4143
4728
  scriptPath: string;
4144
4729
  modules?: boolean | undefined;
4145
4730
  modulesRules?: {
4146
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4731
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4147
4732
  include: string[];
4148
4733
  fallthrough?: boolean | undefined;
4149
4734
  }[] | undefined;
@@ -4183,14 +4768,16 @@ export declare interface TlsOptions_Keypair {
4183
4768
  certificateChain?: string;
4184
4769
  }
4185
4770
 
4186
- export declare enum TlsOptions_Version {
4187
- GOOD_DEFAULT = 0,
4188
- SSL3 = 1,
4189
- TLS1DOT0 = 2,
4190
- TLS1DOT1 = 3,
4191
- TLS1DOT2 = 4,
4192
- TLS1DOT3 = 5
4193
- }
4771
+ export declare const TlsOptions_Version: {
4772
+ readonly GOOD_DEFAULT: 0;
4773
+ readonly SSL3: 1;
4774
+ readonly TLS1DOT0: 2;
4775
+ readonly TLS1DOT1: 3;
4776
+ readonly TLS1DOT2: 4;
4777
+ readonly TLS1DOT3: 5;
4778
+ };
4779
+
4780
+ export declare type TlsOptions_Version = (typeof TlsOptions_Version)[keyof typeof TlsOptions_Version];
4194
4781
 
4195
4782
  export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
4196
4783
 
@@ -4235,8 +4822,8 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
4235
4822
  [kClosedIncoming]: boolean;
4236
4823
  get readyState(): number;
4237
4824
  accept(): void;
4238
- send(message: ArrayBuffer | string): void;
4239
- [kSend](message: ArrayBuffer | string): void;
4825
+ send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
4826
+ [kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
4240
4827
  close(code?: number, reason?: string): void;
4241
4828
  [kClose](code?: number, reason?: string): void;
4242
4829
  [kError](error?: Error): void;
@@ -4337,16 +4924,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
4337
4924
  json?: string;
4338
4925
  };
4339
4926
 
4340
- export declare enum Worker_Binding_CryptoKey_Usage {
4341
- ENCRYPT = 0,
4342
- DECRYPT = 1,
4343
- SIGN = 2,
4344
- VERIFY = 3,
4345
- DERIVE_KEY = 4,
4346
- DERIVE_BITS = 5,
4347
- WRAP_KEY = 6,
4348
- UNWRAP_KEY = 7
4349
- }
4927
+ export declare const Worker_Binding_CryptoKey_Usage: {
4928
+ readonly ENCRYPT: 0;
4929
+ readonly DECRYPT: 1;
4930
+ readonly SIGN: 2;
4931
+ readonly VERIFY: 3;
4932
+ readonly DERIVE_KEY: 4;
4933
+ readonly DERIVE_BITS: 5;
4934
+ readonly WRAP_KEY: 6;
4935
+ readonly UNWRAP_KEY: 7;
4936
+ };
4937
+
4938
+ export declare type Worker_Binding_CryptoKey_Usage = (typeof Worker_Binding_CryptoKey_Usage)[keyof typeof Worker_Binding_CryptoKey_Usage];
4350
4939
 
4351
4940
  export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
4352
4941
  className?: string;
@@ -4445,15 +5034,13 @@ export declare type Worker_Module = {
4445
5034
  wasm?: Uint8Array;
4446
5035
  } | {
4447
5036
  json?: string;
4448
- } | {
4449
- nodeJsCompatModule?: string;
4450
5037
  } | {
4451
5038
  pythonModule?: string;
4452
5039
  } | {
4453
5040
  pythonRequirement?: string;
4454
5041
  });
4455
5042
 
4456
- export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options>;
5043
+ export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options>;
4457
5044
 
4458
5045
  export declare interface WorkerRoute {
4459
5046
  target: string;