miniflare 0.0.0-e5037b92a → 0.0.0-e62b097bb

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,40 +8,54 @@ 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';
13
- import { FormData } from 'undici';
14
- import { Headers } from 'undici';
15
- import type { Headers as Headers_2 } from '@cloudflare/workers-types/experimental';
16
+ import { FormData as FormData_2 } from 'undici';
17
+ import { Headers as Headers_2 } from 'undici';
18
+ import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimental';
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
- import type { ReadableStream } from '@cloudflare/workers-types/experimental';
27
- import { ReadableStream as ReadableStream_2 } from 'stream/web';
37
+ import type { ReadableStream as ReadableStream_2 } from '@cloudflare/workers-types/experimental';
38
+ import { ReadableStream as ReadableStream_3 } from 'stream/web';
28
39
  import { ReferrerPolicy } from 'undici';
29
- import { Request as Request_2 } from 'undici';
30
- import type { Request as Request_3 } 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';
34
47
  import { RequestDuplex } from 'undici';
35
48
  import { RequestInfo as RequestInfo_2 } from 'undici';
36
- import { RequestInit as RequestInit_2 } from 'undici';
37
- import type { RequestInit as RequestInit_3 } from '@cloudflare/workers-types/experimental';
49
+ import { RequestInit as RequestInit_3 } from 'undici';
50
+ import type { RequestInit as RequestInit_4 } from '@cloudflare/workers-types/experimental';
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_2 } from 'undici';
42
- import type { Response as Response_3 } from '@cloudflare/workers-types/experimental';
43
- import { ResponseInit as ResponseInit_2 } from 'undici';
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 '..';
58
+ import { ResponseInit as ResponseInit_3 } from 'undici';
44
59
  import { ResponseRedirectStatus } from 'undici';
45
60
  import { ResponseType } from 'undici';
46
61
  import type { ServiceWorkerGlobalScope } from '@cloudflare/workers-types/experimental';
@@ -74,20 +89,35 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
74
89
  binding: z.ZodOptional<z.ZodString>;
75
90
  routingConfig: z.ZodOptional<z.ZodObject<{
76
91
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
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>;
77
95
  }, "strip", z.ZodTypeAny, {
78
96
  has_user_worker?: boolean;
97
+ invoke_user_worker_ahead_of_assets?: boolean;
98
+ account_id?: number;
99
+ script_id?: number;
79
100
  }, {
80
101
  has_user_worker?: boolean;
102
+ invoke_user_worker_ahead_of_assets?: boolean;
103
+ account_id?: number;
104
+ script_id?: number;
81
105
  }>>;
82
106
  assetConfig: z.ZodOptional<z.ZodObject<{
83
107
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
84
108
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
109
+ serve_directly: z.ZodOptional<z.ZodBoolean>;
110
+ run_worker_first: z.ZodOptional<z.ZodBoolean>;
85
111
  }, "strip", z.ZodTypeAny, {
86
112
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
87
113
  not_found_handling?: "none" | "single-page-application" | "404-page";
114
+ serve_directly?: boolean;
115
+ run_worker_first?: boolean;
88
116
  }, {
89
117
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
90
118
  not_found_handling?: "none" | "single-page-application" | "404-page";
119
+ serve_directly?: boolean;
120
+ run_worker_first?: boolean;
91
121
  }>>;
92
122
  }, "strip", z.ZodTypeAny, {
93
123
  directory: string;
@@ -95,10 +125,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
95
125
  binding?: string | undefined;
96
126
  routingConfig?: {
97
127
  has_user_worker?: boolean;
128
+ invoke_user_worker_ahead_of_assets?: boolean;
129
+ account_id?: number;
130
+ script_id?: number;
98
131
  } | undefined;
99
132
  assetConfig?: {
100
133
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
101
134
  not_found_handling?: "none" | "single-page-application" | "404-page";
135
+ serve_directly?: boolean;
136
+ run_worker_first?: boolean;
102
137
  } | undefined;
103
138
  }, {
104
139
  directory: string;
@@ -106,10 +141,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
106
141
  binding?: string | undefined;
107
142
  routingConfig?: {
108
143
  has_user_worker?: boolean;
144
+ invoke_user_worker_ahead_of_assets?: boolean;
145
+ account_id?: number;
146
+ script_id?: number;
109
147
  } | undefined;
110
148
  assetConfig?: {
111
149
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
112
150
  not_found_handling?: "none" | "single-page-application" | "404-page";
151
+ serve_directly?: boolean;
152
+ run_worker_first?: boolean;
113
153
  } | undefined;
114
154
  }>>;
115
155
  }, "strip", z.ZodTypeAny, {
@@ -119,10 +159,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
119
159
  binding?: string | undefined;
120
160
  routingConfig?: {
121
161
  has_user_worker?: boolean;
162
+ invoke_user_worker_ahead_of_assets?: boolean;
163
+ account_id?: number;
164
+ script_id?: number;
122
165
  } | undefined;
123
166
  assetConfig?: {
124
167
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
125
168
  not_found_handling?: "none" | "single-page-application" | "404-page";
169
+ serve_directly?: boolean;
170
+ run_worker_first?: boolean;
126
171
  } | undefined;
127
172
  } | undefined;
128
173
  }, {
@@ -132,10 +177,15 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
132
177
  binding?: string | undefined;
133
178
  routingConfig?: {
134
179
  has_user_worker?: boolean;
180
+ invoke_user_worker_ahead_of_assets?: boolean;
181
+ account_id?: number;
182
+ script_id?: number;
135
183
  } | undefined;
136
184
  assetConfig?: {
137
185
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
138
186
  not_found_handling?: "none" | "single-page-application" | "404-page";
187
+ serve_directly?: boolean;
188
+ run_worker_first?: boolean;
139
189
  } | undefined;
140
190
  } | undefined;
141
191
  }>;
@@ -158,7 +208,7 @@ export { BodyInit }
158
208
  * Use content hash to get file path from asset reverse map.
159
209
  */
160
210
  export declare const buildAssetManifest: (dir: string) => Promise<{
161
- encodedAssetManifest: Uint8Array;
211
+ encodedAssetManifest: Uint8Array<ArrayBuffer>;
162
212
  assetsReverseMap: AssetReverseMap;
163
213
  }>;
164
214
 
@@ -266,29 +316,29 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
266
316
  modules: z.ZodArray<z.ZodObject<{
267
317
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
268
318
  path: z.ZodEffects<z.ZodString, string, string>;
269
- 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>>]>>;
270
320
  }, "strip", z.ZodTypeAny, {
271
321
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
272
322
  path: string;
273
- contents?: string | Uint8Array | undefined;
323
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
274
324
  }, {
275
325
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
276
326
  path: string;
277
- contents?: string | Uint8Array | undefined;
327
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
278
328
  }>, "many">;
279
329
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
280
330
  }, "strip", z.ZodTypeAny, {
281
331
  modules: {
282
332
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
283
333
  path: string;
284
- contents?: string | Uint8Array | undefined;
334
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
285
335
  }[];
286
336
  modulesRoot?: string | undefined;
287
337
  }, {
288
338
  modules: {
289
339
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
290
340
  path: string;
291
- contents?: string | Uint8Array | undefined;
341
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
292
342
  }[];
293
343
  modulesRoot?: string | undefined;
294
344
  }>, z.ZodObject<{
@@ -371,9 +421,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
371
421
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
372
422
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
373
423
  bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
374
- 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>>]>>>;
375
425
  textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
376
- 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>>]>>>;
377
427
  serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
378
428
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
379
429
  entrypoint: z.ZodOptional<z.ZodString>;
@@ -401,7 +451,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
401
451
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
402
452
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
403
453
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
404
- 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
+ }>>;
405
462
  cipherList: z.ZodOptional<z.ZodString>;
406
463
  }, "strip", z.ZodTypeAny, {
407
464
  keypair?: {
@@ -411,7 +468,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
411
468
  requireClientCerts?: boolean | undefined;
412
469
  trustBrowserCas?: boolean | undefined;
413
470
  trustedCertificates?: string[] | undefined;
414
- minVersion?: TlsOptions_Version | undefined;
471
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
415
472
  cipherList?: string | undefined;
416
473
  }, {
417
474
  keypair?: {
@@ -421,7 +478,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
421
478
  requireClientCerts?: boolean | undefined;
422
479
  trustBrowserCas?: boolean | undefined;
423
480
  trustedCertificates?: string[] | undefined;
424
- minVersion?: TlsOptions_Version | undefined;
481
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
425
482
  cipherList?: string | undefined;
426
483
  }>>;
427
484
  }, "strip", z.ZodTypeAny, {
@@ -435,7 +492,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
435
492
  requireClientCerts?: boolean | undefined;
436
493
  trustBrowserCas?: boolean | undefined;
437
494
  trustedCertificates?: string[] | undefined;
438
- minVersion?: TlsOptions_Version | undefined;
495
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
439
496
  cipherList?: string | undefined;
440
497
  } | undefined;
441
498
  }, {
@@ -449,7 +506,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
449
506
  requireClientCerts?: boolean | undefined;
450
507
  trustBrowserCas?: boolean | undefined;
451
508
  trustedCertificates?: string[] | undefined;
452
- minVersion?: TlsOptions_Version | undefined;
509
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
453
510
  cipherList?: string | undefined;
454
511
  } | undefined;
455
512
  }>;
@@ -465,7 +522,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
465
522
  requireClientCerts?: boolean | undefined;
466
523
  trustBrowserCas?: boolean | undefined;
467
524
  trustedCertificates?: string[] | undefined;
468
- minVersion?: TlsOptions_Version | undefined;
525
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
469
526
  cipherList?: string | undefined;
470
527
  } | undefined;
471
528
  };
@@ -481,16 +538,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
481
538
  requireClientCerts?: boolean | undefined;
482
539
  trustBrowserCas?: boolean | undefined;
483
540
  trustedCertificates?: string[] | undefined;
484
- minVersion?: TlsOptions_Version | undefined;
541
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
485
542
  cipherList?: string | undefined;
486
543
  } | undefined;
487
544
  };
488
545
  }>, z.ZodObject<{
489
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
546
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
490
547
  }, "strip", z.ZodTypeAny, {
491
- external: ExternalServer & (ExternalServer | undefined);
548
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
492
549
  }, {
493
- external: ExternalServer & (ExternalServer | undefined);
550
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
494
551
  }>, z.ZodObject<{
495
552
  disk: z.ZodObject<{
496
553
  path: z.ZodString;
@@ -512,7 +569,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
512
569
  path: string;
513
570
  writable?: boolean | undefined;
514
571
  };
515
- }>, z.ZodType<(request: Request, mf: Miniflare) => Awaitable<Response>, z.ZodTypeDef, (request: Request, mf: Miniflare) => Awaitable<Response>>]>>>;
572
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>>;
516
573
  wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
517
574
  scriptName: z.ZodString;
518
575
  entrypoint: z.ZodOptional<z.ZodString>;
@@ -553,7 +610,14 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
553
610
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
554
611
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
555
612
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
556
- 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
+ }>>;
557
621
  cipherList: z.ZodOptional<z.ZodString>;
558
622
  }, "strip", z.ZodTypeAny, {
559
623
  keypair?: {
@@ -563,7 +627,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
563
627
  requireClientCerts?: boolean | undefined;
564
628
  trustBrowserCas?: boolean | undefined;
565
629
  trustedCertificates?: string[] | undefined;
566
- minVersion?: TlsOptions_Version | undefined;
630
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
567
631
  cipherList?: string | undefined;
568
632
  }, {
569
633
  keypair?: {
@@ -573,7 +637,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
573
637
  requireClientCerts?: boolean | undefined;
574
638
  trustBrowserCas?: boolean | undefined;
575
639
  trustedCertificates?: string[] | undefined;
576
- minVersion?: TlsOptions_Version | undefined;
640
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
577
641
  cipherList?: string | undefined;
578
642
  }>>;
579
643
  }, "strip", z.ZodTypeAny, {
@@ -587,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
587
651
  requireClientCerts?: boolean | undefined;
588
652
  trustBrowserCas?: boolean | undefined;
589
653
  trustedCertificates?: string[] | undefined;
590
- minVersion?: TlsOptions_Version | undefined;
654
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
591
655
  cipherList?: string | undefined;
592
656
  } | undefined;
593
657
  }, {
@@ -601,7 +665,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
601
665
  requireClientCerts?: boolean | undefined;
602
666
  trustBrowserCas?: boolean | undefined;
603
667
  trustedCertificates?: string[] | undefined;
604
- minVersion?: TlsOptions_Version | undefined;
668
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
605
669
  cipherList?: string | undefined;
606
670
  } | undefined;
607
671
  }>;
@@ -617,7 +681,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
617
681
  requireClientCerts?: boolean | undefined;
618
682
  trustBrowserCas?: boolean | undefined;
619
683
  trustedCertificates?: string[] | undefined;
620
- minVersion?: TlsOptions_Version | undefined;
684
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
621
685
  cipherList?: string | undefined;
622
686
  } | undefined;
623
687
  };
@@ -633,16 +697,16 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
633
697
  requireClientCerts?: boolean | undefined;
634
698
  trustBrowserCas?: boolean | undefined;
635
699
  trustedCertificates?: string[] | undefined;
636
- minVersion?: TlsOptions_Version | undefined;
700
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
637
701
  cipherList?: string | undefined;
638
702
  } | undefined;
639
703
  };
