miniflare 0.0.0-e8aaa3930 → 0.0.0-ea3e16a89

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.
@@ -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';
@@ -75,25 +90,34 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
75
90
  routingConfig: z.ZodOptional<z.ZodObject<{
76
91
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
77
92
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
93
+ account_id: z.ZodOptional<z.ZodNumber>;
94
+ script_id: z.ZodOptional<z.ZodNumber>;
78
95
  }, "strip", z.ZodTypeAny, {
79
96
  has_user_worker?: boolean;
80
97
  invoke_user_worker_ahead_of_assets?: boolean;
98
+ account_id?: number;
99
+ script_id?: number;
81
100
  }, {
82
101
  has_user_worker?: boolean;
83
102
  invoke_user_worker_ahead_of_assets?: boolean;
103
+ account_id?: number;
104
+ script_id?: number;
84
105
  }>>;
85
106
  assetConfig: z.ZodOptional<z.ZodObject<{
86
107
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
87
108
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
88
109
  serve_directly: z.ZodOptional<z.ZodBoolean>;
110
+ run_worker_first: z.ZodOptional<z.ZodBoolean>;
89
111
  }, "strip", z.ZodTypeAny, {
90
112
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
91
113
  not_found_handling?: "none" | "single-page-application" | "404-page";
92
114
  serve_directly?: boolean;
115
+ run_worker_first?: boolean;
93
116
  }, {
94
117
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
95
118
  not_found_handling?: "none" | "single-page-application" | "404-page";
96
119
  serve_directly?: boolean;
120
+ run_worker_first?: boolean;
97
121
  }>>;
98
122
  }, "strip", z.ZodTypeAny, {
99
123
  directory: string;
@@ -102,11 +126,14 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
102
126
  routingConfig?: {
103
127
  has_user_worker?: boolean;
104
128
  invoke_user_worker_ahead_of_assets?: boolean;
129
+ account_id?: number;
130
+ script_id?: number;
105
131
  } | undefined;
106
132
  assetConfig?: {
107
133
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
108
134
  not_found_handling?: "none" | "single-page-application" | "404-page";
109
135
  serve_directly?: boolean;
136
+ run_worker_first?: boolean;
110
137
  } | undefined;
111
138
  }, {
112
139
  directory: string;
@@ -115,11 +142,14 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
115
142
  routingConfig?: {
116
143
  has_user_worker?: boolean;
117
144
  invoke_user_worker_ahead_of_assets?: boolean;
145
+ account_id?: number;
146
+ script_id?: number;
118
147
  } | undefined;
119
148
  assetConfig?: {
120
149
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
121
150
  not_found_handling?: "none" | "single-page-application" | "404-page";
122
151
  serve_directly?: boolean;
152
+ run_worker_first?: boolean;
123
153
  } | undefined;
124
154
  }>>;
125
155
  }, "strip", z.ZodTypeAny, {
@@ -130,11 +160,14 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
130
160
  routingConfig?: {
131
161
  has_user_worker?: boolean;
132
162
  invoke_user_worker_ahead_of_assets?: boolean;
163
+ account_id?: number;
164
+ script_id?: number;
133
165
  } | undefined;
134
166
  assetConfig?: {
135
167
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
136
168
  not_found_handling?: "none" | "single-page-application" | "404-page";
137
169
  serve_directly?: boolean;
170
+ run_worker_first?: boolean;
138
171
  } | undefined;
139
172
  } | undefined;
140
173
  }, {
@@ -145,11 +178,14 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
145
178
  routingConfig?: {
146
179
  has_user_worker?: boolean;
147
180
  invoke_user_worker_ahead_of_assets?: boolean;
181
+ account_id?: number;
182
+ script_id?: number;
148
183
  } | undefined;
149
184
  assetConfig?: {
150
185
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
151
186
  not_found_handling?: "none" | "single-page-application" | "404-page";
152
187
  serve_directly?: boolean;
188
+ run_worker_first?: boolean;
153
189
  } | undefined;
154
190
  } | undefined;
155
191
  }>;
@@ -172,7 +208,7 @@ export { BodyInit }
172
208
  * Use content hash to get file path from asset reverse map.
173
209
  */
174
210
  export declare const buildAssetManifest: (dir: string) => Promise<{
175
- encodedAssetManifest: Uint8Array;
211
+ encodedAssetManifest: Uint8Array<ArrayBuffer>;
176
212
  assetsReverseMap: AssetReverseMap;
177
213
  }>;
178
214
 
@@ -280,29 +316,29 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
280
316
  modules: z.ZodArray<z.ZodObject<{
281
317
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
282
318
  path: z.ZodEffects<z.ZodString, string, string>;
283
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
319
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
284
320
  }, "strip", z.ZodTypeAny, {
285
321
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
286
322
  path: string;
287
- contents?: string | Uint8Array | undefined;
323
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
288
324
  }, {
289
325
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
290
326
  path: string;
291
- contents?: string | Uint8Array | undefined;
327
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
292
328
  }>, "many">;
293
329
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
294
330
  }, "strip", z.ZodTypeAny, {
295
331
  modules: {
296
332
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
297
333
  path: string;
298
- contents?: string | Uint8Array | undefined;
334
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
299
335
  }[];
300
336
  modulesRoot?: string | undefined;
301
337
  }, {
302
338
  modules: {
303
339
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
304
340
  path: string;
305
- contents?: string | Uint8Array | undefined;
341
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
306
342
  }[];
307
343
  modulesRoot?: string | undefined;
308
344
  }>, z.ZodObject<{
@@ -385,9 +421,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
385
421
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
386
422
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
387
423
  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>]>>>;
424
+ wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
389
425
  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>]>>>;
426
+ dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
391
427
  serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
392
428
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
393
429
  entrypoint: z.ZodOptional<z.ZodString>;
@@ -415,7 +451,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
415
451
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
416
452
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
417
453
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
418
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
454
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
455
+ readonly GOOD_DEFAULT: 0;
456
+ readonly SSL3: 1;
457
+ readonly TLS1DOT0: 2;
458
+ readonly TLS1DOT1: 3;
459
+ readonly TLS1DOT2: 4;
460
+ readonly TLS1DOT3: 5;
461
+ }>>;
419
462
  cipherList: z.ZodOptional<z.ZodString>;
420
463
  }, "strip", z.ZodTypeAny, {
421
464
  keypair?: {
@@ -425,7 +468,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
425
468
  requireClientCerts?: boolean | undefined;
426
469
  trustBrowserCas?: boolean | undefined;
427
470
  trustedCertificates?: string[] | undefined;
428
- minVersion?: TlsOptions_Version | undefined;
471
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
429
472
  cipherList?: string | undefined;
430
473
  }, {
431
474
  keypair?: {
@@ -435,7 +478,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
435
478
  requireClientCerts?: boolean | undefined;
436
479
  trustBrowserCas?: boolean | undefined;
437
480
  trustedCertificates?: string[] | undefined;
438
- minVersion?: TlsOptions_Version | undefined;
481
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
439
482
  cipherList?: string | undefined;
440
483
  }>>;
441
484
  }, "strip", z.ZodTypeAny, {
@@ -449,7 +492,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
449
492
  requireClientCerts?: boolean | undefined;
450
493
  trustBrowserCas?: boolean | undefined;
451
494
  trustedCertificates?: string[] | undefined;
452
- minVersion?: TlsOptions_Version | undefined;
495
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
453
496
  cipherList?: string | undefined;
454
497
  } | undefined;
455
498
  }, {
@@ -463,7 +506,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
463
506
  requireClientCerts?: boolean | undefined;
464
507
  trustBrowserCas?: boolean | undefined;
465
508
  trustedCertificates?: string[] | undefined;
466
- minVersion?: TlsOptions_Version | undefined;
509
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
467
510
  cipherList?: string | undefined;
468
511
  } | undefined;
469
512
  }>;
@@ -479,7 +522,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
479
522
  requireClientCerts?: boolean | undefined;
480
523
  trustBrowserCas?: boolean | undefined;
481
524
  trustedCertificates?: string[] | undefined;
482
- minVersion?: TlsOptions_Version | undefined;
525
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
483
526
  cipherList?: string | undefined;
484
527
  } | undefined;
485
528
  };
@@ -495,16 +538,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
495
538
  requireClientCerts?: boolean | undefined;
496
539
  trustBrowserCas?: boolean | undefined;
497
540
  trustedCertificates?: string[] | undefined;
498
- minVersion?: TlsOptions_Version | undefined;
541
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
499
542
  cipherList?: string | undefined;
500
543
  } | undefined;
501
544
  };
502
545
  }>, z.ZodObject<{
503
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
546
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
504
547
  }, "strip", z.ZodTypeAny, {
505
- external: ExternalServer & (ExternalServer | undefined);
548
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
506
549
  }, {
507
- external: ExternalServer & (ExternalServer | undefined);
550
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
508
551
  }>, z.ZodObject<{
509
552
  disk: z.ZodObject<{
510
553
  path: z.ZodString;
@@ -526,7 +569,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
526
569
  path: string;
527
570
  writable?: boolean | undefined;
528
571
  };
529
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>>;
572
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>>;
530
573
  wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
531
574
  scriptName: z.ZodString;
532
575
  entrypoint: z.ZodOptional<z.ZodString>;
@@ -567,7 +610,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
567
610
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
568
611
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
569
612
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
570
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
613
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
614
+ readonly GOOD_DEFAULT: 0;
615
+ readonly SSL3: 1;
616
+ readonly TLS1DOT0: 2;
617
+ readonly TLS1DOT1: 3;
618
+ readonly TLS1DOT2: 4;
619
+ readonly TLS1DOT3: 5;
620
+ }>>;
571
621
  cipherList: z.ZodOptional<z.ZodString>;