640
704
  }>, z.ZodObject<{
641
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
705
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
642
706
  }, "strip", z.ZodTypeAny, {
643
- external: ExternalServer & (ExternalServer | undefined);
707
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
644
708
  }, {
645
- external: ExternalServer & (ExternalServer | undefined);
709
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
646
710
  }>, z.ZodObject<{
647
711
  disk: z.ZodObject<{
648
712
  path: z.ZodString;
@@ -664,7 +728,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
664
728
  path: string;
665
729
  writable?: boolean | undefined;
666
730
  };
667
- }>, z.ZodType<(request: Request, mf: Miniflare) => Awaitable<Response>, z.ZodTypeDef, (request: Request, mf: Miniflare) => Awaitable<Response>>]>>;
731
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>>;
668
732
  fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent.Options>, z.ZodTypeDef, MockAgent<MockAgent.Options>>>;
669
733
  unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
670
734
  unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -696,9 +760,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
696
760
  compatibilityFlags?: string[] | undefined;
697
761
  routes?: string[] | undefined;
698
762
  bindings?: Record<string, Json> | undefined;
699
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
763
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
700
764
  textBlobBindings?: Record<string, string> | undefined;
701
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
765
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
702
766
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
703
767
  name: string | typeof kCurrentWorker;
704
768
  entrypoint?: string | undefined;
@@ -714,18 +778,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
714
778
  requireClientCerts?: boolean | undefined;
715
779
  trustBrowserCas?: boolean | undefined;
716
780
  trustedCertificates?: string[] | undefined;
717
- minVersion?: TlsOptions_Version | undefined;
781
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
718
782
  cipherList?: string | undefined;
719
783
  } | undefined;
720
784
  };
721
785
  } | {
722
- external: ExternalServer & (ExternalServer | undefined);
786
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
723
787
  } | {
724
788
  disk: {
725
789
  path: string;
726
790
  writable?: boolean | undefined;
727
791
  };
728
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
792
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
729
793
  wrappedBindings?: Record<string, string | {
730
794
  scriptName: string;
731
795
  entrypoint?: string | undefined;
@@ -746,18 +810,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
746
810
  requireClientCerts?: boolean | undefined;
747
811
  trustBrowserCas?: boolean | undefined;
748
812
  trustedCertificates?: string[] | undefined;
749
- minVersion?: TlsOptions_Version | undefined;
813
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
750
814
  cipherList?: string | undefined;
751
815
  } | undefined;
752
816
  };
753
817
  } | {
754
- external: ExternalServer & (ExternalServer | undefined);
818
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
755
819
  } | {
756
820
  disk: {
757
821
  path: string;
758
822
  writable?: boolean | undefined;
759
823
  };
760
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
824
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
761
825
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
762
826
  unsafeEphemeralDurableObjects?: boolean | undefined;
763
827
  unsafeDirectSockets?: {
@@ -776,9 +840,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
776
840
  compatibilityFlags?: string[] | undefined;
777
841
  routes?: string[] | undefined;
778
842
  bindings?: Record<string, Json> | undefined;
779
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
843
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
780
844
  textBlobBindings?: Record<string, string> | undefined;
781
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
845
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
782
846
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
783
847
  name: string | typeof kCurrentWorker;
784
848
  entrypoint?: string | undefined;
@@ -794,18 +858,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
794
858
  requireClientCerts?: boolean | undefined;
795
859
  trustBrowserCas?: boolean | undefined;
796
860
  trustedCertificates?: string[] | undefined;
797
- minVersion?: TlsOptions_Version | undefined;
861
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
798
862
  cipherList?: string | undefined;
799
863
  } | undefined;
800
864
  };
801
865
  } | {
802
- external: ExternalServer & (ExternalServer | undefined);
866
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
803
867
  } | {
804
868
  disk: {
805
869
  path: string;
806
870
  writable?: boolean | undefined;
807
871
  };
808
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
872
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
809
873
  wrappedBindings?: Record<string, string | {
810
874
  scriptName: string;
811
875
  entrypoint?: string | undefined;
@@ -826,18 +890,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
826
890
  requireClientCerts?: boolean | undefined;
827
891
  trustBrowserCas?: boolean | undefined;
828
892
  trustedCertificates?: string[] | undefined;
829
- minVersion?: TlsOptions_Version | undefined;
893
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
830
894
  cipherList?: string | undefined;
831
895
  } | undefined;
832
896
  };
833
897
  } | {
834
- external: ExternalServer & (ExternalServer | undefined);
898
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
835
899
  } | {
836
900
  disk: {
837
901
  path: string;
838
902
  writable?: boolean | undefined;
839
903
  };
840
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
904
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
841
905
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
842
906
  unsafeEphemeralDurableObjects?: boolean | undefined;
843
907
  unsafeDirectSockets?: {
@@ -853,7 +917,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
853
917
  modules: {
854
918
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
855
919
  path: string;
856
- contents?: string | Uint8Array | undefined;
920
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
857
921
  }[];
858
922
  modulesRoot?: string | undefined;
859
923
  } & {
@@ -863,9 +927,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
863
927
  compatibilityFlags?: string[] | undefined;
864
928
  routes?: string[] | undefined;
865
929
  bindings?: Record<string, Json> | undefined;
866
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
930
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
867
931
  textBlobBindings?: Record<string, string> | undefined;
868
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
932
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
869
933
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
870
934
  name: string | typeof kCurrentWorker;
871
935
  entrypoint?: string | undefined;
@@ -881,18 +945,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
881
945
  requireClientCerts?: boolean | undefined;
882
946
  trustBrowserCas?: boolean | undefined;
883
947
  trustedCertificates?: string[] | undefined;
884
- minVersion?: TlsOptions_Version | undefined;
948
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
885
949
  cipherList?: string | undefined;
886
950
  } | undefined;
887
951
  };
888
952
  } | {
889
- external: ExternalServer & (ExternalServer | undefined);
953
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
890
954
  } | {
891
955
  disk: {
892
956
  path: string;
893
957
  writable?: boolean | undefined;
894
958
  };
895
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
959
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
896
960
  wrappedBindings?: Record<string, string | {
897
961
  scriptName: string;
898
962
  entrypoint?: string | undefined;
@@ -913,18 +977,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
913
977
  requireClientCerts?: boolean | undefined;
914
978
  trustBrowserCas?: boolean | undefined;
915
979
  trustedCertificates?: string[] | undefined;
916
- minVersion?: TlsOptions_Version | undefined;
980
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
917
981
  cipherList?: string | undefined;
918
982
  } | undefined;
919
983
  };
920
984
  } | {
921
- external: ExternalServer & (ExternalServer | undefined);
985
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
922
986
  } | {
923
987
  disk: {
924
988
  path: string;
925
989
  writable?: boolean | undefined;
926
990
  };
927
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
991
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
928
992
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
929
993
  unsafeEphemeralDurableObjects?: boolean | undefined;
930
994
  unsafeDirectSockets?: {
@@ -953,9 +1017,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
953
1017
  compatibilityFlags?: string[] | undefined;
954
1018
  routes?: string[] | undefined;
955
1019
  bindings?: Record<string, Json> | undefined;
956
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1020
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
957
1021
  textBlobBindings?: Record<string, string> | undefined;
958
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1022
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
959
1023
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
960
1024
  name: string | typeof kCurrentWorker;
961
1025
  entrypoint?: string | undefined;
@@ -971,18 +1035,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
971
1035
  requireClientCerts?: boolean | undefined;
972
1036
  trustBrowserCas?: boolean | undefined;
973
1037
  trustedCertificates?: string[] | undefined;
974
- minVersion?: TlsOptions_Version | undefined;
1038
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
975
1039
  cipherList?: string | undefined;
976
1040
  } | undefined;
977
1041
  };
978
1042
  } | {
979
- external: ExternalServer & (ExternalServer | undefined);
1043
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
980
1044
  } | {
981
1045
  disk: {
982
1046
  path: string;
983
1047
  writable?: boolean | undefined;
984
1048
  };
985
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
1049
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
986
1050
  wrappedBindings?: Record<string, string | {
987
1051
  scriptName: string;
988
1052
  entrypoint?: string | undefined;
@@ -1003,18 +1067,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1003
1067
  requireClientCerts?: boolean | undefined;
1004
1068
  trustBrowserCas?: boolean | undefined;
1005
1069
  trustedCertificates?: string[] | undefined;
1006
- minVersion?: TlsOptions_Version | undefined;
1070
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1007
1071
  cipherList?: string | undefined;
1008
1072
  } | undefined;
1009
1073
  };
1010
1074
  } | {
1011
- external: ExternalServer & (ExternalServer | undefined);
1075
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1012
1076
  } | {
1013
1077
  disk: {
1014
1078
  path: string;
1015
1079
  writable?: boolean | undefined;
1016
1080
  };
1017
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
1081
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1018
1082
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1019
1083
  unsafeEphemeralDurableObjects?: boolean | undefined;
1020
1084
  unsafeDirectSockets?: {
@@ -1042,9 +1106,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1042
1106
  compatibilityFlags?: string[] | undefined;
1043
1107
  routes?: string[] | undefined;
1044
1108
  bindings?: Record<string, Json> | undefined;
1045
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1109
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1046
1110
  textBlobBindings?: Record<string, string> | undefined;
1047
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1111
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1048
1112
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1049
1113
  name: string | typeof kCurrentWorker;
1050
1114
  entrypoint?: string | undefined;
@@ -1060,18 +1124,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1060
1124
  requireClientCerts?: boolean | undefined;
1061
1125
  trustBrowserCas?: boolean | undefined;
1062
1126
  trustedCertificates?: string[] | undefined;
1063
- minVersion?: TlsOptions_Version | undefined;
1127
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1064
1128
  cipherList?: string | undefined;
1065
1129
  } | undefined;
1066
1130
  };
1067
1131
  } | {
1068
- external: ExternalServer & (ExternalServer | undefined);
1132
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1069
1133
  } | {
1070
1134
  disk: {
1071
1135
  path: string;
1072
1136
  writable?: boolean | undefined;
1073
1137
  };
1074
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
1138
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1075
1139
  wrappedBindings?: Record<string, string | {
1076
1140
  scriptName: string;
1077
1141
  entrypoint?: string | undefined;
@@ -1092,18 +1156,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1092
1156
  requireClientCerts?: boolean | undefined;
1093
1157
  trustBrowserCas?: boolean | undefined;
1094
1158
  trustedCertificates?: string[] | undefined;
1095
- minVersion?: TlsOptions_Version | undefined;
1159
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1096
1160
  cipherList?: string | undefined;
1097
1161
  } | undefined;
1098
1162
  };
1099
1163
  } | {
1100
- external: ExternalServer & (ExternalServer | undefined);
1164
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1101
1165
  } | {
1102
1166
  disk: {
1103
1167
  path: string;
1104
1168
  writable?: boolean | undefined;
1105
1169
  };
1106
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
1170
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1107
1171
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1108
1172
  unsafeEphemeralDurableObjects?: boolean | undefined;
1109
1173
  unsafeDirectSockets?: {
@@ -1119,7 +1183,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1119
1183
  modules: {
1120
1184
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1121
1185
  path: string;
1122
- contents?: string | Uint8Array | undefined;
1186
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1123
1187
  }[];
1124
1188
  modulesRoot?: string | undefined;
1125
1189
  } | {
@@ -1148,9 +1212,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1148
1212
  compatibilityFlags?: string[] | undefined;
1149
1213
  routes?: string[] | undefined;
1150
1214
  bindings?: Record<string, Json> | undefined;
1151
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
1215
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1152
1216
  textBlobBindings?: Record<string, string> | undefined;
1153
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
1217
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1154
1218
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1155
1219
  name: string | typeof kCurrentWorker;
1156
1220
  entrypoint?: string | undefined;
@@ -1166,18 +1230,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1166
1230
  requireClientCerts?: boolean | undefined;
1167
1231
  trustBrowserCas?: boolean | undefined;
1168
1232
  trustedCertificates?: string[] | undefined;
1169
- minVersion?: TlsOptions_Version | undefined;
1233
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1170
1234
  cipherList?: string | undefined;
1171
1235
  } | undefined;
1172
1236
  };
1173
1237
  } | {
1174
- external: ExternalServer & (ExternalServer | undefined);
1238
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1175
1239
  } | {
1176
1240
  disk: {
1177
1241
  path: string;
1178
1242
  writable?: boolean | undefined;
1179
1243
  };
1180
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
1244
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1181
1245
  wrappedBindings?: Record<string, string | {
1182
1246
  scriptName: string;
1183
1247
  entrypoint?: string | undefined;
@@ -1198,18 +1262,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1198
1262
  requireClientCerts?: boolean | undefined;
1199
1263
  trustBrowserCas?: boolean | undefined;
1200
1264
  trustedCertificates?: string[] | undefined;
1201
- minVersion?: TlsOptions_Version | undefined;
1265
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1202
1266
  cipherList?: string | undefined;
1203
1267
  } | undefined;
1204
1268
  };
1205
1269
  } | {
1206
- external: ExternalServer & (ExternalServer | undefined);
1270
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1207
1271
  } | {
1208
1272
  disk: {
1209
1273
  path: string;
1210
1274
  writable?: boolean | undefined;
1211
1275
  };
1212
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
1276
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1213
1277
  fetchMock?: MockAgent<MockAgent.Options> | undefined;
1214
1278
  unsafeEphemeralDurableObjects?: boolean | undefined;
1215
1279
  unsafeDirectSockets?: {
@@ -1240,7 +1304,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1240
1304
  cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
1241
1305
  liveReload: z.ZodOptional<z.ZodBoolean>;
1242
1306
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
1243
- unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request, mf: Miniflare) => Awaitable<Response>, z.ZodTypeDef, (request: Request, mf: Miniflare) => Awaitable<Response>>>;
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>>>;
1244
1308
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
1245
1309
  }, "strip", z.ZodTypeAny, {
1246
1310
  rootPath?: undefined;
@@ -1259,7 +1323,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1259
1323
  cf?: string | boolean | Record<string, any> | undefined;
1260
1324
  liveReload?: boolean | undefined;
1261
1325
  unsafeProxySharedSecret?: string | undefined;
1262
- unsafeModuleFallbackService?: ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
1326
+ unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1263
1327
  unsafeStickyBlobs?: boolean | undefined;
1264
1328
  }, {
1265
1329
  rootPath?: string | undefined;
@@ -1278,7 +1342,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1278
1342
  cf?: string | boolean | Record<string, any> | undefined;
1279
1343
  liveReload?: boolean | undefined;
1280
1344
  unsafeProxySharedSecret?: string | undefined;
1281
- unsafeModuleFallbackService?: ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
1345
+ unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1282
1346
  unsafeStickyBlobs?: boolean | undefined;
1283
1347
  }>;
1284
1348
 
@@ -1333,7 +1397,7 @@ export declare interface DiskDirectory {
1333
1397
  writable?: boolean;
1334
1398
  }
1335
1399
 
1336
- export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit<Partial<IncomingRequestCfProperties>>) => Promise<Response>;
1400
+ export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
1337
1401
 
1338
1402
  /**
1339
1403
  * Dispatcher created for each `dispatchFetch()` call. Ensures request origin
@@ -1431,8 +1495,6 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
1431
1495
 
1432
1496
  export declare function encodeSitesKey(key: string): string;
1433
1497
 
1434
- export declare const ENTRY_SOCKET_HTTP_OPTIONS: HttpOptions;
1435
-
1436
1498
  export declare class ErrorEvent extends Event {
1437
1499
  readonly error: Error | null;
1438
1500
  constructor(type: "error", init?: {
@@ -1471,7 +1533,8 @@ export declare interface ExternalServer_Tcp {
1471
1533
  certificateHost?: string;
1472
1534
  }
1473
1535
 
1474
- export declare function fetch(input: RequestInfo, init?: RequestInit | Request): Promise<Response>;
1536
+ declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
1537
+ export { fetch_2 as fetch }
1475
1538
 
1476
1539
  export { File }
1477
1540
 
@@ -1479,7 +1542,7 @@ export declare function _forceColour(enabled?: boolean): void;
1479
1542
 
1480
1543
  export declare function formatZodError(error: z.ZodError, input: unknown): string;
1481
1544
 
1482
- export { FormData }
1545
+ export { FormData_2 as FormData }
1483
1546
 
1484
1547
  export declare function getAccessibleHosts(ipv4Only?: boolean): string[];
1485
1548
 
@@ -1543,7 +1606,7 @@ export declare interface GlobalServicesOptions {
1543
1606
 
1544
1607
  export declare function globsToRegExps(globs?: string[]): MatcherRegExps;
1545
1608
 
1546
- export { Headers }
1609
+ export { Headers_2 as Headers }
1547
1610
 
1548
1611
  export { HeadersInit }
1549
1612
 
@@ -1563,10 +1626,12 @@ export declare interface HttpOptions_Header {
1563
1626
  value?: string;
1564
1627
  }
1565
1628
 
1566
- export declare enum HttpOptions_Style {
1567
- HOST = 0,
1568
- PROXY = 1
1569
- }
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];
1570
1635
 
1571
1636
  export declare const HYPERDRIVE_PLUGIN: Plugin<typeof HyperdriveInputOptionsSchema>;
1572
1637
 
@@ -1749,12 +1814,13 @@ export declare function maybeParseURL(url: Persistence): URL | undefined;
1749
1814
  */
1750
1815
  export declare function mergeWorkerOptions(a: Partial<WorkerOptions>, b: Partial<WorkerOptions>): Partial<WorkerOptions>;
1751
1816
 
1752
- export declare class MessageEvent extends Event {
1753
- readonly data: ArrayBuffer | string;
1817
+ declare class MessageEvent_2 extends Event {
1818
+ readonly data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
1754
1819
  constructor(type: "message", init: {
1755
- data: ArrayBuffer | string;
1820
+ data: string | ArrayBuffer | Uint8Array<ArrayBuffer>;
1756
1821
  });
1757
1822
  }
1823
+ export { MessageEvent_2 as MessageEvent }
1758
1824
 
1759
1825
  export declare function migrateDatabase(log: Log, uniqueKey: string, persistPath: string, namespace: string): Promise<void>;
1760
1826
 
@@ -1801,15 +1867,15 @@ export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
1801
1867
  export declare const ModuleDefinitionSchema: z.ZodObject<{
1802
1868
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1803
1869
  path: z.ZodEffects<z.ZodString, string, string>;
1804
- 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>>]>>;
1805
1871
  }, "strip", z.ZodTypeAny, {
1806
1872
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1807
1873
  path: string;
1808
- contents?: string | Uint8Array | undefined;
1874
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1809
1875
  }, {
1810
1876
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1811
1877
  path: string;
1812
- contents?: string | Uint8Array | undefined;
1878
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
1813
1879
  }>;
1814
1880
 
1815
1881
  export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
@@ -1853,7 +1919,7 @@ export declare interface Network {
1853
1919
  tlsOptions?: TlsOptions;
1854
1920
  }
1855
1921
 
1856
- export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_2>;
1922
+ export declare const NODE_PLATFORM_IMPL: PlatformImpl<ReadableStream_3>;
1857
1923
 