572
622
  }, "strip", z.ZodTypeAny, {
573
623
  keypair?: {
@@ -577,7 +627,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
577
627
  requireClientCerts?: boolean | undefined;
578
628
  trustBrowserCas?: boolean | undefined;
579
629
  trustedCertificates?: string[] | undefined;
580
- minVersion?: TlsOptions_Version | undefined;
630
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
581
631
  cipherList?: string | undefined;
582
632
  }, {
583
633
  keypair?: {
@@ -587,7 +637,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
587
637
  requireClientCerts?: boolean | undefined;
588
638
  trustBrowserCas?: boolean | undefined;
589
639
  trustedCertificates?: string[] | undefined;
590
- minVersion?: TlsOptions_Version | undefined;
640
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
591
641
  cipherList?: string | undefined;
592
642
  }>>;
593
643
  }, "strip", z.ZodTypeAny, {
@@ -601,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
601
651
  requireClientCerts?: boolean | undefined;
602
652
  trustBrowserCas?: boolean | undefined;
603
653
  trustedCertificates?: string[] | undefined;
604
- minVersion?: TlsOptions_Version | undefined;
654
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
605
655
  cipherList?: string | undefined;
606
656
  } | undefined;
607
657
  }, {
@@ -615,7 +665,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
615
665
  requireClientCerts?: boolean | undefined;
616
666
  trustBrowserCas?: boolean | undefined;
617
667
  trustedCertificates?: string[] | undefined;
618
- minVersion?: TlsOptions_Version | undefined;
668
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
619
669
  cipherList?: string | undefined;
620
670
  } | undefined;
621
671
  }>;
@@ -631,7 +681,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
631
681
  requireClientCerts?: boolean | undefined;
632
682
  trustBrowserCas?: boolean | undefined;
633
683
  trustedCertificates?: string[] | undefined;
634
- minVersion?: TlsOptions_Version | undefined;
684
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
635
685
  cipherList?: string | undefined;
636
686
  } | undefined;
637
687
  };
@@ -647,16 +697,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
647
697
  requireClientCerts?: boolean | undefined;
648
698
  trustBrowserCas?: boolean | undefined;
649
699
  trustedCertificates?: string[] | undefined;
650
- minVersion?: TlsOptions_Version | undefined;
700
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
651
701
  cipherList?: string | undefined;
652
702
  } | undefined;
653
703
  };
654
704
  }>, z.ZodObject<{
655
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
705
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
656
706
  }, "strip", z.ZodTypeAny, {
657
- external: ExternalServer & (ExternalServer | undefined);
707
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
658
708
  }, {
659
- external: ExternalServer & (ExternalServer | undefined);
709
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
660
710
  }>, z.ZodObject<{
661
711
  disk: z.ZodObject<{
662
712
  path: z.ZodString;
@@ -678,7 +728,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
678
728
  path: string;
679
729
  writable?: boolean | undefined;
680
730
  };
681
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>;
731
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>;
682
732
  fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
683
733
  unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
684
734
  unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -710,9 +760,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
710
760
  compatibilityFlags?: string[] | undefined;
711
761
  routes?: string[] | undefined;
712
762
  bindings?: Record<string, Json> | undefined;
713
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
763
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
714
764
  textBlobBindings?: Record<string, string> | undefined;
715
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
765
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
716
766
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
717
767
  name: string | typeof kCurrentWorker;
718
768
  entrypoint?: string | undefined;
@@ -728,18 +778,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
728
778
  requireClientCerts?: boolean | undefined;
729
779
  trustBrowserCas?: boolean | undefined;
730
780
  trustedCertificates?: string[] | undefined;
731
- minVersion?: TlsOptions_Version | undefined;
781
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
732
782
  cipherList?: string | undefined;
733
783
  } | undefined;
734
784
  };
735
785
  } | {
736
- external: ExternalServer & (ExternalServer | undefined);
786
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
737
787
  } | {
738
788
  disk: {
739
789
  path: string;
740
790
  writable?: boolean | undefined;
741
791
  };
742
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
792
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
743
793
  wrappedBindings?: Record<string, string | {
744
794
  scriptName: string;
745
795
  entrypoint?: string | undefined;
@@ -760,18 +810,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
760
810
  requireClientCerts?: boolean | undefined;
761
811
  trustBrowserCas?: boolean | undefined;
762
812
  trustedCertificates?: string[] | undefined;
763
- minVersion?: TlsOptions_Version | undefined;
813
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
764
814
  cipherList?: string | undefined;
765
815
  } | undefined;
766
816
  };
767
817
  } | {
768
- external: ExternalServer & (ExternalServer | undefined);
818
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
769
819
  } | {
770
820
  disk: {
771
821
  path: string;
772
822
  writable?: boolean | undefined;
773
823
  };
774
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
824
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
775
825
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
776
826
  unsafeEphemeralDurableObjects?: boolean | undefined;
777
827
  unsafeDirectSockets?: {
@@ -790,9 +840,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
790
840
  compatibilityFlags?: string[] | undefined;
791
841
  routes?: string[] | undefined;
792
842
  bindings?: Record<string, Json> | undefined;
793
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
843
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
794
844
  textBlobBindings?: Record<string, string> | undefined;
795
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
845
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
796
846
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
797
847
  name: string | typeof kCurrentWorker;
798
848
  entrypoint?: string | undefined;
@@ -808,18 +858,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
808
858
  requireClientCerts?: boolean | undefined;
809
859
  trustBrowserCas?: boolean | undefined;
810
860
  trustedCertificates?: string[] | undefined;
811
- minVersion?: TlsOptions_Version | undefined;
861
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
812
862
  cipherList?: string | undefined;
813
863
  } | undefined;
814
864
  };
815
865
  } | {
816
- external: ExternalServer & (ExternalServer | undefined);
866
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
817
867
  } | {
818
868
  disk: {
819
869
  path: string;
820
870
  writable?: boolean | undefined;
821
871
  };
822
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
872
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
823
873
  wrappedBindings?: Record<string, string | {
824
874
  scriptName: string;
825
875
  entrypoint?: string | undefined;
@@ -840,18 +890,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
840
890
  requireClientCerts?: boolean | undefined;
841
891
  trustBrowserCas?: boolean | undefined;
842
892
  trustedCertificates?: string[] | undefined;
843
- minVersion?: TlsOptions_Version | undefined;
893
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
844
894
  cipherList?: string | undefined;
845
895
  } | undefined;
846
896
  };
847
897
  } | {
848
- external: ExternalServer & (ExternalServer | undefined);
898
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
849
899
  } | {
850
900
  disk: {
851
901
  path: string;
852
902
  writable?: boolean | undefined;
853
903
  };
854
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
904
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
855
905
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
856
906
  unsafeEphemeralDurableObjects?: boolean | undefined;
857
907
  unsafeDirectSockets?: {
@@ -867,7 +917,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
867
917
  modules: {
868
918
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
869
919
  path: string;
870
- contents?: string | Uint8Array | undefined;
920
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
871
921
  }[];
872
922
  modulesRoot?: string | undefined;
873
923
  } & {
@@ -877,9 +927,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
877
927
  compatibilityFlags?: string[] | undefined;
878
928
  routes?: string[] | undefined;
879
929
  bindings?: Record<string, Json> | undefined;
880
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
930
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
881
931
  textBlobBindings?: Record<string, string> | undefined;
882
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
932
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
883
933
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
884
934
  name: string | typeof kCurrentWorker;
885
935
  entrypoint?: string | undefined;
@@ -895,18 +945,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
895
945
  requireClientCerts?: boolean | undefined;
896
946
  trustBrowserCas?: boolean | undefined;
897
947
  trustedCertificates?: string[] | undefined;
898
- minVersion?: TlsOptions_Version | undefined;
948
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
899
949
  cipherList?: string | undefined;
900
950
  } | undefined;
901
951
  };
902
952
  } | {
903
- external: ExternalServer & (ExternalServer | undefined);
953
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
904
954
  } | {
905
955
  disk: {
906
956
  path: string;
907
957
  writable?: boolean | undefined;
908
958
  };
909
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
959
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
910
960
  wrappedBindings?: Record<string, string | {
911
961
  scriptName: string;
912
962
  entrypoint?: string | undefined;
@@ -927,18 +977,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
927
977
  requireClientCerts?: boolean | undefined;
928
978
  trustBrowserCas?: boolean | undefined;
929
979
  trustedCertificates?: string[] | undefined;
930
- minVersion?: TlsOptions_Version | undefined;
980
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
931
981
  cipherList?: string | undefined;
932
982
  } | undefined;
933
983
  };
934
984
  } | {
935
- external: ExternalServer & (ExternalServer | undefined);
985
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
936
986
  } | {
937
987
  disk: {
938
988
  path: string;
939
989
  writable?: boolean | undefined;
940
990
  };
941
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
991
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
942
992
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
943
993
  unsafeEphemeralDurableObjects?: boolean | undefined;
944
994
  unsafeDirectSockets?: {
@@ -967,9 +1017,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
967
1017
  compatibilityFlags?: string[] | undefined;
968
1018
  routes?: string[] | undefined;
969
1019
  bindings?: Record<string, Json> | undefined;
970
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1020
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
971
1021
  textBlobBindings?: Record<string, string> | undefined;
972
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1022
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
973
1023
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
974
1024
  name: string | typeof kCurrentWorker;
975
1025
  entrypoint?: string | undefined;
@@ -985,18 +1035,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
985
1035
  requireClientCerts?: boolean | undefined;
986
1036
  trustBrowserCas?: boolean | undefined;
987
1037
  trustedCertificates?: string[] | undefined;
988
- minVersion?: TlsOptions_Version | undefined;
1038
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
989
1039
  cipherList?: string | undefined;
990
1040
  } | undefined;
991
1041
  };
992
1042
  } | {
993
- external: ExternalServer & (ExternalServer | undefined);
1043
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
994
1044
  } | {
995
1045
  disk: {
996
1046
  path: string;
997
1047
  writable?: boolean | undefined;
998
1048
  };
999
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1049
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1000
1050
  wrappedBindings?: Record<string, string | {
1001
1051
  scriptName: string;
1002
1052
  entrypoint?: string | undefined;
@@ -1017,18 +1067,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1017
1067
  requireClientCerts?: boolean | undefined;
1018
1068
  trustBrowserCas?: boolean | undefined;
1019
1069
  trustedCertificates?: string[] | undefined;
1020
- minVersion?: TlsOptions_Version | undefined;
1070
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1021
1071
  cipherList?: string | undefined;
1022
1072
  } | undefined;
1023
1073
  };
1024
1074
  } | {
1025
- external: ExternalServer & (ExternalServer | undefined);
1075
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1026
1076
  } | {
1027
1077
  disk: {
1028
1078
  path: string;
1029
1079
  writable?: boolean | undefined;
1030
1080
  };
1031
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1081
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1032
1082
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1033
1083
  unsafeEphemeralDurableObjects?: boolean | undefined;
1034
1084
  unsafeDirectSockets?: {
@@ -1056,9 +1106,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1056
1106
  compatibilityFlags?: string[] | undefined;
1057
1107
  routes?: string[] | undefined;
1058
1108
  bindings?: Record<string, Json> | undefined;
1059
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1109
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1060
1110
  textBlobBindings?: Record<string, string> | undefined;
1061
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1111
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1062
1112
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1063
1113
  name: string | typeof kCurrentWorker;
1064
1114
  entrypoint?: string | undefined;
@@ -1074,18 +1124,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1074
1124
  requireClientCerts?: boolean | undefined;
1075
1125
  trustBrowserCas?: boolean | undefined;
1076
1126
  trustedCertificates?: string[] | undefined;
1077
- minVersion?: TlsOptions_Version | undefined;
1127
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1078
1128
  cipherList?: string | undefined;
1079
1129
  } | undefined;
1080
1130
  };
1081
1131
  } | {
1082
- external: ExternalServer & (ExternalServer | undefined);
1132
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1083
1133
  } | {
1084
1134
  disk: {
1085
1135
  path: string;
1086
1136
  writable?: boolean | undefined;
1087
1137
  };
1088
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1138
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1089
1139
  wrappedBindings?: Record<string, string | {
1090
1140
  scriptName: string;
1091
1141
  entrypoint?: string | undefined;
@@ -1106,18 +1156,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1106
1156
  requireClientCerts?: boolean | undefined;
1107
1157
  trustBrowserCas?: boolean | undefined;
1108
1158
  trustedCertificates?: string[] | undefined;
1109
- minVersion?: TlsOptions_Version | undefined;
1159
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1110
1160
  cipherList?: string | undefined;
1111
1161
  } | undefined;
1112
1162
  };
1113
1163
  } | {
1114
- external: ExternalServer & (ExternalServer | undefined);
1164
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1115
1165
  } | {
1116
1166
  disk: {
1117
1167
  path: string;
1118
1168
  writable?: boolean | undefined;
1119
1169
  };
1120
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1170
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1121
1171
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1122
1172
  unsafeEphemeralDurableObjects?: boolean | undefined;
1123
1173
  unsafeDirectSockets?: {
@@ -1133,7 +1183,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1133
1183
  modules: {
1134
1184
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1135
1185
  path: string;
1136
- contents?: string | Uint8Array | undefined;
1186
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1137
1187
  }[];
1138
1188
  modulesRoot?: string | undefined;
1139
1189
  } | {
@@ -1162,9 +1212,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1162
1212
  compatibilityFlags?: string[] | undefined;
1163
1213
  routes?: string[] | undefined;
1164
1214
  bindings?: Record<string, Json> | undefined;
1165
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1215
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1166
1216
  textBlobBindings?: Record<string, string> | undefined;
1167
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1217
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1168
1218
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1169
1219
  name: string | typeof kCurrentWorker;
1170
1220
  entrypoint?: string | undefined;
@@ -1180,18 +1230,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1180
1230
  requireClientCerts?: boolean | undefined;
1181
1231
  trustBrowserCas?: boolean | undefined;
1182
1232
  trustedCertificates?: string[] | undefined;
1183
- minVersion?: TlsOptions_Version | undefined;
1233
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1184
1234
  cipherList?: string | undefined;
1185
1235
  } | undefined;
1186
1236
  };
1187
1237
  } | {
1188
- external: ExternalServer & (ExternalServer | undefined);
1238
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1189
1239
  } | {
1190
1240
  disk: {
1191
1241
  path: string;
1192
1242
  writable?: boolean | undefined;
1193
1243
  };
1194
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
1244
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1195
1245
  wrappedBindings?: Record<string, string | {
1196
1246
  scriptName: string;
1197
1247
  entrypoint?: string | undefined;
@@ -1212,18 +1262,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1212
1262
  requireClientCerts?: boolean | undefined;
1213
1263
  trustBrowserCas?: boolean | undefined;
1214
1264
  trustedCertificates?: string[] | undefined;
1215
- minVersion?: TlsOptions_Version | undefined;
1265
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1216
1266
  cipherList?: string | undefined;
1217
1267
  } | undefined;
1218
1268
  };