1858
1924
  /**
1859
1925
  * We can provide Node.js compatibility in a number of different modes:
@@ -1985,9 +2051,9 @@ export declare const PersistenceSchema: z.ZodOptional<z.ZodUnion<[z.ZodBoolean,
1985
2051
  export declare interface PlatformImpl<RS> {
1986
2052
  Blob: typeof Blob_2;
1987
2053
  File: typeof File_2;
1988
- Headers: typeof Headers_2;
1989
- Request: typeof Request_3;
1990
- Response: typeof Response_3;
2054
+ Headers: typeof Headers_3;
2055
+ Request: typeof Request_5;
2056
+ Response: typeof Response_5;
1991
2057
  isReadableStream(value: unknown): value is RS;
1992
2058
  bufferReadableStream(stream: RS): Promise<ArrayBuffer>;
1993
2059
  unbufferReadableStream(buffer: ArrayBuffer): RS;
@@ -2010,33 +2076,33 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
2010
2076
  }
2011
2077
 
2012
2078
  export declare const PLUGINS: {
2013
- core: Plugin<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2079
+ core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2014
2080
  modules: z.ZodArray<z.ZodObject<{
2015
2081
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2016
2082
  path: z.ZodEffects<z.ZodString, string, string>;
2017
- 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>>]>>;
2018
2084
  }, "strip", z.ZodTypeAny, {
2019
2085
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2020
2086
  path: string;
2021
- contents?: string | Uint8Array | undefined;
2087
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2022
2088
  }, {
2023
2089
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2024
2090
  path: string;
2025
- contents?: string | Uint8Array | undefined;
2091
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2026
2092
  }>, "many">;
2027
2093
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2028
2094
  }, "strip", z.ZodTypeAny, {
2029
2095
  modules: {
2030
2096
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2031
2097
  path: string;
2032
- contents?: string | Uint8Array | undefined;
2098
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2033
2099
  }[];
2034
2100
  modulesRoot?: string | undefined;
2035
2101
  }, {
2036
2102
  modules: {
2037
2103
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2038
2104
  path: string;
2039
- contents?: string | Uint8Array | undefined;
2105
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2040
2106
  }[];
2041
2107
  modulesRoot?: string | undefined;
2042
2108
  }>, z.ZodObject<{
@@ -2118,18 +2184,18 @@ export declare const PLUGINS: {
2118
2184
  compatibilityDate: z.ZodOptional<z.ZodString>;
2119
2185
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2120
2186
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2121
- bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
2122
- 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>>]>>>;
2123
2189
  textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
2124
- dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>]>>>;
2125
- serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>, z.ZodObject<{
2126
- 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>]>;
2127
2193
  entrypoint: z.ZodOptional<z.ZodString>;
2128
2194
  }, "strip", z.ZodTypeAny, {
2129
- name: string | kCurrentWorker;
2195
+ name: string | kCurrentWorker_2;
2130
2196
  entrypoint?: string | undefined;
2131
2197
  }, {
2132
- name: string | kCurrentWorker;
2198
+ name: string | kCurrentWorker_2;
2133
2199
  entrypoint?: string | undefined;
2134
2200
  }>, z.ZodObject<{
2135
2201
  network: z.ZodObject<{
@@ -2149,7 +2215,14 @@ export declare const PLUGINS: {
2149
2215
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
2150
2216
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
2151
2217
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2152
- 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
+ }>>;
2153
2226
  cipherList: z.ZodOptional<z.ZodString>;
2154
2227
  }, "strip", z.ZodTypeAny, {
2155
2228
  keypair?: {
@@ -2159,7 +2232,7 @@ export declare const PLUGINS: {
2159
2232
  requireClientCerts?: boolean | undefined;
2160
2233
  trustBrowserCas?: boolean | undefined;
2161
2234
  trustedCertificates?: string[] | undefined;
2162
- minVersion?: TlsOptions_Version | undefined;
2235
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2163
2236
  cipherList?: string | undefined;
2164
2237
  }, {
2165
2238
  keypair?: {
@@ -2169,7 +2242,7 @@ export declare const PLUGINS: {
2169
2242
  requireClientCerts?: boolean | undefined;
2170
2243
  trustBrowserCas?: boolean | undefined;
2171
2244
  trustedCertificates?: string[] | undefined;
2172
- minVersion?: TlsOptions_Version | undefined;
2245
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2173
2246
  cipherList?: string | undefined;
2174
2247
  }>>;
2175
2248
  }, "strip", z.ZodTypeAny, {
@@ -2183,7 +2256,7 @@ export declare const PLUGINS: {
2183
2256
  requireClientCerts?: boolean | undefined;
2184
2257
  trustBrowserCas?: boolean | undefined;
2185
2258
  trustedCertificates?: string[] | undefined;
2186
- minVersion?: TlsOptions_Version | undefined;
2259
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2187
2260
  cipherList?: string | undefined;
2188
2261
  } | undefined;
2189
2262
  }, {
@@ -2197,7 +2270,7 @@ export declare const PLUGINS: {
2197
2270
  requireClientCerts?: boolean | undefined;
2198
2271
  trustBrowserCas?: boolean | undefined;
2199
2272
  trustedCertificates?: string[] | undefined;
2200
- minVersion?: TlsOptions_Version | undefined;
2273
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2201
2274
  cipherList?: string | undefined;
2202
2275
  } | undefined;
2203
2276
  }>;
@@ -2213,7 +2286,7 @@ export declare const PLUGINS: {
2213
2286
  requireClientCerts?: boolean | undefined;
2214
2287
  trustBrowserCas?: boolean | undefined;
2215
2288
  trustedCertificates?: string[] | undefined;
2216
- minVersion?: TlsOptions_Version | undefined;
2289
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2217
2290
  cipherList?: string | undefined;
2218
2291
  } | undefined;
2219
2292
  };
@@ -2229,16 +2302,16 @@ export declare const PLUGINS: {
2229
2302
  requireClientCerts?: boolean | undefined;
2230
2303
  trustBrowserCas?: boolean | undefined;
2231
2304
  trustedCertificates?: string[] | undefined;
2232
- minVersion?: TlsOptions_Version | undefined;
2305
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2233
2306
  cipherList?: string | undefined;
2234
2307
  } | undefined;
2235
2308
  };
2236
2309
  }>, z.ZodObject<{
2237
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
2310
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
2238
2311
  }, "strip", z.ZodTypeAny, {
2239
- external: ExternalServer & (ExternalServer | undefined);
2312
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2240
2313
  }, {
2241
- external: ExternalServer & (ExternalServer | undefined);
2314
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2242
2315
  }>, z.ZodObject<{
2243
2316
  disk: z.ZodObject<{
2244
2317
  path: z.ZodString;
@@ -2260,28 +2333,28 @@ export declare const PLUGINS: {
2260
2333
  path: string;
2261
2334
  writable?: boolean | undefined;
2262
2335
  };
2263
- }>, z.ZodType<(request: Request, mf: Miniflare) => Awaitable<Response>, z.ZodTypeDef, (request: Request, mf: Miniflare) => Awaitable<Response>>]>>>;
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>>]>>>;
2264
2337
  wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2265
2338
  scriptName: z.ZodString;
2266
2339
  entrypoint: z.ZodOptional<z.ZodString>;
2267
- 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>>>;
2268
2341
  }, "strip", z.ZodTypeAny, {
2269
2342
  scriptName: string;
2270
2343
  entrypoint?: string | undefined;
2271
- bindings?: Record<string, Json> | undefined;
2344
+ bindings?: Record<string, Json_2> | undefined;
2272
2345
  }, {
2273
2346
  scriptName: string;
2274
2347
  entrypoint?: string | undefined;
2275
- bindings?: Record<string, Json> | undefined;
2348
+ bindings?: Record<string, Json_2> | undefined;
2276
2349
  }>]>>>;
2277
- outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker>, z.ZodObject<{
2278
- 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>]>;
2279
2352
  entrypoint: z.ZodOptional<z.ZodString>;
2280
2353
  }, "strip", z.ZodTypeAny, {
2281
- name: string | kCurrentWorker;
2354
+ name: string | kCurrentWorker_2;
2282
2355
  entrypoint?: string | undefined;
2283
2356
  }, {
2284
- name: string | kCurrentWorker;
2357
+ name: string | kCurrentWorker_2;
2285
2358
  entrypoint?: string | undefined;
2286
2359
  }>, z.ZodObject<{
2287
2360
  network: z.ZodObject<{
@@ -2301,7 +2374,14 @@ export declare const PLUGINS: {
2301
2374
  requireClientCerts: z.ZodOptional<z.ZodBoolean>;
2302
2375
  trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
2303
2376
  trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2304
- 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
+ }>>;
2305
2385
  cipherList: z.ZodOptional<z.ZodString>;
2306
2386
  }, "strip", z.ZodTypeAny, {
2307
2387
  keypair?: {
@@ -2311,7 +2391,7 @@ export declare const PLUGINS: {
2311
2391
  requireClientCerts?: boolean | undefined;
2312
2392
  trustBrowserCas?: boolean | undefined;
2313
2393
  trustedCertificates?: string[] | undefined;
2314
- minVersion?: TlsOptions_Version | undefined;
2394
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2315
2395
  cipherList?: string | undefined;
2316
2396
  }, {
2317
2397
  keypair?: {
@@ -2321,7 +2401,7 @@ export declare const PLUGINS: {
2321
2401
  requireClientCerts?: boolean | undefined;
2322
2402
  trustBrowserCas?: boolean | undefined;
2323
2403
  trustedCertificates?: string[] | undefined;
2324
- minVersion?: TlsOptions_Version | undefined;
2404
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2325
2405
  cipherList?: string | undefined;
2326
2406
  }>>;
2327
2407
  }, "strip", z.ZodTypeAny, {
@@ -2335,7 +2415,7 @@ export declare const PLUGINS: {
2335
2415
  requireClientCerts?: boolean | undefined;
2336
2416
  trustBrowserCas?: boolean | undefined;
2337
2417
  trustedCertificates?: string[] | undefined;
2338
- minVersion?: TlsOptions_Version | undefined;
2418
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2339
2419
  cipherList?: string | undefined;
2340
2420
  } | undefined;
2341
2421
  }, {
@@ -2349,7 +2429,7 @@ export declare const PLUGINS: {
2349
2429
  requireClientCerts?: boolean | undefined;
2350
2430
  trustBrowserCas?: boolean | undefined;
2351
2431
  trustedCertificates?: string[] | undefined;
2352
- minVersion?: TlsOptions_Version | undefined;
2432
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2353
2433
  cipherList?: string | undefined;
2354
2434
  } | undefined;
2355
2435
  }>;
@@ -2365,7 +2445,7 @@ export declare const PLUGINS: {
2365
2445
  requireClientCerts?: boolean | undefined;
2366
2446
  trustBrowserCas?: boolean | undefined;
2367
2447
  trustedCertificates?: string[] | undefined;
2368
- minVersion?: TlsOptions_Version | undefined;
2448
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2369
2449
  cipherList?: string | undefined;
2370
2450
  } | undefined;
2371
2451
  };
@@ -2381,16 +2461,16 @@ export declare const PLUGINS: {
2381
2461
  requireClientCerts?: boolean | undefined;
2382
2462
  trustBrowserCas?: boolean | undefined;
2383
2463
  trustedCertificates?: string[] | undefined;
2384
- minVersion?: TlsOptions_Version | undefined;
2464
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2385
2465
  cipherList?: string | undefined;
2386
2466
  } | undefined;
2387
2467
  };
2388
2468
  }>, z.ZodObject<{
2389
- external: z.ZodType<ExternalServer, z.ZodTypeDef, ExternalServer>;
2469
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
2390
2470
  }, "strip", z.ZodTypeAny, {
2391
- external: ExternalServer & (ExternalServer | undefined);
2471
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2392
2472
  }, {
2393
- external: ExternalServer & (ExternalServer | undefined);
2473
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2394
2474
  }>, z.ZodObject<{
2395
2475
  disk: z.ZodObject<{
2396
2476
  path: z.ZodString;
@@ -2412,7 +2492,7 @@ export declare const PLUGINS: {
2412
2492
  path: string;
2413
2493
  writable?: boolean | undefined;
2414
2494
  };
2415
- }>, z.ZodType<(request: Request, mf: Miniflare) => Awaitable<Response>, z.ZodTypeDef, (request: Request, mf: Miniflare) => Awaitable<Response>>]>>;
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>>]>>;
2416
2496
  fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
2417
2497
  unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
2418
2498
  unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2440,12 +2520,12 @@ export declare const PLUGINS: {
2440
2520
  compatibilityDate?: string | undefined;
2441
2521
  compatibilityFlags?: string[] | undefined;
2442
2522
  routes?: string[] | undefined;
2443
- bindings?: Record<string, Json> | undefined;
2444
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2523
+ bindings?: Record<string, Json_2> | undefined;
2524
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2445
2525
  textBlobBindings?: Record<string, string> | undefined;
2446
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2447
- serviceBindings?: Record<string, string | kCurrentWorker | {
2448
- name: string | kCurrentWorker;
2526
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2527
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2528
+ name: string | kCurrentWorker_2;
2449
2529
  entrypoint?: string | undefined;
2450
2530
  } | {
2451
2531
  network: {
@@ -2459,25 +2539,25 @@ export declare const PLUGINS: {
2459
2539
  requireClientCerts?: boolean | undefined;
2460
2540
  trustBrowserCas?: boolean | undefined;
2461
2541
  trustedCertificates?: string[] | undefined;
2462
- minVersion?: TlsOptions_Version | undefined;
2542
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2463
2543
  cipherList?: string | undefined;
2464
2544
  } | undefined;
2465
2545
  };
2466
2546
  } | {
2467
- external: ExternalServer & (ExternalServer | undefined);
2547
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2468
2548
  } | {
2469
2549
  disk: {
2470
2550
  path: string;
2471
2551
  writable?: boolean | undefined;
2472
2552
  };
2473
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
2553
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2474
2554
  wrappedBindings?: Record<string, string | {
2475
2555
  scriptName: string;
2476
2556
  entrypoint?: string | undefined;
2477
- bindings?: Record<string, Json> | undefined;
2557
+ bindings?: Record<string, Json_2> | undefined;
2478
2558
  }> | undefined;
2479
- outboundService?: string | kCurrentWorker | {
2480
- name: string | kCurrentWorker;
2559
+ outboundService?: string | kCurrentWorker_2 | {
2560
+ name: string | kCurrentWorker_2;
2481
2561
  entrypoint?: string | undefined;
2482
2562
  } | {
2483
2563
  network: {
@@ -2491,18 +2571,18 @@ export declare const PLUGINS: {
2491
2571
  requireClientCerts?: boolean | undefined;
2492
2572
  trustBrowserCas?: boolean | undefined;
2493
2573
  trustedCertificates?: string[] | undefined;
2494
- minVersion?: TlsOptions_Version | undefined;
2574
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2495
2575
  cipherList?: string | undefined;
2496
2576
  } | undefined;
2497
2577
  };
2498
2578
  } | {
2499
- external: ExternalServer & (ExternalServer | undefined);
2579
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2500
2580
  } | {
2501
2581
  disk: {
2502
2582
  path: string;
2503
2583
  writable?: boolean | undefined;
2504
2584
  };
2505
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
2585
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2506
2586
  fetchMock?: MockAgent<MockAgent> | undefined;
2507
2587
  unsafeEphemeralDurableObjects?: boolean | undefined;
2508
2588
  unsafeDirectSockets?: {
@@ -2520,12 +2600,12 @@ export declare const PLUGINS: {
2520
2600
  compatibilityDate?: string | undefined;
2521
2601
  compatibilityFlags?: string[] | undefined;
2522
2602
  routes?: string[] | undefined;
2523
- bindings?: Record<string, Json> | undefined;
2524
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2603
+ bindings?: Record<string, Json_2> | undefined;
2604
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2525
2605
  textBlobBindings?: Record<string, string> | undefined;
2526
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2527
- serviceBindings?: Record<string, string | kCurrentWorker | {
2528
- name: string | kCurrentWorker;
2606
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2607
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2608
+ name: string | kCurrentWorker_2;
2529
2609
  entrypoint?: string | undefined;
2530
2610
  } | {
2531
2611
  network: {
@@ -2539,25 +2619,25 @@ export declare const PLUGINS: {
2539
2619
  requireClientCerts?: boolean | undefined;
2540
2620
  trustBrowserCas?: boolean | undefined;
2541
2621
  trustedCertificates?: string[] | undefined;
2542
- minVersion?: TlsOptions_Version | undefined;
2622
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2543
2623
  cipherList?: string | undefined;
2544
2624
  } | undefined;
2545
2625
  };
2546
2626
  } | {
2547
- external: ExternalServer & (ExternalServer | undefined);
2627
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2548
2628
  } | {
2549
2629
  disk: {
2550
2630
  path: string;
2551
2631
  writable?: boolean | undefined;
2552
2632
  };
2553
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
2633
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2554
2634
  wrappedBindings?: Record<string, string | {
2555
2635
  scriptName: string;
2556
2636
  entrypoint?: string | undefined;
2557
- bindings?: Record<string, Json> | undefined;
2637
+ bindings?: Record<string, Json_2> | undefined;
2558
2638
  }> | undefined;
2559
- outboundService?: string | kCurrentWorker | {
2560
- name: string | kCurrentWorker;
2639
+ outboundService?: string | kCurrentWorker_2 | {
2640
+ name: string | kCurrentWorker_2;
2561
2641
  entrypoint?: string | undefined;
2562
2642
  } | {
2563
2643
  network: {
@@ -2571,18 +2651,18 @@ export declare const PLUGINS: {
2571
2651
  requireClientCerts?: boolean | undefined;
2572
2652
  trustBrowserCas?: boolean | undefined;
2573
2653
  trustedCertificates?: string[] | undefined;
2574
- minVersion?: TlsOptions_Version | undefined;
2654
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2575
2655
  cipherList?: string | undefined;
2576
2656
  } | undefined;
2577
2657
  };
2578
2658
  } | {
2579
- external: ExternalServer & (ExternalServer | undefined);
2659
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2580
2660
  } | {
2581
2661
  disk: {
2582
2662
  path: string;
2583
2663
  writable?: boolean | undefined;
2584
2664
  };
2585
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
2665
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2586
2666
  fetchMock?: MockAgent<MockAgent> | undefined;
2587
2667
  unsafeEphemeralDurableObjects?: boolean | undefined;
2588
2668
  unsafeDirectSockets?: {
@@ -2598,7 +2678,7 @@ export declare const PLUGINS: {
2598
2678
  modules: {
2599
2679
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2600
2680
  path: string;
2601
- contents?: string | Uint8Array | undefined;
2681
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2602
2682
  }[];
2603
2683
  modulesRoot?: string | undefined;
2604
2684
  } & {
@@ -2607,12 +2687,12 @@ export declare const PLUGINS: {
2607
2687
  compatibilityDate?: string | undefined;
2608
2688
  compatibilityFlags?: string[] | undefined;
2609
2689
  routes?: string[] | undefined;
2610
- bindings?: Record<string, Json> | undefined;
2611
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2690
+ bindings?: Record<string, Json_2> | undefined;
2691
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2612
2692
  textBlobBindings?: Record<string, string> | undefined;
2613
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2614
- serviceBindings?: Record<string, string | kCurrentWorker | {
2615
- name: string | kCurrentWorker;
2693
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2694
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2695
+ name: string | kCurrentWorker_2;
2616
2696
  entrypoint?: string | undefined;
2617
2697
  } | {
2618
2698
  network: {
@@ -2626,25 +2706,25 @@ export declare const PLUGINS: {
2626
2706
  requireClientCerts?: boolean | undefined;
2627
2707
  trustBrowserCas?: boolean | undefined;
2628
2708
  trustedCertificates?: string[] | undefined;
2629
- minVersion?: TlsOptions_Version | undefined;
2709
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2630
2710
  cipherList?: string | undefined;
2631
2711
  } | undefined;
2632
2712
  };
2633
2713
  } | {
2634
- external: ExternalServer & (ExternalServer | undefined);
2714
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2635
2715
  } | {
2636
2716
  disk: {
2637
2717
  path: string;
2638
2718
  writable?: boolean | undefined;
2639
2719
  };
2640
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
2720
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2641
2721
  wrappedBindings?: Record<string, string | {
2642
2722
  scriptName: string;
2643
2723
  entrypoint?: string | undefined;
2644
- bindings?: Record<string, Json> | undefined;
2724
+ bindings?: Record<string, Json_2> | undefined;
2645
2725
  }> | undefined;
2646
- outboundService?: string | kCurrentWorker | {
2647
- name: string | kCurrentWorker;
2726
+ outboundService?: string | kCurrentWorker_2 | {
2727
+ name: string | kCurrentWorker_2;
2648
2728
  entrypoint?: string | undefined;
2649
2729
  } | {
2650
2730
  network: {
@@ -2658,18 +2738,18 @@ export declare const PLUGINS: {
2658
2738
  requireClientCerts?: boolean | undefined;
2659
2739
  trustBrowserCas?: boolean | undefined;
2660
2740
  trustedCertificates?: string[] | undefined;
2661
- minVersion?: TlsOptions_Version | undefined;
2741
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2662
2742
  cipherList?: string | undefined;
2663
2743
  } | undefined;
2664
2744
  };
2665
2745
  } | {
2666
- external: ExternalServer & (ExternalServer | undefined);
2746
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2667
2747
  } | {
2668
2748
  disk: {
2669
2749
  path: string;
2670
2750
  writable?: boolean | undefined;
2671
2751
  };
2672
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
2752
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2673
2753
  fetchMock?: MockAgent<MockAgent> | undefined;
2674
2754
  unsafeEphemeralDurableObjects?: boolean | undefined;
2675
2755
  unsafeDirectSockets?: {
@@ -2697,12 +2777,12 @@ export declare const PLUGINS: {
2697
2777
  compatibilityDate?: string | undefined;
2698
2778
  compatibilityFlags?: string[] | undefined;
2699
2779
  routes?: string[] | undefined;
2700
- bindings?: Record<string, Json> | undefined;
2701
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2780
+ bindings?: Record<string, Json_2> | undefined;
2781
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2702
2782
  textBlobBindings?: Record<string, string> | undefined;
2703
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2704
- serviceBindings?: Record<string, string | kCurrentWorker | {
2705
- name: string | kCurrentWorker;
2783
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2784
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2785
+ name: string | kCurrentWorker_2;
2706
2786
  entrypoint?: string | undefined;
2707
2787
  } | {
2708
2788
  network: {
@@ -2716,25 +2796,25 @@ export declare const PLUGINS: {
2716
2796
  requireClientCerts?: boolean | undefined;
2717
2797
  trustBrowserCas?: boolean | undefined;
2718
2798
  trustedCertificates?: string[] | undefined;
2719
- minVersion?: TlsOptions_Version | undefined;
2799
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2720
2800
  cipherList?: string | undefined;
2721
2801
  } | undefined;
2722
2802
  };
2723
2803
  } | {
2724
- external: ExternalServer & (ExternalServer | undefined);
2804
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2725
2805
  } | {
2726
2806
  disk: {
2727
2807
  path: string;
2728
2808
  writable?: boolean | undefined;
2729
2809
  };
2730
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
2810
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2731
2811
  wrappedBindings?: Record<string, string | {
2732
2812
  scriptName: string;
2733
2813
  entrypoint?: string | undefined;
2734
- bindings?: Record<string, Json> | undefined;
2814
+ bindings?: Record<string, Json_2> | undefined;
2735
2815
  }> | undefined;
2736
- outboundService?: string | kCurrentWorker | {
2737
- name: string | kCurrentWorker;
2816
+ outboundService?: string | kCurrentWorker_2 | {
2817
+ name: string | kCurrentWorker_2;
2738
2818
  entrypoint?: string | undefined;
2739
2819
  } | {
2740
2820
  network: {
@@ -2748,18 +2828,18 @@ export declare const PLUGINS: {
2748
2828
  requireClientCerts?: boolean | undefined;
2749
2829
  trustBrowserCas?: boolean | undefined;
2750
2830
  trustedCertificates?: string[] | undefined;
2751
- minVersion?: TlsOptions_Version | undefined;
2831
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2752
2832
  cipherList?: string | undefined;
2753
2833
  } | undefined;
2754
2834
  };
2755
2835
  } | {
2756
- external: ExternalServer & (ExternalServer | undefined);
2836
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2757
2837
  } | {
2758
2838
  disk: {
2759
2839
  path: string;
2760
2840
  writable?: boolean | undefined;
2761
2841
  };
2762
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
2842
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2763
2843
  fetchMock?: MockAgent<MockAgent> | undefined;
2764
2844
  unsafeEphemeralDurableObjects?: boolean | undefined;
2765
2845
  unsafeDirectSockets?: {
@@ -2786,12 +2866,12 @@ export declare const PLUGINS: {
2786
2866
  compatibilityDate?: string | undefined;
2787
2867
  compatibilityFlags?: string[] | undefined;
2788
2868
  routes?: string[] | undefined;
2789
- bindings?: Record<string, Json> | undefined;
2790
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2869
+ bindings?: Record<string, Json_2> | undefined;
2870
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2791
2871
  textBlobBindings?: Record<string, string> | undefined;
2792
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2793
- serviceBindings?: Record<string, string | kCurrentWorker | {
2794
- name: string | kCurrentWorker;
2872
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2873
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2874
+ name: string | kCurrentWorker_2;
2795
2875
  entrypoint?: string | undefined;
2796
2876
  } | {
2797
2877
  network: {
@@ -2805,25 +2885,25 @@ export declare const PLUGINS: {
2805
2885
  requireClientCerts?: boolean | undefined;
2806
2886
  trustBrowserCas?: boolean | undefined;
2807
2887
  trustedCertificates?: string[] | undefined;
2808
- minVersion?: TlsOptions_Version | undefined;
2888
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2809
2889
  cipherList?: string | undefined;
2810
2890
  } | undefined;
2811
2891
  };
2812
2892
  } | {
2813
- external: ExternalServer & (ExternalServer | undefined);
2893
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2814
2894
  } | {
2815
2895
  disk: {
2816
2896
  path: string;
2817
2897
  writable?: boolean | undefined;
2818
2898
  };
2819
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
2899
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2820
2900
  wrappedBindings?: Record<string, string | {
2821
2901
  scriptName: string;
2822
2902
  entrypoint?: string | undefined;
2823
- bindings?: Record<string, Json> | undefined;
2903
+ bindings?: Record<string, Json_2> | undefined;
2824
2904
  }> | undefined;
2825
- outboundService?: string | kCurrentWorker | {
2826
- name: string | kCurrentWorker;
2905
+ outboundService?: string | kCurrentWorker_2 | {
2906
+ name: string | kCurrentWorker_2;
2827
2907
  entrypoint?: string | undefined;
2828
2908
  } | {
2829
2909
  network: {
@@ -2837,18 +2917,18 @@ export declare const PLUGINS: {
2837
2917
  requireClientCerts?: boolean | undefined;
2838
2918
  trustBrowserCas?: boolean | undefined;
2839
2919
  trustedCertificates?: string[] | undefined;
2840
- minVersion?: TlsOptions_Version | undefined;
2920
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2841
2921
  cipherList?: string | undefined;
2842
2922
  } | undefined;
2843
2923
  };
2844
2924
  } | {
2845
- external: ExternalServer & (ExternalServer | undefined);
2925
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2846
2926
  } | {
2847
2927
  disk: {
2848
2928
  path: string;
2849
2929
  writable?: boolean | undefined;
2850
2930
  };
2851
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
2931
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2852
2932
  fetchMock?: MockAgent<MockAgent> | undefined;
2853
2933
  unsafeEphemeralDurableObjects?: boolean | undefined;
2854
2934
  unsafeDirectSockets?: {
@@ -2864,7 +2944,7 @@ export declare const PLUGINS: {
2864
2944
  modules: {
2865
2945
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2866
2946
  path: string;
2867
- contents?: string | Uint8Array | undefined;
2947
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
2868
2948
  }[];
2869
2949
  modulesRoot?: string | undefined;
2870
2950
  } | {
@@ -2892,12 +2972,12 @@ export declare const PLUGINS: {
2892
2972
  compatibilityDate?: string | undefined;
2893
2973
  compatibilityFlags?: string[] | undefined;
2894
2974
  routes?: string[] | undefined;
2895
- bindings?: Record<string, Json> | undefined;
2896
- wasmBindings?: Record<string, string | Uint8Array> | undefined;
2975
+ bindings?: Record<string, Json_2> | undefined;
2976
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2897
2977
  textBlobBindings?: Record<string, string> | undefined;
2898
- dataBlobBindings?: Record<string, string | Uint8Array> | undefined;
2899
- serviceBindings?: Record<string, string | kCurrentWorker | {
2900
- name: string | kCurrentWorker;
2978
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
2979
+ serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2980
+ name: string | kCurrentWorker_2;
2901
2981
  entrypoint?: string | undefined;
2902
2982
  } | {
2903
2983
  network: {
@@ -2911,25 +2991,25 @@ export declare const PLUGINS: {
2911
2991
  requireClientCerts?: boolean | undefined;
2912
2992
  trustBrowserCas?: boolean | undefined;
2913
2993
  trustedCertificates?: string[] | undefined;
2914
- minVersion?: TlsOptions_Version | undefined;
2994
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2915
2995
  cipherList?: string | undefined;
2916
2996
  } | undefined;
2917
2997
  };
2918
2998
  } | {
2919
- external: ExternalServer & (ExternalServer | undefined);
2999
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2920
3000
  } | {
2921
3001
  disk: {
2922
3002
  path: string;
2923
3003
  writable?: boolean | undefined;
2924
3004
  };
2925
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>)> | undefined;
3005
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>)> | undefined;
2926
3006
  wrappedBindings?: Record<string, string | {
2927
3007
  scriptName: string;
2928
3008
  entrypoint?: string | undefined;
2929
- bindings?: Record<string, Json> | undefined;
3009
+ bindings?: Record<string, Json_2> | undefined;
2930
3010
  }> | undefined;
2931
- outboundService?: string | kCurrentWorker | {
2932
- name: string | kCurrentWorker;
3011
+ outboundService?: string | kCurrentWorker_2 | {
3012
+ name: string | kCurrentWorker_2;
2933
3013
  entrypoint?: string | undefined;
2934
3014
  } | {
2935
3015
  network: {
@@ -2943,18 +3023,18 @@ export declare const PLUGINS: {
2943
3023
  requireClientCerts?: boolean | undefined;
2944
3024
  trustBrowserCas?: boolean | undefined;
2945
3025
  trustedCertificates?: string[] | undefined;
2946
- minVersion?: TlsOptions_Version | undefined;
3026
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2947
3027
  cipherList?: string | undefined;
2948
3028
  } | undefined;
2949
3029
  };
2950
3030
  } | {
2951
- external: ExternalServer & (ExternalServer | undefined);
3031
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
2952
3032
  } | {
2953
3033
  disk: {
2954
3034
  path: string;
2955
3035
  writable?: boolean | undefined;
2956
3036
  };
2957
- } | ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
3037
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
2958
3038
  fetchMock?: MockAgent<MockAgent> | undefined;
2959
3039
  unsafeEphemeralDurableObjects?: boolean | undefined;
2960
3040
  unsafeDirectSockets?: {
@@ -2977,13 +3057,13 @@ export declare const PLUGINS: {
2977
3057
  httpsCertPath: z.ZodOptional<z.ZodString>;
2978
3058
  inspectorPort: z.ZodOptional<z.ZodNumber>;
2979
3059
  verbose: z.ZodOptional<z.ZodBoolean>;
2980
- log: z.ZodOptional<z.ZodType<Log, z.ZodTypeDef, Log>>;
3060
+ log: z.ZodOptional<z.ZodType<Log_2, z.ZodTypeDef, Log_2>>;
2981
3061
  handleRuntimeStdio: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodType<Readable, z.ZodTypeDef, Readable>, z.ZodType<Readable, z.ZodTypeDef, Readable>], null>, z.ZodUnknown>>;
2982
3062
  upstream: z.ZodOptional<z.ZodString>;
2983
3063
  cf: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
2984
3064
  liveReload: z.ZodOptional<z.ZodBoolean>;
2985
3065
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
2986
- unsafeModuleFallbackService: z.ZodOptional<z.ZodType<(request: Request, mf: Miniflare) => Awaitable<Response>, z.ZodTypeDef, (request: Request, mf: Miniflare) => Awaitable<Response>>>;
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>>>;
2987
3067
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
2988
3068
  }, "strip", z.ZodTypeAny, {
2989
3069
  rootPath?: undefined;
@@ -2996,13 +3076,13 @@ export declare const PLUGINS: {
2996
3076
  httpsCertPath?: string | undefined;
2997
3077
  inspectorPort?: number | undefined;
2998
3078
  verbose?: boolean | undefined;
2999
- log?: Log | undefined;
3079
+ log?: Log_2 | undefined;
3000
3080
  handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
3001
3081
  upstream?: string | undefined;
3002
3082
  cf?: string | boolean | Record<string, any> | undefined;
3003
3083
  liveReload?: boolean | undefined;
3004
3084
  unsafeProxySharedSecret?: string | undefined;
3005
- unsafeModuleFallbackService?: ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
3085
+ unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3006
3086
  unsafeStickyBlobs?: boolean | undefined;
3007
3087
  }, {
3008
3088
  rootPath?: string | undefined;
@@ -3015,16 +3095,16 @@ export declare const PLUGINS: {
3015
3095
  httpsCertPath?: string | undefined;
3016
3096
  inspectorPort?: number | undefined;
3017
3097
  verbose?: boolean | undefined;
3018
- log?: Log | undefined;
3098
+ log?: Log_2 | undefined;
3019
3099
  handleRuntimeStdio?: ((args_0: Readable, args_1: Readable) => unknown) | undefined;
3020
3100
  upstream?: string | undefined;
3021
3101
  cf?: string | boolean | Record<string, any> | undefined;
3022
3102
  liveReload?: boolean | undefined;
3023
3103
  unsafeProxySharedSecret?: string | undefined;
3024
- unsafeModuleFallbackService?: ((request: Request, mf: Miniflare) => Awaitable<Response>) | undefined;
3104
+ unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3025
3105
  unsafeStickyBlobs?: boolean | undefined;
3026
3106
  }>>;
3027
- cache: Plugin<z.ZodObject<{
3107
+ cache: Plugin_2<z.ZodObject<{
3028
3108
  cache: z.ZodOptional<z.ZodBoolean>;
3029
3109
  cacheWarnUsage: z.ZodOptional<z.ZodBoolean>;
3030
3110
  }, "strip", z.ZodTypeAny, {
@@ -3040,7 +3120,7 @@ export declare const PLUGINS: {
3040
3120
  }, {
3041
3121
  cachePersist?: string | boolean | undefined;
3042
3122
  }>>;
3043
- d1: Plugin<z.ZodObject<{
3123
+ d1: Plugin_2<z.ZodObject<{
3044
3124
  d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3045
3125
  }, "strip", z.ZodTypeAny, {
3046
3126
  d1Databases?: string[] | Record<string, string> | undefined;
@@ -3053,24 +3133,24 @@ export declare const PLUGINS: {
3053
3133
  }, {
3054
3134
  d1Persist?: string | boolean | undefined;
3055
3135
  }>>;
3056
- do: Plugin<z.ZodObject<{
3136
+ do: Plugin_2<z.ZodObject<{
3057
3137
  durableObjects: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
3058
3138
  className: z.ZodString;
3059
3139
  scriptName: z.ZodOptional<z.ZodString>;
3060
3140
  useSQLite: z.ZodOptional<z.ZodBoolean>;
3061
- unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey>]>>;
3141
+ unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
3062
3142
  unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
3063
3143
  }, "strip", z.ZodTypeAny, {
3064
3144
  className: string;
3065
3145
  scriptName?: string | undefined;
3066
3146
  useSQLite?: boolean | undefined;
3067
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3147
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3068
3148
  unsafePreventEviction?: boolean | undefined;
3069
3149
  }, {
3070
3150
  className: string;
3071
3151
  scriptName?: string | undefined;
3072
3152
  useSQLite?: boolean | undefined;
3073
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3153
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3074
3154
  unsafePreventEviction?: boolean | undefined;
3075
3155
  }>]>>>;
3076
3156
  }, "strip", z.ZodTypeAny, {
@@ -3078,7 +3158,7 @@ export declare const PLUGINS: {
3078
3158
  className: string;
3079
3159
  scriptName?: string | undefined;
3080
3160
  useSQLite?: boolean | undefined;
3081
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3161
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3082
3162
  unsafePreventEviction?: boolean | undefined;
3083
3163
  }> | undefined;
3084
3164
  }, {
@@ -3086,7 +3166,7 @@ export declare const PLUGINS: {
3086
3166
  className: string;
3087
3167
  scriptName?: string | undefined;
3088
3168
  useSQLite?: boolean | undefined;
3089
- unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey | undefined;
3169
+ unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3090
3170
  unsafePreventEviction?: boolean | undefined;
3091
3171
  }> | undefined;
3092
3172
  }>, z.ZodObject<{
@@ -3096,7 +3176,7 @@ export declare const PLUGINS: {
3096
3176
  }, {
3097
3177
  durableObjectsPersist?: string | boolean | undefined;
3098
3178
  }>>;
3099
- kv: Plugin<z.ZodObject<{
3179
+ kv: Plugin_2<z.ZodObject<{
3100
3180
  kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3101
3181
  sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3102
3182
  siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -3118,7 +3198,7 @@ export declare const PLUGINS: {
3118
3198
  }, {
3119
3199
  kvPersist?: string | boolean | undefined;
3120
3200
  }>>;
3121
- queues: Plugin<z.ZodObject<{
3201
+ queues: Plugin_2<z.ZodObject<{
3122
3202
  queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
3123
3203
  queueName: z.ZodString;
3124
3204
  deliveryDelay: z.ZodOptional<z.ZodNumber>;
@@ -3129,22 +3209,39 @@ export declare const PLUGINS: {
3129
3209
  queueName: string;
3130
3210
  deliveryDelay?: number | undefined;
3131
3211
  }>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
3132
- queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
3212
+ queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3133
3213
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
3134
3214
  maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
3135
3215
  maxRetires: z.ZodOptional<z.ZodNumber>;
3216
+ maxRetries: z.ZodOptional<z.ZodNumber>;
3136
3217
  deadLetterQueue: z.ZodOptional<z.ZodString>;
3137
3218
  retryDelay: z.ZodOptional<z.ZodNumber>;
3138
3219
  }, "strip", z.ZodTypeAny, {
3139
3220
  maxBatchSize?: number | undefined;
3140
3221
  maxBatchTimeout?: number | undefined;
3141
3222
  maxRetires?: number | undefined;
3223
+ maxRetries?: number | undefined;
3142
3224
  deadLetterQueue?: string | undefined;
3143
3225
  retryDelay?: number | undefined;
3144
3226
  }, {
3145
3227
  maxBatchSize?: number | undefined;
3146
3228
  maxBatchTimeout?: number | undefined;
3147
3229
  maxRetires?: number | undefined;
3230
+ maxRetries?: number | undefined;
3231
+ deadLetterQueue?: string | undefined;
3232
+ retryDelay?: number | undefined;
3233
+ }>, Omit<{
3234
+ maxBatchSize?: number | undefined;
3235
+ maxBatchTimeout?: number | undefined;
3236
+ maxRetires?: number | undefined;
3237
+ maxRetries?: number | undefined;
3238
+ deadLetterQueue?: string | undefined;
3239
+ retryDelay?: number | undefined;
3240
+ }, "maxRetires">, {
3241
+ maxBatchSize?: number | undefined;
3242
+ maxBatchTimeout?: number | undefined;
3243
+ maxRetires?: number | undefined;
3244
+ maxRetries?: number | undefined;
3148
3245
  deadLetterQueue?: string | undefined;
3149
3246
  retryDelay?: number | undefined;
3150
3247
  }>>, z.ZodArray<z.ZodString, "many">]>>;
@@ -3153,13 +3250,14 @@ export declare const PLUGINS: {
3153
3250
  queueName: string;
3154
3251
  deliveryDelay?: number | undefined;
3155
3252
  }> | undefined;
3156
- queueConsumers?: string[] | Record<string, {
3253
+ queueConsumers?: string[] | Record<string, Omit<{
3157
3254
  maxBatchSize?: number | undefined;
3158
3255
  maxBatchTimeout?: number | undefined;
3159
3256
  maxRetires?: number | undefined;
3257
+ maxRetries?: number | undefined;
3160
3258
  deadLetterQueue?: string | undefined;
3161
3259
  retryDelay?: number | undefined;
3162
- }> | undefined;
3260
+ }, "maxRetires">> | undefined;
3163
3261
  }, {
3164
3262
  queueProducers?: string[] | Record<string, string> | Record<string, {
3165
3263
  queueName: string;
@@ -3169,11 +3267,12 @@ export declare const PLUGINS: {
3169
3267
  maxBatchSize?: number | undefined;
3170
3268
  maxBatchTimeout?: number | undefined;
3171
3269
  maxRetires?: number | undefined;
3270
+ maxRetries?: number | undefined;
3172
3271
  deadLetterQueue?: string | undefined;
3173
3272
  retryDelay?: number | undefined;
3174
3273
  }> | undefined;
3175
3274
  }>>;
3176
- r2: Plugin<z.ZodObject<{
3275
+ r2: Plugin_2<z.ZodObject<{
3177
3276
  r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
3178
3277
  }, "strip", z.ZodTypeAny, {
3179
3278
  r2Buckets?: string[] | Record<string, string> | undefined;
@@ -3186,72 +3285,87 @@ export declare const PLUGINS: {
3186
3285
  }, {
3187
3286
  r2Persist?: string | boolean | undefined;
3188
3287
  }>>;
3189
- hyperdrive: Plugin<z.ZodObject<{
3288
+ hyperdrive: Plugin_2<z.ZodObject<{
3190
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>>>;
3191
3290
  }, "strip", z.ZodTypeAny, {
3192
3291
  hyperdrives?: Record<string, URL_2> | undefined;
3193
3292
  }, {
3194
3293
  hyperdrives?: Record<string, string | URL_2> | undefined;
3195
3294
  }>>;
3196
- ratelimit: Plugin<z.ZodObject<{
3295
+ ratelimit: Plugin_2<z.ZodObject<{
3197
3296
  ratelimits: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3198
3297
  simple: z.ZodObject<{
3199
3298
  limit: z.ZodNumber;
3200
- period: z.ZodOptional<z.ZodNativeEnum<PeriodType>>;
3299
+ period: z.ZodOptional<z.ZodNativeEnum<PeriodType_2>>;
3201
3300
  }, "strip", z.ZodTypeAny, {
3202
3301
  limit: number;
3203
- period?: PeriodType | undefined;
3302
+ period?: PeriodType_2 | undefined;
3204
3303
  }, {
3205
3304
  limit: number;
3206
- period?: PeriodType | undefined;
3305
+ period?: PeriodType_2 | undefined;
3207
3306
  }>;
3208
3307
  }, "strip", z.ZodTypeAny, {
3209
3308
  simple: {
3210
3309
  limit: number;
3211
- period?: PeriodType | undefined;
3310
+ period?: PeriodType_2 | undefined;
3212
3311
  };
3213
3312
  }, {
3214
3313
  simple: {
3215
3314
  limit: number;
3216
- period?: PeriodType | undefined;
3315
+ period?: PeriodType_2 | undefined;
3217
3316
  };
3218
3317
  }>>>;
3219
3318
  }, "strip", z.ZodTypeAny, {
3220
3319
  ratelimits?: Record<string, {
3221
3320
  simple: {
3222
3321
  limit: number;
3223
- period?: PeriodType | undefined;
3322
+ period?: PeriodType_2 | undefined;
3224
3323
  };
3225
3324
  }> | undefined;
3226
3325
  }, {
3227
3326
  ratelimits?: Record<string, {
3228
3327
  simple: {
3229
3328
  limit: number;
3230
- period?: PeriodType | undefined;
3329
+ period?: PeriodType_2 | undefined;
3231
3330
  };
3232
3331
  }> | undefined;
3233
3332
  }>>;
3234
- assets: Plugin<z.ZodObject<{
3333
+ assets: Plugin_2<z.ZodObject<{
3235
3334
  assets: z.ZodOptional<z.ZodObject<{
3236
3335
  workerName: z.ZodOptional<z.ZodString>;
3237
3336
  directory: z.ZodEffects<z.ZodString, string, string>;
3238
3337
  binding: z.ZodOptional<z.ZodString>;
3239
3338
  routingConfig: z.ZodOptional<z.ZodObject<{
3240
3339
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
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>;
3241
3343
  }, "strip", z.ZodTypeAny, {
3242
3344
  has_user_worker?: boolean;
3345
+ invoke_user_worker_ahead_of_assets?: boolean;
3346
+ account_id?: number;
3347
+ script_id?: number;
3243
3348
  }, {
3244
3349
  has_user_worker?: boolean;
3350
+ invoke_user_worker_ahead_of_assets?: boolean;
3351
+ account_id?: number;
3352
+ script_id?: number;
3245
3353
  }>>;
3246
3354
  assetConfig: z.ZodOptional<z.ZodObject<{
3247
3355
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
3248
3356
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
3357
+ serve_directly: z.ZodOptional<z.ZodBoolean>;
3358
+ run_worker_first: z.ZodOptional<z.ZodBoolean>;
3249
3359
  }, "strip", z.ZodTypeAny, {
3250
3360
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3251
3361
  not_found_handling?: "none" | "single-page-application" | "404-page";
3362
+ serve_directly?: boolean;
3363
+ run_worker_first?: boolean;
3252
3364
  }, {
3253
3365
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3254
3366
  not_found_handling?: "none" | "single-page-application" | "404-page";
3367
+ serve_directly?: boolean;
3368
+ run_worker_first?: boolean;
3255
3369
  }>>;
3256
3370
  }, "strip", z.ZodTypeAny, {
3257
3371
  directory: string;
@@ -3259,10 +3373,15 @@ export declare const PLUGINS: {
3259
3373
  binding?: string | undefined;
3260
3374
  routingConfig?: {
3261
3375
  has_user_worker?: boolean;
3376
+ invoke_user_worker_ahead_of_assets?: boolean;
3377
+ account_id?: number;
3378
+ script_id?: number;
3262
3379
  } | undefined;
3263
3380
  assetConfig?: {
3264
3381
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3265
3382
  not_found_handling?: "none" | "single-page-application" | "404-page";
3383
+ serve_directly?: boolean;
3384
+ run_worker_first?: boolean;
3266
3385
  } | undefined;
3267
3386
  }, {
3268
3387
  directory: string;
@@ -3270,10 +3389,15 @@ export declare const PLUGINS: {
3270
3389
  binding?: string | undefined;
3271
3390
  routingConfig?: {
3272
3391
  has_user_worker?: boolean;
3392
+ invoke_user_worker_ahead_of_assets?: boolean;
3393
+ account_id?: number;
3394
+ script_id?: number;
3273
3395
  } | undefined;
3274
3396
  assetConfig?: {
3275
3397
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3276
3398
  not_found_handling?: "none" | "single-page-application" | "404-page";
3399
+ serve_directly?: boolean;
3400
+ run_worker_first?: boolean;
3277
3401
  } | undefined;
3278
3402
  }>>;
3279
3403
  }, "strip", z.ZodTypeAny, {
@@ -3283,10 +3407,15 @@ export declare const PLUGINS: {
3283
3407
  binding?: string | undefined;
3284
3408
  routingConfig?: {
3285
3409
  has_user_worker?: boolean;
3410
+ invoke_user_worker_ahead_of_assets?: boolean;
3411
+ account_id?: number;
3412
+ script_id?: number;
3286
3413
  } | undefined;
3287
3414
  assetConfig?: {
3288
3415
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3289
3416
  not_found_handling?: "none" | "single-page-application" | "404-page";
3417
+ serve_directly?: boolean;
3418
+ run_worker_first?: boolean;
3290
3419
  } | undefined;
3291
3420
  } | undefined;
3292
3421
  }, {
@@ -3296,13 +3425,51 @@ export declare const PLUGINS: {
3296
3425
  binding?: string | undefined;
3297
3426
  routingConfig?: {
3298
3427
  has_user_worker?: boolean;
3428
+ invoke_user_worker_ahead_of_assets?: boolean;
3429
+ account_id?: number;
3430
+ script_id?: number;
3299
3431
  } | undefined;
3300
3432
  assetConfig?: {
3301
3433
  html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3302
3434
  not_found_handling?: "none" | "single-page-application" | "404-page";
3435
+ serve_directly?: boolean;
3436
+ run_worker_first?: boolean;
3303
3437
  } | undefined;
3304
3438
  } | undefined;
3305
3439
  }>>;
3440
+ workflows: Plugin_2<z.ZodObject<{
3441
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3442
+ name: z.ZodString;
3443
+ className: z.ZodString;
3444
+ scriptName: z.ZodOptional<z.ZodString>;
3445
+ }, "strip", z.ZodTypeAny, {
3446
+ name: string;
3447
+ className: string;
3448
+ scriptName?: string | undefined;
3449
+ }, {
3450
+ name: string;
3451
+ className: string;
3452
+ scriptName?: string | undefined;
3453
+ }>>>;
3454
+ }, "strip", z.ZodTypeAny, {
3455
+ workflows?: Record<string, {
3456
+ name: string;
3457
+ className: string;
3458
+ scriptName?: string | undefined;
3459
+ }> | undefined;
3460
+ }, {
3461
+ workflows?: Record<string, {
3462
+ name: string;
3463
+ className: string;
3464
+ scriptName?: string | undefined;
3465
+ }> | undefined;
3466
+ }>, z.ZodObject<{
3467
+ workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
3468
+ }, "strip", z.ZodTypeAny, {
3469
+ workflowsPersist?: string | boolean | undefined;
3470
+ }, {
3471
+ workflowsPersist?: string | boolean | undefined;
3472
+ }>>;
3306
3473
  };
3307
3474
 
3308
3475
  export declare type Plugins = typeof PLUGINS;
@@ -3327,7 +3494,7 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
3327
3494
 
3328
3495
  export declare function prefixError(prefix: string, e: any): Error;
3329
3496
 
3330
- export declare function prefixStream(prefix: Uint8Array, stream: ReadableStream_2<Uint8Array>): ReadableStream_2<Uint8Array>;
3497
+ export declare function prefixStream(prefix: Uint8Array, stream: ReadableStream_3<Uint8Array>): ReadableStream_3<Uint8Array>;
3331
3498
 
3332
3499
  export declare const ProxyAddresses: {
3333
3500
  readonly GLOBAL: 0;
@@ -3366,44 +3533,78 @@ export declare const QueueBindings: {
3366
3533
 
3367
3534
  export declare type QueueConsumer = z.infer<typeof QueueConsumerSchema>;
3368
3535
 
3369
- export declare const QueueConsumerOptionsSchema: z.ZodObject<{
3536
+ export declare const QueueConsumerOptionsSchema: z.ZodEffects<z.ZodObject<{
3370
3537
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
3371
3538
  maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
3372
3539
  maxRetires: z.ZodOptional<z.ZodNumber>;
3540
+ maxRetries: z.ZodOptional<z.ZodNumber>;
3373
3541
  deadLetterQueue: z.ZodOptional<z.ZodString>;
3374
3542
  retryDelay: z.ZodOptional<z.ZodNumber>;
3375
3543
  }, "strip", z.ZodTypeAny, {
3376
3544
  maxBatchSize?: number | undefined;
3377
3545
  maxBatchTimeout?: number | undefined;
3378
3546
  maxRetires?: number | undefined;
3547
+ maxRetries?: number | undefined;
3379
3548
  deadLetterQueue?: string | undefined;
3380
3549
  retryDelay?: number | undefined;
3381
3550
  }, {
3382
3551
  maxBatchSize?: number | undefined;
3383
3552
  maxBatchTimeout?: number | undefined;
3384
3553
  maxRetires?: number | undefined;
3554
+ maxRetries?: number | undefined;
3555
+ deadLetterQueue?: string | undefined;
3556
+ retryDelay?: number | undefined;
3557
+ }>, Omit<{
3558
+ maxBatchSize?: number | undefined;
3559
+ maxBatchTimeout?: number | undefined;
3560
+ maxRetires?: number | undefined;
3561
+ maxRetries?: number | undefined;
3562
+ deadLetterQueue?: string | undefined;
3563
+ retryDelay?: number | undefined;
3564
+ }, "maxRetires">, {
3565
+ maxBatchSize?: number | undefined;
3566
+ maxBatchTimeout?: number | undefined;
3567
+ maxRetires?: number | undefined;
3568
+ maxRetries?: number | undefined;
3385
3569
  deadLetterQueue?: string | undefined;
3386
3570
  retryDelay?: number | undefined;
3387
3571
  }>;
3388
3572
 
3389
3573
  export declare type QueueConsumers = Map<string, z.infer<typeof QueueConsumerSchema>>;
3390
3574
 
3391
- export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodObject<{
3575
+ export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodEffects<z.ZodObject<{
3392
3576
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
3393
3577
  maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
3394
3578
  maxRetires: z.ZodOptional<z.ZodNumber>;
3579
+ maxRetries: z.ZodOptional<z.ZodNumber>;
3395
3580
  deadLetterQueue: z.ZodOptional<z.ZodString>;
3396
3581
  retryDelay: z.ZodOptional<z.ZodNumber>;
3397
3582
  }, "strip", z.ZodTypeAny, {
3398
3583
  maxBatchSize?: number | undefined;
3399
3584
  maxBatchTimeout?: number | undefined;
3400
3585
  maxRetires?: number | undefined;
3586
+ maxRetries?: number | undefined;
3401
3587
  deadLetterQueue?: string | undefined;
3402
3588
  retryDelay?: number | undefined;
3403
3589
  }, {
3404
3590
  maxBatchSize?: number | undefined;
3405
3591
  maxBatchTimeout?: number | undefined;
3406
3592
  maxRetires?: number | undefined;
3593
+ maxRetries?: number | undefined;
3594
+ deadLetterQueue?: string | undefined;
3595
+ retryDelay?: number | undefined;
3596
+ }>, Omit<{
3597
+ maxBatchSize?: number | undefined;
3598
+ maxBatchTimeout?: number | undefined;
3599
+ maxRetires?: number | undefined;
3600
+ maxRetries?: number | undefined;
3601
+ deadLetterQueue?: string | undefined;
3602
+ retryDelay?: number | undefined;
3603
+ }, "maxRetires">, {
3604
+ maxBatchSize?: number | undefined;
3605
+ maxBatchTimeout?: number | undefined;
3606
+ maxRetires?: number | undefined;
3607
+ maxRetries?: number | undefined;
3407
3608
  deadLetterQueue?: string | undefined;
3408
3609
  retryDelay?: number | undefined;
3409
3610
  }>, z.ZodObject<{
@@ -3414,22 +3615,39 @@ export declare const QueueConsumerSchema: z.ZodIntersection<z.ZodObject<{
3414
3615
  workerName: string;
3415
3616
  }>>;
3416
3617
 
3417
- export declare const QueueConsumersSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodObject<{
3618
+ export declare const QueueConsumersSchema: z.ZodRecord<z.ZodString, z.ZodIntersection<z.ZodEffects<z.ZodObject<{
3418
3619
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
3419
3620
  maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
3420
3621
  maxRetires: z.ZodOptional<z.ZodNumber>;
3622
+ maxRetries: z.ZodOptional<z.ZodNumber>;
3421
3623
  deadLetterQueue: z.ZodOptional<z.ZodString>;
3422
3624
  retryDelay: z.ZodOptional<z.ZodNumber>;
3423
3625
  }, "strip", z.ZodTypeAny, {
3424
3626
  maxBatchSize?: number | undefined;
3425
3627
  maxBatchTimeout?: number | undefined;
3426
3628
  maxRetires?: number | undefined;
3629
+ maxRetries?: number | undefined;
3427
3630
  deadLetterQueue?: string | undefined;
3428
3631
  retryDelay?: number | undefined;
3429
3632
  }, {
3430
3633
  maxBatchSize?: number | undefined;
3431
3634
  maxBatchTimeout?: number | undefined;
3432
3635
  maxRetires?: number | undefined;
3636
+ maxRetries?: number | undefined;
3637
+ deadLetterQueue?: string | undefined;
3638
+ retryDelay?: number | undefined;
3639
+ }>, Omit<{
3640
+ maxBatchSize?: number | undefined;
3641
+ maxBatchTimeout?: number | undefined;
3642
+ maxRetires?: number | undefined;
3643
+ maxRetries?: number | undefined;
3644
+ deadLetterQueue?: string | undefined;
3645
+ retryDelay?: number | undefined;
3646
+ }, "maxRetires">, {
3647
+ maxBatchSize?: number | undefined;
3648
+ maxBatchTimeout?: number | undefined;
3649
+ maxRetires?: number | undefined;
3650
+ maxRetries?: number | undefined;
3433
3651
  deadLetterQueue?: string | undefined;
3434
3652
  retryDelay?: number | undefined;
3435
3653
  }>, z.ZodObject<{
@@ -3449,11 +3667,11 @@ export declare type QueueIncomingMessage = z.infer<typeof QueueIncomingMessageSc
3449
3667
  export declare const QueueIncomingMessageSchema: z.ZodObject<{
3450
3668
  contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
3451
3669
  delaySecs: z.ZodOptional<z.ZodNumber>;
3452
- body: z.ZodEffects<z.ZodString, Buffer, string>;
3670
+ body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
3453
3671
  id: z.ZodOptional<z.ZodString>;
3454
3672
  timestamp: z.ZodOptional<z.ZodNumber>;
3455
3673
  }, "strip", z.ZodTypeAny, {
3456
- body: Buffer;
3674
+ body: Buffer<ArrayBuffer>;
3457
3675
  contentType: "json" | "bytes" | "v8" | "text";
3458
3676
  delaySecs?: number | undefined;
3459
3677
  id?: string | undefined;
@@ -3529,11 +3747,11 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
3529
3747
  messages: z.ZodArray<z.ZodObject<{
3530
3748
  contentType: z.ZodDefault<z.ZodEnum<["text", "json", "bytes", "v8"]>>;
3531
3749
  delaySecs: z.ZodOptional<z.ZodNumber>;
3532
- body: z.ZodEffects<z.ZodString, Buffer, string>;
3750
+ body: z.ZodEffects<z.ZodString, Buffer<ArrayBuffer>, string>;
3533
3751
  id: z.ZodOptional<z.ZodString>;
3534
3752
  timestamp: z.ZodOptional<z.ZodNumber>;
3535
3753
  }, "strip", z.ZodTypeAny, {
3536
- body: Buffer;
3754
+ body: Buffer<ArrayBuffer>;
3537
3755
  contentType: "json" | "bytes" | "v8" | "text";
3538
3756
  delaySecs?: number | undefined;
3539
3757
  id?: string | undefined;
@@ -3547,7 +3765,7 @@ export declare const QueuesBatchRequestSchema: z.ZodObject<{
3547
3765
  }>, "many">;
3548
3766
  }, "strip", z.ZodTypeAny, {
3549
3767
  messages: {
3550
- body: Buffer;
3768
+ body: Buffer<ArrayBuffer>;
3551
3769
  contentType: "json" | "bytes" | "v8" | "text";
3552
3770
  delaySecs?: number | undefined;
3553
3771
  id?: string | undefined;
@@ -3579,22 +3797,39 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
3579
3797
  queueName: string;
3580
3798
  deliveryDelay?: number | undefined;
3581
3799
  }>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
3582
- queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
3800
+ queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3583
3801
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
3584
3802
  maxBatchTimeout: z.ZodOptional<z.ZodNumber>;
3585
3803
  maxRetires: z.ZodOptional<z.ZodNumber>;
3804
+ maxRetries: z.ZodOptional<z.ZodNumber>;
3586
3805
  deadLetterQueue: z.ZodOptional<z.ZodString>;
3587
3806
  retryDelay: z.ZodOptional<z.ZodNumber>;
3588
3807
  }, "strip", z.ZodTypeAny, {
3589
3808
  maxBatchSize?: number | undefined;
3590
3809
  maxBatchTimeout?: number | undefined;
3591
3810
  maxRetires?: number | undefined;
3811
+ maxRetries?: number | undefined;
3592
3812
  deadLetterQueue?: string | undefined;
3593
3813
  retryDelay?: number | undefined;
3594
3814
  }, {
3595
3815
  maxBatchSize?: number | undefined;
3596
3816
  maxBatchTimeout?: number | undefined;
3597
3817
  maxRetires?: number | undefined;
3818
+ maxRetries?: number | undefined;
3819
+ deadLetterQueue?: string | undefined;
3820
+ retryDelay?: number | undefined;
3821
+ }>, Omit<{
3822
+ maxBatchSize?: number | undefined;
3823
+ maxBatchTimeout?: number | undefined;
3824
+ maxRetires?: number | undefined;
3825
+ maxRetries?: number | undefined;
3826
+ deadLetterQueue?: string | undefined;
3827
+ retryDelay?: number | undefined;
3828
+ }, "maxRetires">, {
3829
+ maxBatchSize?: number | undefined;
3830
+ maxBatchTimeout?: number | undefined;
3831
+ maxRetires?: number | undefined;
3832
+ maxRetries?: number | undefined;
3598
3833
  deadLetterQueue?: string | undefined;
3599
3834
  retryDelay?: number | undefined;
3600
3835
  }>>, z.ZodArray<z.ZodString, "many">]>>;
@@ -3603,13 +3838,14 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
3603
3838
  queueName: string;
3604
3839
  deliveryDelay?: number | undefined;
3605
3840
  }> | undefined;
3606
- queueConsumers?: string[] | Record<string, {
3841
+ queueConsumers?: string[] | Record<string, Omit<{
3607
3842
  maxBatchSize?: number | undefined;
3608
3843
  maxBatchTimeout?: number | undefined;
3609
3844
  maxRetires?: number | undefined;
3845
+ maxRetries?: number | undefined;
3610
3846
  deadLetterQueue?: string | undefined;
3611
3847
  retryDelay?: number | undefined;
3612
- }> | undefined;
3848
+ }, "maxRetires">> | undefined;
3613
3849
  }, {
3614
3850
  queueProducers?: string[] | Record<string, string> | Record<string, {
3615
3851
  queueName: string;
@@ -3619,6 +3855,7 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
3619
3855
  maxBatchSize?: number | undefined;
3620
3856
  maxBatchTimeout?: number | undefined;
3621
3857
  maxRetires?: number | undefined;
3858
+ maxRetries?: number | undefined;
3622
3859
  deadLetterQueue?: string | undefined;
3623
3860
  retryDelay?: number | undefined;
3624
3861
  }> | undefined;
@@ -3712,7 +3949,7 @@ export declare const RatelimitOptionsSchema: z.ZodObject<{
3712
3949
  }> | undefined;
3713
3950
  }>;
3714
3951
 
3715
- export declare function readPrefix(stream: ReadableStream_2<Uint8Array>, prefixLength: number): Promise<[prefix: Buffer, rest: ReadableStream_2<Uint8Array>]>;
3952
+ export declare function readPrefix(stream: ReadableStream_3<Uint8Array>, prefixLength: number): Promise<[prefix: Buffer, rest: ReadableStream_3<Uint8Array>]>;
3716
3953
 
3717
3954
  export declare function reduceError(e: any): JsonError;
3718
3955
 
@@ -3722,17 +3959,18 @@ export declare type ReducersRevivers = Record<string, ReducerReviver>;
3722
3959
 
3723
3960
  export { ReferrerPolicy }
3724
3961
 
3725
- export declare type ReplaceWorkersTypes<T> = T extends Request_3 ? Request : T extends Response_3 ? Response : T extends ReadableStream ? ReadableStream_2 : Required<T> extends Required<RequestInit_3> ? RequestInit : T extends Headers_2 ? Headers : 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 ? {
3726
3963
  [K in keyof T]: OverloadReplaceWorkersTypes<T[K]>;
3727
3964
  } : T;
3728
3965
 
3729
- export declare class Request<CfType extends RequestInitCfType = RequestInitCfType> extends Request_2 {
3966
+ declare class Request_2<CfType extends RequestInitCfType = RequestInitCfType> extends Request_4 {
3730
3967
  [kCf]?: CfType;
3731
- constructor(input: RequestInfo, init?: RequestInit<CfType>);
3968
+ constructor(input: RequestInfo, init?: RequestInit_2<CfType>);
3732
3969
  get cf(): CfType | undefined;
3733
3970
  /** @ts-expect-error `clone` is actually defined as a method internally */