1219
1269
  } | {
1220
- external: ExternalServer & (ExternalServer | undefined);
1270
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1221
1271
  } | {
1222
1272
  disk: {
1223
1273
  path: string;
1224
1274
  writable?: boolean | undefined;
1225
1275
  };
1226
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1276
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1227
1277
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1228
1278
  unsafeEphemeralDurableObjects?: boolean | undefined;
1229
1279
  unsafeDirectSockets?: {
@@ -1254,7 +1304,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1254
1304
  cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
1255
1305
  liveReload: z.ZodOptional<z.ZodBoolean>;
1256
1306
  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>>>;
1307
+ 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
1308
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
1259
1309
  }, "strip", z.ZodTypeAny, {
1260
1310
  rootPath?: undefined;
@@ -1273,7 +1323,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1273
1323
  cf?: string | boolean | Record<string, any> | undefined;
1274
1324
  liveReload?: boolean | undefined;
1275
1325
  unsafeProxySharedSecret?: string | undefined;
1276
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1326
+ unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1277
1327
  unsafeStickyBlobs?: boolean | undefined;
1278
1328
  }, {
1279
1329
  rootPath?: string | undefined;
@@ -1292,7 +1342,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1292
1342
  cf?: string | boolean | Record<string, any> | undefined;
1293
1343
  liveReload?: boolean | undefined;
1294
1344
  unsafeProxySharedSecret?: string | undefined;
1295
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
1345
+ unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1296
1346
  unsafeStickyBlobs?: boolean | undefined;
1297
1347
  }>;
1298
1348
 
@@ -1576,10 +1626,12 @@ export declare interface HttpOptions_Header {
1576
1626
  value?: string;
1577
1627
  }
1578
1628
 
1579
- export declare enum HttpOptions_Style {
1580
- HOST = 0,
1581
- PROXY = 1
1582
- }
1629
+ export declare const HttpOptions_Style: {
1630
+ readonly HOST: 0;
1631
+ readonly PROXY: 1;
1632
+ };
1633
+
1634
+ export declare type HttpOptions_Style = (typeof HttpOptions_Style)[keyof typeof HttpOptions_Style];
1583
1635
 
1584
1636
  export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
1585
1637
 
@@ -1763,9 +1815,9 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
1763
1815
  export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
1764
1816
 
1765
1817
  declare class MessageEvent_2 extends Event {
1766
- readonly data: ArrayBuffer | string;
1818
+ readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
1767
1819
  constructor(type: "message", init: {
1768
- data: ArrayBuffer | string;
1820
+ data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
1769
1821
  });
1770
1822
  }
1771
1823
  export { MessageEvent_2 as MessageEvent }
@@ -1815,15 +1867,15 @@ export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
1815
1867
  export declare const ModuleDefinitionSchema: z.ZodObject<{
1816
1868
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1817
1869
  path: z.ZodEffects<z.ZodString, string, string>;
1818
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
1870
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
1819
1871
  }, "strip", z.ZodTypeAny, {
1820
1872
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1821
1873
  path: string;
1822
- contents?: string | Uint8Array | undefined;
1874
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1823
1875
  }, {
1824
1876
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1825
1877
  path: string;
1826
- contents?: string | Uint8Array | undefined;
1878
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1827
1879
  }>;
1828
1880
 
1829
1881
  export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
@@ -2000,8 +2052,8 @@ export declare interface PlatformImpl<RS> {
2000
2052
  Blob: typeof Blob_2;
2001
2053
  File: typeof File_2;
2002
2054
  Headers: typeof Headers_3;
2003
- Request: typeof Request_4;
2004
- Response: typeof Response_4;
2055
+ Request: typeof Request_5;
2056
+ Response: typeof Response_5;
2005
2057
  isReadableStream(value: unknown): value is RS;
2006
2058
  bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
2007
2059
  unbufferReadableStream(buffer: ArrayBuffer): RS;
@@ -2024,33 +2076,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
2024
2076
  }
2025
2077
 
2026
2078
  export declare const PLUGINS: {
2027
- core: Plugin<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2079
+ core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2028
2080
  modules: z.ZodArray<z.ZodObject<{
2029
2081
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2030
2082
  path: z.ZodEffects<z.ZodString, string, string>;
2031
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
2083
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2032
2084
  }, "strip", z.ZodTypeAny, {
2033
2085
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2034
2086
  path: string;
2035
- contents?: string | Uint8Array | undefined;
2087
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2036
2088
  }, {
2037
2089
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2038
2090
  path: string;
2039
- contents?: string | Uint8Array | undefined;
2091
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2040
2092
  }>, "many">;
2041
2093
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2042
2094
  }, "strip", z.ZodTypeAny, {
2043
2095
  modules: {
2044
2096
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2045
2097
  path: string;
2046
- contents?: string | Uint8Array | undefined;
2098
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2047
2099
  }[];
2048
2100
  modulesRoot?: string | undefined;
2049
2101
  }, {
2050
2102
  modules: {
2051
2103
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2052
2104
  path: string;
2053
- contents?: string | Uint8Array | undefined;
2105
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2054
2106
  }[];
2055
2107
  modulesRoot?: string | undefined;
2056
2108
  }>, z.ZodObject<{
@@ -2132,18 +2184,18 @@ export declare const PLUGINS: {
2132
2184
  compatibilityDate: z.ZodOptional<z.ZodString>;
2133
2185
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2134
2186
  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>]>>>;
2187
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
2188
+ wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
2137
2189
  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>]>;
2190
+ dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
2191
+ serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2192
+ name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2141
2193
  entrypoint: z.ZodOptional<z.ZodString>;
2142
2194
  }, "strip", z.ZodTypeAny, {
2143
- name: string | kCurrentWorker;
2195
+ name: string | kCurrentWorker_2;
2144
2196
  entrypoint?: string | undefined;
2145
2197
  }, {
2146
- name: string | kCurrentWorker;
2198
+ name: string | kCurrentWorker_2;
2147
2199
  entrypoint?: string | undefined;
2148
2200
  }>, z.ZodObject<{
2149
2201
  network: z.ZodObject<{
@@ -2163,7 +2215,14 @@ export declare const PLUGINS: {
2163
2215
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
2164
2216
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
2165
2217
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2166
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
2218
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
2219
+ readonly GOOD_DEFAULT: 0;
2220
+ readonly SSL3: 1;
2221
+ readonly TLS1DOT0: 2;
2222
+ readonly TLS1DOT1: 3;
2223
+ readonly TLS1DOT2: 4;
2224
+ readonly TLS1DOT3: 5;
2225
+ }>>;
2167
2226
  cipherList: z.ZodOptional<z.ZodString>;
2168
2227
  }, "strip", z.ZodTypeAny, {
2169
2228
  keypair?: {
@@ -2173,7 +2232,7 @@ export declare const PLUGINS: {
2173
2232
  requireClientCerts?: boolean | undefined;
2174
2233
  trustBrowserCas?: boolean | undefined;
2175
2234
  trustedCertificates?: string[] | undefined;
2176
- minVersion?: TlsOptions_Version | undefined;
2235
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2177
2236
  cipherList?: string | undefined;
2178
2237
  }, {
2179
2238
  keypair?: {
@@ -2183,7 +2242,7 @@ export declare const PLUGINS: {
2183
2242
  requireClientCerts?: boolean | undefined;
2184
2243
  trustBrowserCas?: boolean | undefined;
2185
2244
  trustedCertificates?: string[] | undefined;
2186
- minVersion?: TlsOptions_Version | undefined;
2245
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2187
2246
  cipherList?: string | undefined;
2188
2247
  }>>;
2189
2248
  }, "strip", z.ZodTypeAny, {
@@ -2197,7 +2256,7 @@ export declare const PLUGINS: {
2197
2256
  requireClientCerts?: boolean | undefined;
2198
2257
  trustBrowserCas?: boolean | undefined;
2199
2258
  trustedCertificates?: string[] | undefined;
2200
- minVersion?: TlsOptions_Version | undefined;
2259
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2201
2260
  cipherList?: string | undefined;
2202
2261
  } | undefined;
2203
2262
  }, {
@@ -2211,7 +2270,7 @@ export declare const PLUGINS: {
2211
2270
  requireClientCerts?: boolean | undefined;
2212
2271
  trustBrowserCas?: boolean | undefined;
2213
2272
  trustedCertificates?: string[] | undefined;
2214
- minVersion?: TlsOptions_Version | undefined;
2273
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2215
2274
  cipherList?: string | undefined;
2216
2275
  } | undefined;
2217
2276
  }>;
@@ -2227,7 +2286,7 @@ export declare const PLUGINS: {
2227
2286
  requireClientCerts?: boolean | undefined;
2228
2287
  trustBrowserCas?: boolean | undefined;
2229
2288
  trustedCertificates?: string[] | undefined;
2230
- minVersion?: TlsOptions_Version | undefined;
2289
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2231
2290
  cipherList?: string | undefined;
2232
2291
  } | undefined;
2233
2292
  };
@@ -2243,16 +2302,16 @@ export declare const PLUGINS: {
2243
2302
  requireClientCerts?: boolean | undefined;
2244
2303
  trustBrowserCas?: boolean | undefined;
2245
2304
  trustedCertificates?: string[] | undefined;
2246
- minVersion?: TlsOptions_Version | undefined;
2305
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2247
2306
  cipherList?: string | undefined;
2248
2307
  } | undefined;
2249
2308
  };
2250
2309
  }>, z.ZodObject<{
2251
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
2310
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
2252
2311
  }, "strip", z.ZodTypeAny, {
2253
- external: ExternalServer & (ExternalServer | undefined);
2312
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2254
2313
  }, {
2255
- external: ExternalServer & (ExternalServer | undefined);
2314
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2256
2315
  }>, z.ZodObject<{
2257
2316
  disk: z.ZodObject<{
2258
2317
  path: z.ZodString;
@@ -2274,28 +2333,28 @@ export declare const PLUGINS: {
2274
2333
  path: string;
2275
2334
  writable?: boolean | undefined;
2276
2335
  };
2277
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>>;
2336
+ }>, 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
2337
  wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2279
2338
  scriptName: z.ZodString;
2280
2339
  entrypoint: z.ZodOptional<z.ZodString>;
2281
- bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
2340
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
2282
2341
  }, "strip", z.ZodTypeAny, {
2283
2342
  scriptName: string;
2284
2343
  entrypoint?: string | undefined;
2285
- bindings?: Record<string, Json> | undefined;
2344
+ bindings?: Record<string, Json_2> | undefined;
2286
2345
  }, {
2287
2346
  scriptName: string;
2288
2347
  entrypoint?: string | undefined;
2289
- bindings?: Record<string, Json> | undefined;
2348
+ bindings?: Record<string, Json_2> | undefined;
2290
2349
  }>]>>>;
2291
- outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>, z.ZodObject<{
2292
- name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>]>;
2350
+ outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2351
+ name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2293
2352
  entrypoint: z.ZodOptional<z.ZodString>;
2294
2353
  }, "strip", z.ZodTypeAny, {
2295
- name: string | kCurrentWorker;
2354
+ name: string | kCurrentWorker_2;
2296
2355
  entrypoint?: string | undefined;
2297
2356
  }, {
2298
- name: string | kCurrentWorker;
2357
+ name: string | kCurrentWorker_2;
2299
2358
  entrypoint?: string | undefined;
2300
2359
  }>, z.ZodObject<{
2301
2360
  network: z.ZodObject<{
@@ -2315,7 +2374,14 @@ export declare const PLUGINS: {
2315
2374
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
2316
2375
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
2317
2376
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2318
- minVersion: z.ZodOptional<z.ZodNativeEnum<TlsOptions_Version>>;
2377
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
2378
+ readonly GOOD_DEFAULT: 0;
2379
+ readonly SSL3: 1;
2380
+ readonly TLS1DOT0: 2;
2381
+ readonly TLS1DOT1: 3;
2382
+ readonly TLS1DOT2: 4;
2383
+ readonly TLS1DOT3: 5;
2384
+ }>>;
2319
2385
  cipherList: z.ZodOptional<z.ZodString>;
2320
2386
  }, "strip", z.ZodTypeAny, {
2321
2387
  keypair?: {
@@ -2325,7 +2391,7 @@ export declare const PLUGINS: {
2325
2391
  requireClientCerts?: boolean | undefined;
2326
2392
  trustBrowserCas?: boolean | undefined;
2327
2393
  trustedCertificates?: string[] | undefined;
2328
- minVersion?: TlsOptions_Version | undefined;
2394
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2329
2395
  cipherList?: string | undefined;
2330
2396
  }, {
2331
2397
  keypair?: {
@@ -2335,7 +2401,7 @@ export declare const PLUGINS: {
2335
2401
  requireClientCerts?: boolean | undefined;
2336
2402
  trustBrowserCas?: boolean | undefined;
2337
2403
  trustedCertificates?: string[] | undefined;
2338
- minVersion?: TlsOptions_Version | undefined;
2404
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2339
2405
  cipherList?: string | undefined;
2340
2406
  }>>;
2341
2407
  }, "strip", z.ZodTypeAny, {
@@ -2349,7 +2415,7 @@ export declare const PLUGINS: {
2349
2415
  requireClientCerts?: boolean | undefined;
2350
2416
  trustBrowserCas?: boolean | undefined;
2351
2417
  trustedCertificates?: string[] | undefined;
2352
- minVersion?: TlsOptions_Version | undefined;
2418
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2353
2419
  cipherList?: string | undefined;
2354
2420
  } | undefined;
2355
2421
  }, {
@@ -2363,7 +2429,7 @@ export declare const PLUGINS: {
2363
2429
  requireClientCerts?: boolean | undefined;
2364
2430
  trustBrowserCas?: boolean | undefined;
2365
2431
  trustedCertificates?: string[] | undefined;
2366
- minVersion?: TlsOptions_Version | undefined;
2432
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2367
2433
  cipherList?: string | undefined;
2368
2434
  } | undefined;
2369
2435
  }>;
@@ -2379,7 +2445,7 @@ export declare const PLUGINS: {
2379
2445
  requireClientCerts?: boolean | undefined;
2380
2446
  trustBrowserCas?: boolean | undefined;
2381
2447
  trustedCertificates?: string[] | undefined;
2382
- minVersion?: TlsOptions_Version | undefined;
2448
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2383
2449
  cipherList?: string | undefined;
2384
2450
  } | undefined;
2385
2451
  };
@@ -2395,16 +2461,16 @@ export declare const PLUGINS: {
2395
2461
  requireClientCerts?: boolean | undefined;
2396
2462
  trustBrowserCas?: boolean | undefined;
2397
2463
  trustedCertificates?: string[] | undefined;
2398
- minVersion?: TlsOptions_Version | undefined;
2464
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2399
2465
  cipherList?: string | undefined;
2400
2466
  } | undefined;
2401
2467
  };
2402
2468
  }>, z.ZodObject<{
2403
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
2469
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
2404
2470
  }, "strip", z.ZodTypeAny, {
2405
- external: ExternalServer & (ExternalServer | undefined);
2471
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2406
2472
  }, {
2407
- external: ExternalServer & (ExternalServer | undefined);
2473
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2408
2474
  }>, z.ZodObject<{
2409
2475
  disk: z.ZodObject<{
2410
2476
  path: z.ZodString;
@@ -2426,7 +2492,7 @@ export declare const PLUGINS: {
2426
2492
  path: string;
2427
2493
  writable?: boolean | undefined;
2428
2494
  };
2429
- }>, z.ZodType<(request: Request_2, mf: Miniflare) => Awaitable<Response_2>, z.ZodTypeDef, (request: Request_2, mf: Miniflare) => Awaitable<Response_2>>]>>;
2495
+ }>, 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
2496
  fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