3734
- clone(): Request<CfType>;
3971
+ clone(): Request_2<CfType>;
3735
3972
  }
3973
+ export { Request_2 as Request }
3736
3974
 
3737
3975
  export { RequestCache }
3738
3976
 
@@ -3742,11 +3980,12 @@ export { RequestDestination }
3742
3980
 
3743
3981
  export { RequestDuplex }
3744
3982
 
3745
- export declare type RequestInfo = RequestInfo_2 | Request;
3983
+ export declare type RequestInfo = RequestInfo_2 | Request_2;
3746
3984
 
3747
- export declare interface RequestInit<CfType extends RequestInitCfType = RequestInitCfType> extends RequestInit_2 {
3985
+ declare interface RequestInit_2<CfType extends RequestInitCfType = RequestInitCfType> extends RequestInit_3 {
3748
3986
  cf?: CfType;
3749
3987
  }
3988
+ export { RequestInit_2 as RequestInit }
3750
3989
 
3751
3990
  export declare type RequestInitCfType = Partial<IncomingRequestCfProperties> | RequestInitCfProperties;
3752
3991
 
@@ -3754,22 +3993,24 @@ export { RequestMode }
3754
3993
 
3755
3994
  export { RequestRedirect }
3756
3995
 
3757
- export declare class Response extends Response_2 {
3996
+ declare class Response_2 extends Response_4 {
3758
3997
  readonly [kWebSocket]: WebSocket | null;
3759
- static error(): Response;
3760
- static redirect(url: string | URL, status: ResponseRedirectStatus): Response;
3761
- static json(data: any, init?: ResponseInit): Response;
3762
- constructor(body?: BodyInit, init?: ResponseInit);
3998
+ static error(): Response_2;
3999
+ static redirect(url: string | URL, status: ResponseRedirectStatus): Response_2;
4000
+ static json(data: any, init?: ResponseInit_2): Response_2;
4001
+ constructor(body?: BodyInit, init?: ResponseInit_2);
3763
4002
  /** @ts-expect-error `status` is actually defined as a getter internally */
3764
4003
  get status(): number;
3765
4004
  get webSocket(): WebSocket | null;
3766
4005
  /** @ts-expect-error `clone` is actually defined as a method internally */
3767
- clone(): Response;
4006
+ clone(): Response_2;
3768
4007
  }
4008
+ export { Response_2 as Response }
3769
4009
 
3770
- export declare interface ResponseInit extends ResponseInit_2 {
4010
+ declare interface ResponseInit_2 extends ResponseInit_3 {
3771
4011
  webSocket?: WebSocket | null;
3772
4012
  }
4013
+ export { ResponseInit_2 as ResponseInit }
3773
4014
 
3774
4015
  export { ResponseRedirectStatus }
3775
4016
 
@@ -3852,7 +4093,7 @@ export declare const SharedHeaders: {
3852
4093
  readonly LOG_LEVEL: "MF-Log-Level";
3853
4094
  };
3854
4095
 
3855
- export declare type SharedOptions = z.input<typeof CORE_PLUGIN.sharedOptions> & z.input<typeof CACHE_PLUGIN.sharedOptions> & z.input<typeof D1_PLUGIN.sharedOptions> & z.input<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input<typeof KV_PLUGIN.sharedOptions> & z.input<typeof R2_PLUGIN.sharedOptions>;
4096
+ export declare type SharedOptions = z.input<typeof CORE_PLUGIN.sharedOptions> & z.input<typeof CACHE_PLUGIN.sharedOptions> & z.input<typeof D1_PLUGIN.sharedOptions> & z.input<typeof DURABLE_OBJECTS_PLUGIN.sharedOptions> & z.input<typeof KV_PLUGIN.sharedOptions> & z.input<typeof R2_PLUGIN.sharedOptions> & z.input<typeof WORKFLOWS_PLUGIN.sharedOptions>;
3856
4097
 
3857
4098
  export declare const SiteBindings: {
3858
4099
  readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
@@ -3896,29 +4137,29 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
3896
4137
  modules: z.ZodArray<z.ZodObject<{
3897
4138
  type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
3898
4139
  path: z.ZodEffects<z.ZodString, string, string>;
3899
- 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>>]>>;
3900
4141
  }, "strip", z.ZodTypeAny, {
3901
4142
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3902
4143
  path: string;
3903
- contents?: string | Uint8Array | undefined;
4144
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
3904
4145
  }, {
3905
4146
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3906
4147
  path: string;
3907
- contents?: string | Uint8Array | undefined;
4148
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
3908
4149
  }>, "many">;
3909
4150
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3910
4151
  }, "strip", z.ZodTypeAny, {
3911
4152
  modules: {
3912
4153
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3913
4154
  path: string;
3914
- contents?: string | Uint8Array | undefined;
4155
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
3915
4156
  }[];
3916
4157
  modulesRoot?: string | undefined;
3917
4158
  }, {
3918
4159
  modules: {
3919
4160
  type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3920
4161
  path: string;
3921
- contents?: string | Uint8Array | undefined;
4162
+ contents?: string | Uint8Array<ArrayBuffer> | undefined;
3922
4163
  }[];
3923
4164
  modulesRoot?: string | undefined;
3924
4165
  }>, z.ZodObject<{
@@ -4029,14 +4270,16 @@ export declare interface TlsOptions_Keypair {
4029
4270
  certificateChain?: string;
4030
4271
  }
4031
4272
 
4032
- export declare enum TlsOptions_Version {
4033
- GOOD_DEFAULT = 0,
4034
- SSL3 = 1,
4035
- TLS1DOT0 = 2,
4036
- TLS1DOT1 = 3,
4037
- TLS1DOT2 = 4,
4038
- TLS1DOT3 = 5
4039
- }
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];
4040
4283
 
4041
4284
  export declare function _transformsForContentEncodingAndContentType(encoding: string | undefined, type: string | undefined | null): Transform[];
4042
4285
 
@@ -4081,15 +4324,15 @@ export declare class WebSocket extends TypedEventTarget<WebSocketEventMap> {
4081
4324
  [kClosedIncoming]: boolean;
4082
4325
  get readyState(): number;
4083
4326
  accept(): void;
4084
- send(message: ArrayBuffer | string): void;
4085
- [kSend](message: ArrayBuffer | string): void;
4327
+ send(message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
4328
+ [kSend](message: string | ArrayBuffer | Uint8Array<ArrayBuffer>): void;
4086
4329
  close(code?: number, reason?: string): void;
4087
4330
  [kClose](code?: number, reason?: string): void;
4088
4331
  [kError](error?: Error): void;
4089
4332
  }
4090
4333
 
4091
4334
  export declare type WebSocketEventMap = {
4092
- message: MessageEvent;
4335
+ message: MessageEvent_2;
4093
4336
  close: CloseEvent;
4094
4337
  error: ErrorEvent;
4095
4338
  };
@@ -4183,16 +4426,18 @@ export declare type Worker_Binding_CryptoKey_Algorithm = {
4183
4426
  json?: string;
4184
4427
  };
4185
4428
 
4186
- export declare enum Worker_Binding_CryptoKey_Usage {
4187
- ENCRYPT = 0,
4188
- DECRYPT = 1,
4189
- SIGN = 2,
4190
- VERIFY = 3,
4191
- DERIVE_KEY = 4,
4192
- DERIVE_BITS = 5,
4193
- WRAP_KEY = 6,
4194
- UNWRAP_KEY = 7
4195
- }
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];
4196
4441
 
4197
4442
  export declare type Worker_Binding_DurableObjectNamespaceDesignator = {
4198
4443
  className?: string;
@@ -4299,7 +4544,7 @@ export declare type Worker_Module = {
4299
4544
  pythonRequirement?: string;
4300
4545
  });
4301
4546
 
4302
- export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options>;
4547
+ export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options>;
4303
4548
 
4304
4549
  export declare interface WorkerRoute {
4305
4550
  target: string;
@@ -4312,6 +4557,48 @@ export declare interface WorkerRoute {
4312
4557
  allowPathSuffix: boolean;
4313
4558
  }
4314
4559
 
4560
+ export declare const WORKFLOWS_PLUGIN: Plugin<typeof WorkflowsOptionsSchema, typeof WorkflowsSharedOptionsSchema>;
4561
+
4562
+ export declare const WORKFLOWS_PLUGIN_NAME = "workflows";
4563
+
4564
+ export declare const WORKFLOWS_STORAGE_SERVICE_NAME = "workflows:storage";
4565
+
4566
+ export declare const WorkflowsOptionsSchema: z.ZodObject<{
4567
+ workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4568
+ name: z.ZodString;
4569
+ className: z.ZodString;
4570
+ scriptName: z.ZodOptional<z.ZodString>;
4571
+ }, "strip", z.ZodTypeAny, {
4572
+ name: string;
4573
+ className: string;
4574
+ scriptName?: string | undefined;
4575
+ }, {
4576
+ name: string;
4577
+ className: string;
4578
+ scriptName?: string | undefined;
4579
+ }>>>;
4580
+ }, "strip", z.ZodTypeAny, {
4581
+ workflows?: Record<string, {
4582
+ name: string;
4583
+ className: string;
4584
+ scriptName?: string | undefined;
4585
+ }> | undefined;
4586
+ }, {
4587
+ workflows?: Record<string, {
4588
+ name: string;
4589
+ className: string;
4590
+ scriptName?: string | undefined;
4591
+ }> | undefined;
4592
+ }>;
4593
+
4594
+ export declare const WorkflowsSharedOptionsSchema: z.ZodObject<{
4595
+ workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
4596
+ }, "strip", z.ZodTypeAny, {
4597
+ workflowsPersist?: string | boolean | undefined;
4598
+ }, {
4599
+ workflowsPersist?: string | boolean | undefined;
4600
+ }>;
4601
+
4315
4602
  export declare type WrappedBindingNames = Set<string>;
4316
4603
 
4317
4604
  export declare function zAwaitable<T extends z.ZodTypeAny>(type: T): z.ZodUnion<[T, z.ZodPromise<T>]>;