2431
2497
  unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
2432
2498
  unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2454,12 +2520,12 @@ export declare const PLUGINS: {
2454
2520
  compatibilityDate?: string | undefined;
2455
2521
  compatibilityFlags?: string[] | undefined;
2456
2522
  routes?: string[] | undefined;
2457
- bindings?: Record<string, Json> | undefined;
2458
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2523
+ bindings?: Record<string, Json_2> | undefined;
2524
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2459
2525
  textBlobBindings?: Record<string, string> | undefined;
2460
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2461
- serviceBindings?: Record<string, string | kCurrentWorker | {
2462
- name: string | kCurrentWorker;
2526
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2527
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2528
+ name: string | kCurrentWorker_2;
2463
2529
  entrypoint?: string | undefined;
2464
2530
  } | {
2465
2531
  network: {
@@ -2473,25 +2539,25 @@ export declare const PLUGINS: {
2473
2539
  requireClientCerts?: boolean | undefined;
2474
2540
  trustBrowserCas?: boolean | undefined;
2475
2541
  trustedCertificates?: string[] | undefined;
2476
- minVersion?: TlsOptions_Version | undefined;
2542
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2477
2543
  cipherList?: string | undefined;
2478
2544
  } | undefined;
2479
2545
  };
2480
2546
  } | {
2481
- external: ExternalServer & (ExternalServer | undefined);
2547
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2482
2548
  } | {
2483
2549
  disk: {
2484
2550
  path: string;
2485
2551
  writable?: boolean | undefined;
2486
2552
  };
2487
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2553
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2488
2554
  wrappedBindings?: Record<string, string | {
2489
2555
  scriptName: string;
2490
2556
  entrypoint?: string | undefined;
2491
- bindings?: Record<string, Json> | undefined;
2557
+ bindings?: Record<string, Json_2> | undefined;
2492
2558
  }> | undefined;
2493
- outboundService?: string | kCurrentWorker | {
2494
- name: string | kCurrentWorker;
2559
+ outboundService?: string | kCurrentWorker_2 | {
2560
+ name: string | kCurrentWorker_2;
2495
2561
  entrypoint?: string | undefined;
2496
2562
  } | {
2497
2563
  network: {
@@ -2505,18 +2571,18 @@ export declare const PLUGINS: {
2505
2571
  requireClientCerts?: boolean | undefined;
2506
2572
  trustBrowserCas?: boolean | undefined;
2507
2573
  trustedCertificates?: string[] | undefined;
2508
- minVersion?: TlsOptions_Version | undefined;
2574
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2509
2575
  cipherList?: string | undefined;
2510
2576
  } | undefined;
2511
2577
  };
2512
2578
  } | {
2513
- external: ExternalServer & (ExternalServer | undefined);
2579
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2514
2580
  } | {
2515
2581
  disk: {
2516
2582
  path: string;
2517
2583
  writable?: boolean | undefined;
2518
2584
  };
2519
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2585
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2520
2586
  fetchMock?: MockAgent<MockAgent> | undefined;
2521
2587
  unsafeEphemeralDurableObjects?: boolean | undefined;
2522
2588
  unsafeDirectSockets?: {
@@ -2534,12 +2600,12 @@ export declare const PLUGINS: {
2534
2600
  compatibilityDate?: string | undefined;
2535
2601
  compatibilityFlags?: string[] | undefined;
2536
2602
  routes?: string[] | undefined;
2537
- bindings?: Record<string, Json> | undefined;
2538
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2603
+ bindings?: Record<string, Json_2> | undefined;
2604
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2539
2605
  textBlobBindings?: Record<string, string> | undefined;
2540
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2541
- serviceBindings?: Record<string, string | kCurrentWorker | {
2542
- name: string | kCurrentWorker;
2606
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2607
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2608
+ name: string | kCurrentWorker_2;
2543
2609
  entrypoint?: string | undefined;
2544
2610
  } | {
2545
2611
  network: {
@@ -2553,25 +2619,25 @@ export declare const PLUGINS: {
2553
2619
  requireClientCerts?: boolean | undefined;
2554
2620
  trustBrowserCas?: boolean | undefined;
2555
2621
  trustedCertificates?: string[] | undefined;
2556
- minVersion?: TlsOptions_Version | undefined;
2622
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2557
2623
  cipherList?: string | undefined;
2558
2624
  } | undefined;
2559
2625
  };
2560
2626
  } | {
2561
- external: ExternalServer & (ExternalServer | undefined);
2627
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2562
2628
  } | {
2563
2629
  disk: {
2564
2630
  path: string;
2565
2631
  writable?: boolean | undefined;
2566
2632
  };
2567
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2633
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2568
2634
  wrappedBindings?: Record<string, string | {
2569
2635
  scriptName: string;
2570
2636
  entrypoint?: string | undefined;
2571
- bindings?: Record<string, Json> | undefined;
2637
+ bindings?: Record<string, Json_2> | undefined;
2572
2638
  }> | undefined;
2573
- outboundService?: string | kCurrentWorker | {
2574
- name: string | kCurrentWorker;
2639
+ outboundService?: string | kCurrentWorker_2 | {
2640
+ name: string | kCurrentWorker_2;
2575
2641
  entrypoint?: string | undefined;
2576
2642
  } | {
2577
2643
  network: {
@@ -2585,18 +2651,18 @@ export declare const PLUGINS: {
2585
2651
  requireClientCerts?: boolean | undefined;
2586
2652
  trustBrowserCas?: boolean | undefined;
2587
2653
  trustedCertificates?: string[] | undefined;
2588
- minVersion?: TlsOptions_Version | undefined;
2654
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2589
2655
  cipherList?: string | undefined;
2590
2656
  } | undefined;
2591
2657
  };
2592
2658
  } | {
2593
- external: ExternalServer & (ExternalServer | undefined);
2659
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2594
2660
  } | {
2595
2661
  disk: {
2596
2662
  path: string;
2597
2663
  writable?: boolean | undefined;
2598
2664
  };
2599
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2665
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2600
2666
  fetchMock?: MockAgent<MockAgent> | undefined;
2601
2667
  unsafeEphemeralDurableObjects?: boolean | undefined;
2602
2668
  unsafeDirectSockets?: {
@@ -2612,7 +2678,7 @@ export declare const PLUGINS: {
2612
2678
  modules: {
2613
2679
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2614
2680
  path: string;
2615
- contents?: string | Uint8Array | undefined;
2681
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2616
2682
  }[];
2617
2683
  modulesRoot?: string | undefined;
2618
2684
  } & {
@@ -2621,12 +2687,12 @@ export declare const PLUGINS: {
2621
2687
  compatibilityDate?: string | undefined;
2622
2688
  compatibilityFlags?: string[] | undefined;
2623
2689
  routes?: string[] | undefined;
2624
- bindings?: Record<string, Json> | undefined;
2625
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2690
+ bindings?: Record<string, Json_2> | undefined;
2691
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2626
2692
  textBlobBindings?: Record<string, string> | undefined;
2627
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2628
- serviceBindings?: Record<string, string | kCurrentWorker | {
2629
- name: string | kCurrentWorker;
2693
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2694
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2695
+ name: string | kCurrentWorker_2;
2630
2696
  entrypoint?: string | undefined;
2631
2697
  } | {
2632
2698
  network: {
@@ -2640,25 +2706,25 @@ export declare const PLUGINS: {
2640
2706
  requireClientCerts?: boolean | undefined;
2641
2707
  trustBrowserCas?: boolean | undefined;
2642
2708
  trustedCertificates?: string[] | undefined;
2643
- minVersion?: TlsOptions_Version | undefined;
2709
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2644
2710
  cipherList?: string | undefined;
2645
2711
  } | undefined;
2646
2712
  };
2647
2713
  } | {
2648
- external: ExternalServer & (ExternalServer | undefined);
2714
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2649
2715
  } | {
2650
2716
  disk: {
2651
2717
  path: string;
2652
2718
  writable?: boolean | undefined;
2653
2719
  };
2654
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2720
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2655
2721
  wrappedBindings?: Record<string, string | {
2656
2722
  scriptName: string;
2657
2723
  entrypoint?: string | undefined;
2658
- bindings?: Record<string, Json> | undefined;
2724
+ bindings?: Record<string, Json_2> | undefined;
2659
2725
  }> | undefined;
2660
- outboundService?: string | kCurrentWorker | {
2661
- name: string | kCurrentWorker;
2726
+ outboundService?: string | kCurrentWorker_2 | {
2727
+ name: string | kCurrentWorker_2;
2662
2728
  entrypoint?: string | undefined;
2663
2729
  } | {
2664
2730
  network: {
@@ -2672,18 +2738,18 @@ export declare const PLUGINS: {
2672
2738
  requireClientCerts?: boolean | undefined;
2673
2739
  trustBrowserCas?: boolean | undefined;
2674
2740
  trustedCertificates?: string[] | undefined;
2675
- minVersion?: TlsOptions_Version | undefined;
2741
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2676
2742
  cipherList?: string | undefined;
2677
2743
  } | undefined;
2678
2744
  };
2679
2745
  } | {
2680
- external: ExternalServer & (ExternalServer | undefined);
2746
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2681
2747
  } | {
2682
2748
  disk: {
2683
2749
  path: string;
2684
2750
  writable?: boolean | undefined;
2685
2751
  };
2686
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2752
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2687
2753
  fetchMock?: MockAgent<MockAgent> | undefined;
2688
2754
  unsafeEphemeralDurableObjects?: boolean | undefined;
2689
2755
  unsafeDirectSockets?: {
@@ -2711,12 +2777,12 @@ export declare const PLUGINS: {
2711
2777
  compatibilityDate?: string | undefined;
2712
2778
  compatibilityFlags?: string[] | undefined;
2713
2779
  routes?: string[] | undefined;
2714
- bindings?: Record<string, Json> | undefined;
2715
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2780
+ bindings?: Record<string, Json_2> | undefined;
2781
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2716
2782
  textBlobBindings?: Record<string, string> | undefined;
2717
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2718
- serviceBindings?: Record<string, string | kCurrentWorker | {
2719
- name: string | kCurrentWorker;
2783
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2784
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2785
+ name: string | kCurrentWorker_2;
2720
2786
  entrypoint?: string | undefined;
2721
2787
  } | {
2722
2788
  network: {
@@ -2730,25 +2796,25 @@ export declare const PLUGINS: {
2730
2796
  requireClientCerts?: boolean | undefined;
2731
2797
  trustBrowserCas?: boolean | undefined;
2732
2798
  trustedCertificates?: string[] | undefined;
2733
- minVersion?: TlsOptions_Version | undefined;
2799
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2734
2800
  cipherList?: string | undefined;
2735
2801
  } | undefined;
2736
2802
  };
2737
2803
  } | {
2738
- external: ExternalServer & (ExternalServer | undefined);
2804
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2739
2805
  } | {
2740
2806
  disk: {
2741
2807
  path: string;
2742
2808
  writable?: boolean | undefined;
2743
2809
  };
2744
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2810
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2745
2811
  wrappedBindings?: Record<string, string | {
2746
2812
  scriptName: string;
2747
2813
  entrypoint?: string | undefined;
2748
- bindings?: Record<string, Json> | undefined;
2814
+ bindings?: Record<string, Json_2> | undefined;
2749
2815
  }> | undefined;
2750
- outboundService?: string | kCurrentWorker | {
2751
- name: string | kCurrentWorker;
2816
+ outboundService?: string | kCurrentWorker_2 | {
2817
+ name: string | kCurrentWorker_2;
2752
2818
  entrypoint?: string | undefined;
2753
2819
  } | {
2754
2820
  network: {
@@ -2762,18 +2828,18 @@ export declare const PLUGINS: {
2762
2828
  requireClientCerts?: boolean | undefined;
2763
2829
  trustBrowserCas?: boolean | undefined;
2764
2830
  trustedCertificates?: string[] | undefined;
2765
- minVersion?: TlsOptions_Version | undefined;
2831
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2766
2832
  cipherList?: string | undefined;
2767
2833
  } | undefined;
2768
2834
  };
2769
2835
  } | {
2770
- external: ExternalServer & (ExternalServer | undefined);
2836
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2771
2837
  } | {
2772
2838
  disk: {
2773
2839
  path: string;
2774
2840
  writable?: boolean | undefined;
2775
2841
  };
2776
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2842
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2777
2843
  fetchMock?: MockAgent<MockAgent> | undefined;
2778
2844
  unsafeEphemeralDurableObjects?: boolean | undefined;
2779
2845
  unsafeDirectSockets?: {
@@ -2800,12 +2866,12 @@ export declare const PLUGINS: {
2800
2866
  compatibilityDate?: string | undefined;
2801
2867
  compatibilityFlags?: string[] | undefined;
2802
2868
  routes?: string[] | undefined;
2803
- bindings?: Record<string, Json> | undefined;
2804
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2869
+ bindings?: Record<string, Json_2> | undefined;
2870
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2805
2871
  textBlobBindings?: Record<string, string> | undefined;
2806
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2807
- serviceBindings?: Record<string, string | kCurrentWorker | {
2808
- name: string | kCurrentWorker;
2872
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2873
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2874
+ name: string | kCurrentWorker_2;
2809
2875
  entrypoint?: string | undefined;
2810
2876
  } | {
2811
2877
  network: {
@@ -2819,25 +2885,25 @@ export declare const PLUGINS: {
2819
2885
  requireClientCerts?: boolean | undefined;
2820
2886
  trustBrowserCas?: boolean | undefined;
2821
2887
  trustedCertificates?: string[] | undefined;
2822
- minVersion?: TlsOptions_Version | undefined;
2888
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2823
2889
  cipherList?: string | undefined;
2824
2890
  } | undefined;
2825
2891
  };
2826
2892
  } | {
2827
- external: ExternalServer & (ExternalServer | undefined);
2893
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2828
2894
  } | {
2829
2895
  disk: {
2830
2896
  path: string;
2831
2897
  writable?: boolean | undefined;
2832
2898
  };
2833
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
2899
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2834
2900
  wrappedBindings?: Record<string, string | {
2835
2901
  scriptName: string;
2836
2902
  entrypoint?: string | undefined;
2837
- bindings?: Record<string, Json> | undefined;
2903
+ bindings?: Record<string, Json_2> | undefined;
2838
2904
  }> | undefined;
2839
- outboundService?: string | kCurrentWorker | {
2840
- name: string | kCurrentWorker;
2905
+ outboundService?: string | kCurrentWorker_2 | {
2906
+ name: string | kCurrentWorker_2;
2841
2907
  entrypoint?: string | undefined;
2842
2908
  } | {
2843
2909
  network: {
@@ -2851,18 +2917,18 @@ export declare const PLUGINS: {
2851
2917
  requireClientCerts?: boolean | undefined;
2852
2918
  trustBrowserCas?: boolean | undefined;
2853
2919
  trustedCertificates?: string[] | undefined;
2854
- minVersion?: TlsOptions_Version | undefined;
2920
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2855
2921
  cipherList?: string | undefined;
2856
2922
  } | undefined;
2857
2923
  };
2858
2924
  } | {
2859
- external: ExternalServer & (ExternalServer | undefined);
2925
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2860
2926
  } | {
2861
2927
  disk: {
2862
2928
  path: string;
2863
2929
  writable?: boolean | undefined;
2864
2930
  };
2865
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
2931
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2866
2932
  fetchMock?: MockAgent<MockAgent> | undefined;
2867
2933
  unsafeEphemeralDurableObjects?: boolean | undefined;
2868
2934
  unsafeDirectSockets?: {
@@ -2878,7 +2944,7 @@ export declare const PLUGINS: {
2878
2944
  modules: {
2879
2945
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2880
2946
  path: string;
2881
- contents?: string | Uint8Array | undefined;
2947
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2882
2948
  }[];
2883
2949
  modulesRoot?: string | undefined;
2884
2950
  } | {
@@ -2906,12 +2972,12 @@ export declare const PLUGINS: {
2906
2972
  compatibilityDate?: string | undefined;
2907
2973
  compatibilityFlags?: string[] | undefined;
2908
2974
  routes?: string[] | undefined;
2909
- bindings?: Record<string, Json> | undefined;
2910
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2975
+ bindings?: Record<string, Json_2> | undefined;
2976
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2911
2977
  textBlobBindings?: Record<string, string> | undefined;
2912
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2913
- serviceBindings?: Record<string, string | kCurrentWorker | {
2914
- name: string | kCurrentWorker;
2978
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2979
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2980
+ name: string | kCurrentWorker_2;
2915
2981
  entrypoint?: string | undefined;
2916
2982
  } | {
2917
2983
  network: {
@@ -2925,25 +2991,25 @@ export declare const PLUGINS: {
2925
2991
  requireClientCerts?: boolean | undefined;
2926
2992
  trustBrowserCas?: boolean | undefined;
2927
2993
  trustedCertificates?: string[] | undefined;
2928
- minVersion?: TlsOptions_Version | undefined;
2994
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2929
2995
  cipherList?: string | undefined;
2930
2996
  } | undefined;
2931
2997
  };
2932
2998
  } | {
2933
- external: ExternalServer & (ExternalServer | undefined);
2999
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2934
3000
  } | {
2935
3001
  disk: {
2936
3002
  path: string;
2937
3003
  writable?: boolean | undefined;
2938
3004
  };
2939
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>)> | undefined;
3005
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2940
3006
  wrappedBindings?: Record<string, string | {
2941
3007
  scriptName: string;
2942
3008
  entrypoint?: string | undefined;
2943
- bindings?: Record<string, Json> | undefined;
3009
+ bindings?: Record<string, Json_2> | undefined;
2944
3010
  }> | undefined;
2945
- outboundService?: string | kCurrentWorker | {
2946
- name: string | kCurrentWorker;
3011
+ outboundService?: string | kCurrentWorker_2 | {
3012
+ name: string | kCurrentWorker_2;
2947
3013
  entrypoint?: string | undefined;
2948
3014
  } | {
2949
3015
  network: {
@@ -2957,18 +3023,18 @@ export declare const PLUGINS: {
2957
3023
  requireClientCerts?: boolean | undefined;
2958
3024
  trustBrowserCas?: boolean | undefined;
2959
3025
  trustedCertificates?: string[] | undefined;
2960
- minVersion?: TlsOptions_Version | undefined;
3026
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2961
3027
  cipherList?: string | undefined;
2962
3028
  } | undefined;
2963
3029
  };
2964
3030
  } | {
2965
- external: ExternalServer & (ExternalServer | undefined);
3031
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2966
3032
  } | {
2967
3033
  disk: {
2968
3034
  path: string;
2969
3035
  writable?: boolean | undefined;
2970
3036
  };
2971
- } | ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3037
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2972
3038
  fetchMock?: MockAgent<MockAgent> | undefined;
2973
3039
  unsafeEphemeralDurableObjects?: boolean | undefined;
2974
3040
  unsafeDirectSockets?: {
@@ -2991,13 +3057,13 @@ export declare const PLUGINS: {
2991
3057
  httpsCertPath: z.ZodOptional<z.ZodString>;
2992
3058
  inspectorPort: z.ZodOptional<z.ZodNumber>;
2993
3059
  verbose: z.ZodOptional<z.ZodBoolean>;
2994
- log: z.ZodOptional<z.ZodType<Log, z.ZodTypeDef, Log>>;
3060
+ log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
2995
3061
  handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
2996
3062
  upstream: z.ZodOptional<z.ZodString>;
2997
3063
  cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
2998
3064
  liveReload: z.ZodOptional<z.ZodBoolean>;
2999
3065
  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>>>;
3066
+ 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
3067
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
3002
3068
  }, "strip", z.ZodTypeAny, {
3003
3069
  rootPath?: undefined;
@@ -3010,13 +3076,13 @@ export declare const PLUGINS: {
3010
3076
  httpsCertPath?: string | undefined;
3011
3077
  inspectorPort?: number | undefined;
3012
3078
  verbose?: boolean | undefined;
3013
- log?: Log | undefined;
3079
+ log?: Log_2 | undefined;
3014
3080
  handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
3015
3081
  upstream?: string | undefined;
3016
3082
  cf?: string | boolean | Record<string, any> | undefined;
3017
3083
  liveReload?: boolean | undefined;
3018
3084
  unsafeProxySharedSecret?: string | undefined;
3019
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3085
+ unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3020
3086
  unsafeStickyBlobs?: boolean | undefined;
3021
3087
  }, {
3022
3088
  rootPath?: string | undefined;
@@ -3029,16 +3095,16 @@ export declare const PLUGINS: {
3029
3095
  httpsCertPath?: string | undefined;
3030
3096
  inspectorPort?: number | undefined;
3031
3097
  verbose?: boolean | undefined;
3032
- log?: Log | undefined;
3098
+ log?: Log_2 | undefined;
3033
3099
  handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
3034
3100
  upstream?: string | undefined;
3035
3101
  cf?: string | boolean | Record<string, any> | undefined;
3036
3102
  liveReload?: boolean | undefined;
3037
3103
  unsafeProxySharedSecret?: string | undefined;
3038
- unsafeModuleFallbackService?: ((request: Request_2, mf: Miniflare) => Awaitable<Response_2>) | undefined;
3104
+ unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3039
3105
  unsafeStickyBlobs?: boolean | undefined;
3040
3106
  }>>;
3041
- cache: Plugin<z.ZodObject<{
3107
+ cache: Plugin_2<z.ZodObject<{
3042
3108
  cache: z.ZodOptional<z.ZodBoolean>;
3043
3109
  cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
3044
3110
  }, "strip", z.ZodTypeAny, {
@@ -3054,7 +3120,7 @@ export declare const PLUGINS: {
3054
3120
  }, {
3055
3121
  cachePersist?: string | boolean | undefined;
3056
3122
  }>>;
3057
- d1: Plugin<z.ZodObject<{
3123
+ d1: Plugin_2<z.ZodObject<{
3058
3124
  d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3059
3125
  }, "strip", z.ZodTypeAny, {
3060
3126
  d1Databases?: string[] | Record<string, string> | undefined;
@@ -3067,24 +3133,24 @@ export declare const PLUGINS: {
3067
3133
  }, {
3068
3134
  d1Persist?: string | boolean | undefined;
3069
3135
  }>>;
3070
- do: Plugin<z.ZodObject<{
3136
+ do: Plugin_2<z.ZodObject<{
3071
3137
  durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
3072
3138
  className: z.ZodString;
3073
3139
  scriptName: z.ZodOptional<z.ZodString>;
3074
3140
  useSQLite: z.ZodOptional<z.ZodBoolean>;
3075
- unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey>]>>;
3141
+ unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
3076
3142
  unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
3077
3143
  }, "strip", z.ZodTypeAny, {
3078
3144
  className: string;
3079
3145
  scriptName?: string | undefined;
3080
3146
  useSQLite?: boolean | undefined;
3081
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3147
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3082
3148
  unsafePreventEviction?: boolean | undefined;
3083
3149
  }, {
3084
3150
  className: string;
3085
3151
  scriptName?: string | undefined;
3086
3152
  useSQLite?: boolean | undefined;
3087
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3153
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3088
3154
  unsafePreventEviction?: boolean | undefined;
3089
3155
  }>]>>>;
3090
3156
  }, "strip", z.ZodTypeAny, {
@@ -3092,7 +3158,7 @@ export declare const PLUGINS: {
3092
3158
  className: string;
3093
3159
  scriptName?: string | undefined;
3094
3160
  useSQLite?: boolean | undefined;
3095
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3161
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3096
3162
  unsafePreventEviction?: boolean | undefined;
3097
3163
  }> | undefined;
3098
3164
  }, {
@@ -3100,7 +3166,7 @@ export declare const PLUGINS: {
3100
3166
  className: string;
3101
3167
  scriptName?: string | undefined;
3102
3168
  useSQLite?: boolean | undefined;
3103
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3169
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3104
3170
  unsafePreventEviction?: boolean | undefined;
3105
3171
  }> | undefined;
3106
3172
  }>, z.ZodObject<{
@@ -3110,7 +3176,7 @@ export declare const PLUGINS: {
3110
3176
  }, {
3111
3177
  durableObjectsPersist?: string | boolean | undefined;
3112
3178
  }>>;
3113
- kv: Plugin<z.ZodObject<{
3179
+ kv: Plugin_2<z.ZodObject<{
3114
3180
  kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3115
3181
  sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3116
3182
  siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3132,7 +3198,7 @@ export declare const PLUGINS: {
3132
3198
  }, {
3133
3199
  kvPersist?: string | boolean | undefined;
3134
3200
  }>>;
3135
- queues: Plugin<z.ZodObject<{
3201
+ queues: Plugin_2<z.ZodObject<{
3136
3202
  queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
3137
3203
  queueName: z.ZodString;
3138
3204
  deliveryDelay: z.ZodOptional<z.ZodNumber>;
@@ -3206,7 +3272,7 @@ export declare const PLUGINS: {
3206
3272
  retryDelay?: number | undefined;
3207
3273
  }> | undefined;
3208
3274
  }>>;
3209
- r2: Plugin<z.ZodObject<{
3275
+ r2: Plugin_2<z.ZodObject<{
3210
3276
  r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3211
3277
  }, "strip", z.ZodTypeAny, {
3212
3278
  r2Buckets?: string[] | Record<string, string> | undefined;
@@ -3219,52 +3285,52 @@ export declare const PLUGINS: {
3219
3285
  }, {
3220
3286
  r2Persist?: string | boolean | undefined;
3221
3287
  }>>;
3222
- hyperdrive: Plugin<z.ZodObject<{
3288
+ hyperdrive: Plugin_2<z.ZodObject<{
3223
3289
  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
3290
  }, "strip", z.ZodTypeAny, {
3225
3291
  hyperdrives?: Record<string, URL_2> | undefined;
3226
3292
  }, {
3227
3293
  hyperdrives?: Record<string, string | URL_2> | undefined;
3228
3294
  }>>;
3229
- ratelimit: Plugin<z.ZodObject<{
3295
+ ratelimit: Plugin_2<z.ZodObject<{
3230
3296
  ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3231
3297
  simple: z.ZodObject<{
3232
3298
  limit: z.ZodNumber;
3233
- period: z.ZodOptional<z.ZodNativeEnum<PeriodType>>;
3299
+ period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
3234
3300
  }, "strip", z.ZodTypeAny, {
3235
3301
  limit: number;
3236
- period?: PeriodType | undefined;
3302
+ period?: PeriodType_2 | undefined;
3237
3303
  }, {
3238
3304
  limit: number;
3239
- period?: PeriodType | undefined;
3305
+ period?: PeriodType_2 | undefined;
3240
3306
  }>;
3241
3307
  }, "strip", z.ZodTypeAny, {
3242
3308
  simple: {
3243
3309
  limit: number;
3244
- period?: PeriodType | undefined;
3310
+ period?: PeriodType_2 | undefined;
3245
3311
  };
3246
3312
  }, {
3247
3313
  simple: {
3248
3314
  limit: number;
3249
- period?: PeriodType | undefined;
3315
+ period?: PeriodType_2 | undefined;
3250
3316
  };
3251
3317
  }>>>;
3252
3318
  }, "strip", z.ZodTypeAny, {
3253
3319
  ratelimits?: Record<string, {
3254
3320
  simple: {
3255
3321
  limit: number;
3256
- period?: PeriodType | undefined;
3322
+ period?: PeriodType_2 | undefined;
3257
3323
  };
3258
3324
  }> | undefined;
3259
3325
  }, {
3260
3326
  ratelimits?: Record<string, {
3261
3327
  simple: {
3262
3328
  limit: number;
3263
- period?: PeriodType | undefined;
3329
+ period?: PeriodType_2 | undefined;
3264
3330
  };
3265
3331
  }> | undefined;
3266
3332
  }>>;
3267
- assets: Plugin<z.ZodObject<{
3333
+ assets: Plugin_2<z.ZodObject<{
3268
3334
  assets: z.ZodOptional<z.ZodObject<{
3269
3335
  workerName: z.ZodOptional<z.ZodString>;
3270
3336
  directory: z.ZodEffects<z.ZodString, string, string>;
@@ -3272,25 +3338,34 @@ export declare const PLUGINS: {
3272
3338
  routingConfig: z.ZodOptional<z.ZodObject<{
3273
3339
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
3274
3340
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
3341
+ account_id: z.ZodOptional<z.ZodNumber>;
3342
+ script_id: z.ZodOptional<z.ZodNumber>;
3275
3343
  }, "strip", z.ZodTypeAny, {
3276
3344
  has_user_worker?: boolean;
3277
3345
  invoke_user_worker_ahead_of_assets?: boolean;
3346
+ account_id?: number;
3347
+ script_id?: number;
3278
3348
  }, {
3279
3349
  has_user_worker?: boolean;
3280
3350
  invoke_user_worker_ahead_of_assets?: boolean;
3351
+ account_id?: number;
3352
+ script_id?: number;
3281
3353
  }>>;
3282
3354
  assetConfig: z.ZodOptional<z.ZodObject<{
3283
3355
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
3284
3356
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
3285
3357
  serve_directly: z.ZodOptional<z.ZodBoolean>;
3358
+ run_worker_first: z.ZodOptional<z.ZodBoolean>;
3286
3359
  }, "strip", z.ZodTypeAny, {
3287
3360
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3288
3361
  not_found_handling?: "none" | "single-page-application" | "404-page";
3289
3362
  serve_directly?: boolean;
3363
+ run_worker_first?: boolean;
3290
3364
  }, {
3291
3365
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3292
3366
  not_found_handling?: "none" | "single-page-application" | "404-page";
3293
3367
  serve_directly?: boolean;
3368
+ run_worker_first?: boolean;
3294
3369
  }>>;
3295
3370
  }, "strip", z.ZodTypeAny, {
3296
3371
  directory: string;
@@ -3299,11 +3374,14 @@ export declare const PLUGINS: {
3299
3374
  routingConfig?: {
3300
3375
  has_user_worker?: boolean;
3301
3376
  invoke_user_worker_ahead_of_assets?: boolean;
3377
+ account_id?: number;
3378
+ script_id?: number;
3302
3379
  } | undefined;
3303
3380
  assetConfig?: {
3304
3381
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3305
3382
  not_found_handling?: "none" | "single-page-application" | "404-page";
3306
3383
  serve_directly?: boolean;
3384
+ run_worker_first?: boolean;
3307
3385
  } | undefined;
3308
3386
  }, {
3309
3387
  directory: string;
@@ -3312,11 +3390,14 @@ export declare const PLUGINS: {
3312
3390
  routingConfig?: {
3313
3391
  has_user_worker?: boolean;
3314
3392
  invoke_user_worker_ahead_of_assets?: boolean;
3393
+ account_id?: number;
3394
+ script_id?: number;
3315
3395
  } | undefined;
3316
3396
  assetConfig?: {
3317
3397
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3318
3398
  not_found_handling?: "none" | "single-page-application" | "404-page";
3319
3399
  serve_directly?: boolean;
3400
+ run_worker_first?: boolean;
3320
3401
  } | undefined;
3321
3402
  }>>;
3322
3403
  }, "strip", z.ZodTypeAny, {
@@ -3327,11 +3408,14 @@ export declare const PLUGINS: {
3327
3408
  routingConfig?: {
3328
3409
  has_user_worker?: boolean;
3329
3410
  invoke_user_worker_ahead_of_assets?: boolean;
3411
+ account_id?: number;
3412
+ script_id?: number;
3330
3413
  } | undefined;
3331
3414
  assetConfig?: {
3332
3415
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3333
3416
  not_found_handling?: "none" | "single-page-application" | "404-page";
3334
3417
  serve_directly?: boolean;
3418
+ run_worker_first?: boolean;
3335
3419
  } | undefined;
3336
3420
  } | undefined;
3337
3421
  }, {
@@ -3342,15 +3426,18 @@ export declare const PLUGINS: {
3342
3426
  routingConfig?: {
3343
3427
  has_user_worker?: boolean;
3344
3428
  invoke_user_worker_ahead_of_assets?: boolean;
3429
+ account_id?: number;
3430
+ script_id?: number;
3345
3431
  } | undefined;
3346
3432
  assetConfig?: {
3347
3433
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3348
3434
  not_found_handling?: "none" | "single-page-application" | "404-page";
3349
3435
  serve_directly?: boolean;
3436
+ run_worker_first?: boolean;
3350
3437
  } | undefined;
3351
3438
  } | undefined;
3352
3439
  }>>;
3353
- workflows: Plugin<z.ZodObject<{
3440
+ workflows: Plugin_2<z.ZodObject<{
3354
3441
  workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3355
3442
  name: z.ZodString;
3356
3443
  className: z.ZodString;
@@ -3580,11 +3667,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
3580
3667
  export declare const QueueIncomingMessageSchema: z.ZodObject<{
3581
3668
  contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
3582
3669
  delaySecs: z.ZodOptional<z.ZodNumber>;
3583
- body: z.ZodEffects<z.ZodString, Buffer, string>;
3670
+ body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
3584
3671
  id: z.ZodOptional<z.ZodString>;
3585
3672
  timestamp: z.ZodOptional<z.ZodNumber>;
3586
3673
  }, "strip", z.ZodTypeAny, {
3587
- body: Buffer;
3674
+ body: Buffer<ArrayBuffer>;
3588
3675
  contentType: "json" | "bytes" | "v8" | "text";
3589
3676
  delaySecs?: number | undefined;
3590
3677
  id?: string | undefined;
@@ -3660,11 +3747,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
3660
3747
  messages: z.ZodArray<z.ZodObject<{
3661
3748
  contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
3662
3749
  delaySecs: z.ZodOptional<z.ZodNumber>;
3663
- body: z.ZodEffects<z.ZodString, Buffer, string>;
3750
+ body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
3664
3751
  id: z.ZodOptional<z.ZodString>;
3665
3752
  timestamp: z.ZodOptional<z.ZodNumber>;
3666
3753
  }, "strip", z.ZodTypeAny, {
3667
- body: Buffer;
3754
+ body: Buffer<ArrayBuffer>;
3668
3755
  contentType: "json" | "bytes" | "v8" | "text";
3669
3756
  delaySecs?: number | undefined;
3670
3757
  id?: string | undefined;
@@ -3678,7 +3765,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
3678
3765
  }>, "many">;
3679
3766
  }, "strip", z.ZodTypeAny, {
3680
3767
  messages: {
3681
- body: Buffer;
3768
+ body: Buffer<ArrayBuffer>;
3682
3769
  contentType: "json" | "bytes" | "v8" | "text";
3683
3770
  delaySecs?: number | undefined;
3684
3771
  id?: string | undefined;
@@ -3872,11 +3959,11 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
3872
3959
 
3873
3960
  export { ReferrerPolicy }
3874
3961
 
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 ? {
3962
+ 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
3963
  [K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
3877
3964
  } : T;
3878
3965
 
3879
- declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_3 {
3966
+ declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
3880
3967
  [kCf]?: CfType;
3881
3968
  constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
3882
3969
  get cf(): CfType | undefined;
@@ -3906,7 +3993,7 @@ export { RequestMode }
3906
3993
 
3907
3994
  export { RequestRedirect }
3908
3995
 
3909
- declare class Response_2 extends Response_3 {
3996
+ declare class Response_2 extends Response_4 {
3910
3997
  readonly [kWebSocket]: WebSocket | null;
3911
3998
  static error(): Response_2;
3912
3999
  static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
@@ -4050,29 +4137,29 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4050
4137
  modules: z.ZodArray<z.ZodObject<{
4051
4138
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4052
4139
  path: z.ZodEffects<z.ZodString, string, string>;
4053
- contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>;
4140
+ contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
4054
4141
  }, "strip", z.ZodTypeAny, {
4055
4142
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4056
4143
  path: string;
4057
- contents?: string | Uint8Array | undefined;
4144
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4058
4145
  }, {
4059
4146
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4060
4147
  path: string;
4061
- contents?: string | Uint8Array | undefined;
4148
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4062
4149
  }>, "many">;
4063
4150
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4064
4151
  }, "strip", z.ZodTypeAny, {
4065
4152
  modules: {
4066
4153
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4067
4154
  path: string;
4068
- contents?: string | Uint8Array | undefined;
4155
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4069
4156
  }[];
4070
4157
  modulesRoot?: string | undefined;
4071
4158
  }, {
4072
4159
  modules: {
4073
4160
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4074
4161
  path: string;
4075
- contents?: string | Uint8Array | undefined;
4162
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
4076
4163
  }[];
4077
4164
  modulesRoot?: string | undefined;
4078
4165
  }>, z.ZodObject<{
@@ -4183,14 +4270,16 @@ export declare interface TlsOptions_Keypair {
4183
4270
  certificateChain?: string;
4184
4271
  }
4185
4272
 
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
- }
4273
+ export declare const TlsOptions_Version: {
4274
+ readonly GOOD_DEFAULT: 0;
4275
+ readonly SSL3: 1;
4276
+ readonly TLS1DOT0: 2;
4277
+ readonly TLS1DOT1: 3;
4278
+ readonly TLS1DOT2: 4;
4279
+ readonly TLS1DOT3: 5;
4280
+ };
4281
+
4282
+ export declare type TlsOptions_Version = (typeof TlsOptions_Version)[keyof typeof TlsOptions_Version];
4194
4283
 
4195
4284
  export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
4196
4285
 
@@ -4235,8 +4324,8 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
4235
4324
  [kClosedIncoming]: boolean;
4236
4325
  get readyState(): number;
4237
4326
  accept(): void;
4238
- send(message: ArrayBuffer | string): void;
4239
- [kSend](message: ArrayBuffer | string): void;
4327
+ send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
4328
+ [kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
4240
4329
  close(code?: number, reason?: string): void;
4241
4330
  [kClose](code?: number, reason?: string): void;
4242
4331
  [kError](error?: Error): void;
@@ -4337,16 +4426,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
4337
4426
  json?: string;
4338
4427
  };
4339
4428
 
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
- }
4429
+ export declare const Worker_Binding_CryptoKey_Usage: {
4430
+ readonly ENCRYPT: 0;
4431
+ readonly DECRYPT: 1;
4432
+ readonly SIGN: 2;
4433
+ readonly VERIFY: 3;
4434
+ readonly DERIVE_KEY: 4;
4435
+ readonly DERIVE_BITS: 5;
4436
+ readonly WRAP_KEY: 6;
4437
+ readonly UNWRAP_KEY: 7;
4438
+ };
4439
+
4440
+ export declare type Worker_Binding_CryptoKey_Usage = (typeof Worker_Binding_CryptoKey_Usage)[keyof typeof Worker_Binding_CryptoKey_Usage];
4350
4441
 
4351
4442
  export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
4352
4443
  className?: string;