miniflare 0.0.0-e51304ca0 → 0.0.0-e5ae13ade

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/src/index.d.ts +2024 -358
  2. package/dist/src/index.js +3158 -1462
  3. package/dist/src/index.js.map +3 -3
  4. package/dist/src/workers/analytics-engine/analytics-engine.worker.js +15 -0
  5. package/dist/src/workers/analytics-engine/analytics-engine.worker.js.map +6 -0
  6. package/dist/src/workers/assets/assets.worker.js +404 -202
  7. package/dist/src/workers/assets/assets.worker.js.map +2 -2
  8. package/dist/src/workers/assets/router.worker.js +221 -32
  9. package/dist/src/workers/assets/router.worker.js.map +2 -2
  10. package/dist/src/workers/assets/rpc-proxy.worker.js +7 -0
  11. package/dist/src/workers/assets/rpc-proxy.worker.js.map +1 -1
  12. package/dist/src/workers/cache/cache.worker.js +2 -1
  13. package/dist/src/workers/cache/cache.worker.js.map +1 -1
  14. package/dist/src/workers/core/entry.worker.js +3372 -50
  15. package/dist/src/workers/core/entry.worker.js.map +3 -3
  16. package/dist/src/workers/core/strip-cf-connecting-ip.worker.js +11 -0
  17. package/dist/src/workers/core/strip-cf-connecting-ip.worker.js.map +6 -0
  18. package/dist/src/workers/d1/database.worker.js +6 -2
  19. package/dist/src/workers/d1/database.worker.js.map +1 -1
  20. package/dist/src/workers/dispatch-namespace/dispatch-namespace.worker.js +25 -0
  21. package/dist/src/workers/dispatch-namespace/dispatch-namespace.worker.js.map +6 -0
  22. package/dist/src/workers/email/email.worker.js +23 -0
  23. package/dist/src/workers/email/email.worker.js.map +6 -0
  24. package/dist/src/workers/email/send_email.worker.js +3181 -0
  25. package/dist/src/workers/email/send_email.worker.js.map +6 -0
  26. package/dist/src/workers/kv/namespace.worker.js +67 -2
  27. package/dist/src/workers/kv/namespace.worker.js.map +2 -2
  28. package/dist/src/workers/kv/sites.worker.js +2 -1
  29. package/dist/src/workers/kv/sites.worker.js.map +1 -1
  30. package/dist/src/workers/secrets-store/secret.worker.js +65 -0
  31. package/dist/src/workers/secrets-store/secret.worker.js.map +6 -0
  32. package/dist/src/workers/shared/mixed-mode-client.worker.js +18 -0
  33. package/dist/src/workers/shared/mixed-mode-client.worker.js.map +6 -0
  34. package/dist/src/workers/workflows/binding.worker.js +162 -5
  35. package/dist/src/workers/workflows/binding.worker.js.map +1 -1
  36. package/package.json +15 -11
@@ -11,8 +11,8 @@ import type { DurableObjectNamespace } from '@cloudflare/workers-types/experimen
11
11
  import { ExternalServer as ExternalServer_2 } from '../..';
12
12
  import { ExternalServer as ExternalServer_3 } from '..';
13
13
  import type { Fetcher } from '@cloudflare/workers-types/experimental';
14
- import { File } from 'undici';
15
- import type { File as File_2 } from '@cloudflare/workers-types/experimental';
14
+ import { File as File_2 } from 'undici';
15
+ import type { File as File_3 } from '@cloudflare/workers-types/experimental';
16
16
  import { FormData as FormData_2 } from 'undici';
17
17
  import { Headers as Headers_2 } from 'undici';
18
18
  import type { Headers as Headers_3 } from '@cloudflare/workers-types/experimental';
@@ -23,9 +23,12 @@ import { Json as Json_2 } from '..';
23
23
  import { kCurrentWorker as kCurrentWorker_2 } from '..';
24
24
  import { kUnsafeEphemeralUniqueKey as kUnsafeEphemeralUniqueKey_2 } from './shared';
25
25
  import type { KVNamespace } from '@cloudflare/workers-types/experimental';
26
+ import type { KVNamespaceListKey } from '@cloudflare/workers-types/experimental';
26
27
  import { Log as Log_2 } from '..';
27
28
  import { Miniflare as Miniflare_2 } from '../..';
28
29
  import { Miniflare as Miniflare_3 } from '..';
30
+ import { MixedModeConnectionString as MixedModeConnectionString_2 } from '..';
31
+ import { MixedModeConnectionString as MixedModeConnectionString_3 } from './shared';
29
32
  import { MockAgent } from 'undici';
30
33
  import NodeWebSocket from 'ws';
31
34
  import { ParseParams } from 'zod';
@@ -71,6 +74,71 @@ export declare class __MiniflareFunctionWrapper {
71
74
  });
72
75
  }
73
76
 
77
+ export declare const AI_PLUGIN: Plugin<typeof AIOptionsSchema>;
78
+
79
+ export declare const AI_PLUGIN_NAME = "ai";
80
+
81
+ export declare const AIOptionsSchema: z.ZodObject<{
82
+ ai: z.ZodOptional<z.ZodObject<{
83
+ binding: z.ZodString;
84
+ mixedModeConnectionString: z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>;
85
+ }, "strip", z.ZodTypeAny, {
86
+ mixedModeConnectionString: URL & {
87
+ __brand: "MixedModeConnectionString";
88
+ };
89
+ binding: string;
90
+ }, {
91
+ mixedModeConnectionString: URL & {
92
+ __brand: "MixedModeConnectionString";
93
+ };
94
+ binding: string;
95
+ }>>;
96
+ }, "strip", z.ZodTypeAny, {
97
+ ai?: {
98
+ mixedModeConnectionString: URL & {
99
+ __brand: "MixedModeConnectionString";
100
+ };
101
+ binding: string;
102
+ } | undefined;
103
+ }, {
104
+ ai?: {
105
+ mixedModeConnectionString: URL & {
106
+ __brand: "MixedModeConnectionString";
107
+ };
108
+ binding: string;
109
+ } | undefined;
110
+ }>;
111
+
112
+ export declare const ANALYTICS_ENGINE_PLUGIN: Plugin<typeof AnalyticsEngineSchemaOptionsSchema, typeof AnalyticsEngineSchemaSharedOptionsSchema>;
113
+
114
+ export declare const ANALYTICS_ENGINE_PLUGIN_NAME = "analytics-engine";
115
+
116
+ export declare const AnalyticsEngineSchemaOptionsSchema: z.ZodObject<{
117
+ analyticsEngineDatasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
118
+ dataset: z.ZodString;
119
+ }, "strip", z.ZodTypeAny, {
120
+ dataset: string;
121
+ }, {
122
+ dataset: string;
123
+ }>>>;
124
+ }, "strip", z.ZodTypeAny, {
125
+ analyticsEngineDatasets?: Record<string, {
126
+ dataset: string;
127
+ }> | undefined;
128
+ }, {
129
+ analyticsEngineDatasets?: Record<string, {
130
+ dataset: string;
131
+ }> | undefined;
132
+ }>;
133
+
134
+ export declare const AnalyticsEngineSchemaSharedOptionsSchema: z.ZodObject<{
135
+ analyticsEngineDatasetsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
136
+ }, "strip", z.ZodTypeAny, {
137
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
138
+ }, {
139
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
140
+ }>;
141
+
74
142
  export declare type AnyHeaders = http.IncomingHttpHeaders | string[];
75
143
 
76
144
  export declare type AssetReverseMap = {
@@ -90,22 +158,49 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
90
158
  routerConfig: z.ZodOptional<z.ZodObject<{
91
159
  account_id: z.ZodOptional<z.ZodNumber>;
92
160
  script_id: z.ZodOptional<z.ZodNumber>;
161
+ debug: z.ZodOptional<z.ZodBoolean>;
93
162
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
163
+ static_routing: z.ZodOptional<z.ZodObject<{
164
+ version: z.ZodLiteral<1>;
165
+ include: z.ZodArray<z.ZodString, "many">;
166
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ version?: 1;
169
+ include?: string[];
170
+ exclude?: string[];
171
+ }, {
172
+ version?: 1;
173
+ include?: string[];
174
+ exclude?: string[];
175
+ }>>;
94
176
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
95
177
  }, "strip", z.ZodTypeAny, {
96
178
  account_id?: number;
97
179
  script_id?: number;
180
+ debug?: boolean;
98
181
  invoke_user_worker_ahead_of_assets?: boolean;
182
+ static_routing?: {
183
+ version?: 1;
184
+ include?: string[];
185
+ exclude?: string[];
186
+ };
99
187
  has_user_worker?: boolean;
100
188
  }, {
101
189
  account_id?: number;
102
190
  script_id?: number;
191
+ debug?: boolean;
103
192
  invoke_user_worker_ahead_of_assets?: boolean;
193
+ static_routing?: {
194
+ version?: 1;
195
+ include?: string[];
196
+ exclude?: string[];
197
+ };
104
198
  has_user_worker?: boolean;
105
199
  }>>;
106
- assetConfig: z.ZodOptional<z.ZodObject<{
200
+ assetConfig: z.ZodOptional<z.ZodObject<Omit<{
107
201
  account_id: z.ZodOptional<z.ZodNumber>;
108
202
  script_id: z.ZodOptional<z.ZodNumber>;
203
+ debug: z.ZodOptional<z.ZodBoolean>;
109
204
  compatibility_date: z.ZodOptional<z.ZodString>;
110
205
  compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
111
206
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
@@ -183,13 +278,20 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
183
278
  unset?: string[];
184
279
  }>;
185
280
  }>>;
186
- }, "strip", z.ZodTypeAny, {
187
- account_id?: number;
188
- script_id?: number;
189
- compatibility_date?: string;
190
- compatibility_flags?: string[];
191
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
192
- not_found_handling?: "none" | "single-page-application" | "404-page";
281
+ has_static_routing: z.ZodOptional<z.ZodBoolean>;
282
+ }, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
283
+ headers?: {
284
+ version?: 2;
285
+ rules?: Record<string, {
286
+ set?: Record<string, string>;
287
+ unset?: string[];
288
+ }>;
289
+ } | undefined;
290
+ debug?: boolean | undefined;
291
+ account_id?: number | undefined;
292
+ script_id?: number | undefined;
293
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
294
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
193
295
  redirects?: {
194
296
  version?: 1;
195
297
  staticRules?: Record<string, {
@@ -201,21 +303,21 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
201
303
  status?: number;
202
304
  to?: string;
203
305
  }>;
204
- };
306
+ } | undefined;
307
+ has_static_routing?: boolean | undefined;
308
+ }, {
205
309
  headers?: {
206
310
  version?: 2;
207
311
  rules?: Record<string, {
208
312
  set?: Record<string, string>;
209
313
  unset?: string[];
210
314
  }>;
211
- };
212
- }, {
213
- account_id?: number;
214
- script_id?: number;
215
- compatibility_date?: string;
216
- compatibility_flags?: string[];
217
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
218
- not_found_handling?: "none" | "single-page-application" | "404-page";
315
+ } | undefined;
316
+ debug?: boolean | undefined;
317
+ account_id?: number | undefined;
318
+ script_id?: number | undefined;
319
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
320
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
219
321
  redirects?: {
220
322
  version?: 1;
221
323
  staticRules?: Record<string, {
@@ -227,14 +329,8 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
227
329
  status?: number;
228
330
  to?: string;
229
331
  }>;
230
- };
231
- headers?: {
232
- version?: 2;
233
- rules?: Record<string, {
234
- set?: Record<string, string>;
235
- unset?: string[];
236
- }>;
237
- };
332
+ } | undefined;
333
+ has_static_routing?: boolean | undefined;
238
334
  }>>;
239
335
  }, "strip", z.ZodTypeAny, {
240
336
  directory: string;
@@ -243,16 +339,28 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
243
339
  routerConfig?: {
244
340
  account_id?: number;
245
341
  script_id?: number;
342
+ debug?: boolean;
246
343
  invoke_user_worker_ahead_of_assets?: boolean;
344
+ static_routing?: {
345
+ version?: 1;
346
+ include?: string[];
347
+ exclude?: string[];
348
+ };
247
349
  has_user_worker?: boolean;
248
350
  } | undefined;
249
351
  assetConfig?: {
250
- account_id?: number;
251
- script_id?: number;
252
- compatibility_date?: string;
253
- compatibility_flags?: string[];
254
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
255
- not_found_handling?: "none" | "single-page-application" | "404-page";
352
+ headers?: {
353
+ version?: 2;
354
+ rules?: Record<string, {
355
+ set?: Record<string, string>;
356
+ unset?: string[];
357
+ }>;
358
+ } | undefined;
359
+ debug?: boolean | undefined;
360
+ account_id?: number | undefined;
361
+ script_id?: number | undefined;
362
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
363
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
256
364
  redirects?: {
257
365
  version?: 1;
258
366
  staticRules?: Record<string, {
@@ -264,14 +372,8 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
264
372
  status?: number;
265
373
  to?: string;
266
374
  }>;
267
- };
268
- headers?: {
269
- version?: 2;
270
- rules?: Record<string, {
271
- set?: Record<string, string>;
272
- unset?: string[];
273
- }>;
274
- };
375
+ } | undefined;
376
+ has_static_routing?: boolean | undefined;
275
377
  } | undefined;
276
378
  }, {
277
379
  directory: string;
@@ -280,16 +382,28 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
280
382
  routerConfig?: {
281
383
  account_id?: number;
282
384
  script_id?: number;
385
+ debug?: boolean;
283
386
  invoke_user_worker_ahead_of_assets?: boolean;
387
+ static_routing?: {
388
+ version?: 1;
389
+ include?: string[];
390
+ exclude?: string[];
391
+ };
284
392
  has_user_worker?: boolean;
285
393
  } | undefined;
286
394
  assetConfig?: {
287
- account_id?: number;
288
- script_id?: number;
289
- compatibility_date?: string;
290
- compatibility_flags?: string[];
291
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
292
- not_found_handling?: "none" | "single-page-application" | "404-page";
395
+ headers?: {
396
+ version?: 2;
397
+ rules?: Record<string, {
398
+ set?: Record<string, string>;
399
+ unset?: string[];
400
+ }>;
401
+ } | undefined;
402
+ debug?: boolean | undefined;
403
+ account_id?: number | undefined;
404
+ script_id?: number | undefined;
405
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
406
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
293
407
  redirects?: {
294
408
  version?: 1;
295
409
  staticRules?: Record<string, {
@@ -301,16 +415,12 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
301
415
  status?: number;
302
416
  to?: string;
303
417
  }>;
304
- };
305
- headers?: {
306
- version?: 2;
307
- rules?: Record<string, {
308
- set?: Record<string, string>;
309
- unset?: string[];
310
- }>;
311
- };
418
+ } | undefined;
419
+ has_static_routing?: boolean | undefined;
312
420
  } | undefined;
313
421
  }>>;
422
+ compatibilityDate: z.ZodOptional<z.ZodString>;
423
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
314
424
  }, "strip", z.ZodTypeAny, {
315
425
  assets?: {
316
426
  directory: string;
@@ -319,16 +429,28 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
319
429
  routerConfig?: {
320
430
  account_id?: number;
321
431
  script_id?: number;
432
+ debug?: boolean;
322
433
  invoke_user_worker_ahead_of_assets?: boolean;
434
+ static_routing?: {
435
+ version?: 1;
436
+ include?: string[];
437
+ exclude?: string[];
438
+ };
323
439
  has_user_worker?: boolean;
324
440
  } | undefined;
325
441
  assetConfig?: {
326
- account_id?: number;
327
- script_id?: number;
328
- compatibility_date?: string;
329
- compatibility_flags?: string[];
330
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
331
- not_found_handling?: "none" | "single-page-application" | "404-page";
442
+ headers?: {
443
+ version?: 2;
444
+ rules?: Record<string, {
445
+ set?: Record<string, string>;
446
+ unset?: string[];
447
+ }>;
448
+ } | undefined;
449
+ debug?: boolean | undefined;
450
+ account_id?: number | undefined;
451
+ script_id?: number | undefined;
452
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
453
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
332
454
  redirects?: {
333
455
  version?: 1;
334
456
  staticRules?: Record<string, {
@@ -340,16 +462,12 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
340
462
  status?: number;
341
463
  to?: string;
342
464
  }>;
343
- };
344
- headers?: {
345
- version?: 2;
346
- rules?: Record<string, {
347
- set?: Record<string, string>;
348
- unset?: string[];
349
- }>;
350
- };
465
+ } | undefined;
466
+ has_static_routing?: boolean | undefined;
351
467
  } | undefined;
352
468
  } | undefined;
469
+ compatibilityDate?: string | undefined;
470
+ compatibilityFlags?: string[] | undefined;
353
471
  }, {
354
472
  assets?: {
355
473
  directory: string;
@@ -358,16 +476,28 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
358
476
  routerConfig?: {
359
477
  account_id?: number;
360
478
  script_id?: number;
479
+ debug?: boolean;
361
480
  invoke_user_worker_ahead_of_assets?: boolean;
481
+ static_routing?: {
482
+ version?: 1;
483
+ include?: string[];
484
+ exclude?: string[];
485
+ };
362
486
  has_user_worker?: boolean;
363
487
  } | undefined;
364
488
  assetConfig?: {
365
- account_id?: number;
366
- script_id?: number;
367
- compatibility_date?: string;
368
- compatibility_flags?: string[];
369
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
370
- not_found_handling?: "none" | "single-page-application" | "404-page";
489
+ headers?: {
490
+ version?: 2;
491
+ rules?: Record<string, {
492
+ set?: Record<string, string>;
493
+ unset?: string[];
494
+ }>;
495
+ } | undefined;
496
+ debug?: boolean | undefined;
497
+ account_id?: number | undefined;
498
+ script_id?: number | undefined;
499
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
500
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
371
501
  redirects?: {
372
502
  version?: 1;
373
503
  staticRules?: Record<string, {
@@ -379,16 +509,12 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
379
509
  status?: number;
380
510
  to?: string;
381
511
  }>;
382
- };
383
- headers?: {
384
- version?: 2;
385
- rules?: Record<string, {
386
- set?: Record<string, string>;
387
- unset?: string[];
388
- }>;
389
- };
512
+ } | undefined;
513
+ has_static_routing?: boolean | undefined;
390
514
  } | undefined;
391
515
  } | undefined;
516
+ compatibilityDate?: string | undefined;
517
+ compatibilityFlags?: string[] | undefined;
392
518
  }>;
393
519
 
394
520
  export declare type Awaitable<T> = T | Promise<T>;
@@ -399,6 +525,41 @@ export declare function base64Encode(value: string): string;
399
525
 
400
526
  export { BodyInit }
401
527
 
528
+ export declare const BROWSER_RENDERING_PLUGIN: Plugin<typeof BrowserRenderingOptionsSchema>;
529
+
530
+ export declare const BROWSER_RENDERING_PLUGIN_NAME = "browser-rendering";
531
+
532
+ export declare const BrowserRenderingOptionsSchema: z.ZodObject<{
533
+ browserRendering: z.ZodOptional<z.ZodObject<{
534
+ binding: z.ZodString;
535
+ mixedModeConnectionString: z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>;
536
+ }, "strip", z.ZodTypeAny, {
537
+ mixedModeConnectionString: URL & {
538
+ __brand: "MixedModeConnectionString";
539
+ };
540
+ binding: string;
541
+ }, {
542
+ mixedModeConnectionString: URL & {
543
+ __brand: "MixedModeConnectionString";
544
+ };
545
+ binding: string;
546
+ }>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ browserRendering?: {
549
+ mixedModeConnectionString: URL & {
550
+ __brand: "MixedModeConnectionString";
551
+ };
552
+ binding: string;
553
+ } | undefined;
554
+ }, {
555
+ browserRendering?: {
556
+ mixedModeConnectionString: URL & {
557
+ __brand: "MixedModeConnectionString";
558
+ };
559
+ binding: string;
560
+ } | undefined;
561
+ }>;
562
+
402
563
  /**
403
564
  * The Asset Manifest and Asset Reverse Map are used to map a request path to an asset.
404
565
  * 1. Hash path of request
@@ -486,6 +647,7 @@ export declare const CoreBindings: {
486
647
  readonly SERVICE_USER_ROUTE_PREFIX: "MINIFLARE_USER_ROUTE_";
487
648
  readonly SERVICE_USER_FALLBACK: "MINIFLARE_USER_FALLBACK";
488
649
  readonly TEXT_CUSTOM_SERVICE: "MINIFLARE_CUSTOM_SERVICE";
650
+ readonly IMAGES_SERVICE: "MINIFLARE_IMAGES_SERVICE";
489
651
  readonly TEXT_UPSTREAM_URL: "MINIFLARE_UPSTREAM_URL";
490
652
  readonly JSON_CF_BLOB: "CF_BLOB";
491
653
  readonly JSON_ROUTES: "MINIFLARE_ROUTES";
@@ -494,6 +656,8 @@ export declare const CoreBindings: {
494
656
  readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
495
657
  readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
496
658
  readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
659
+ readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
660
+ readonly LOG_REQUESTS: "LOG_REQUESTS";
497
661
  };
498
662
 
499
663
  export declare const CoreHeaders: {
@@ -515,29 +679,29 @@ export declare const CoreHeaders: {
515
679
 
516
680
  export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
517
681
  modules: z.ZodArray<z.ZodObject<{
518
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
682
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
519
683
  path: z.ZodEffects<z.ZodString, string, string>;
520
684
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
521
685
  }, "strip", z.ZodTypeAny, {
522
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
686
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
523
687
  path: string;
524
688
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
525
689
  }, {
526
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
690
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
527
691
  path: string;
528
692
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
529
693
  }>, "many">;
530
694
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
531
695
  }, "strip", z.ZodTypeAny, {
532
696
  modules: {
533
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
697
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
534
698
  path: string;
535
699
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
536
700
  }[];
537
701
  modulesRoot?: string | undefined;
538
702
  }, {
539
703
  modules: {
540
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
704
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
541
705
  path: string;
542
706
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
543
707
  }[];
@@ -547,15 +711,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
547
711
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
548
712
  modules: z.ZodOptional<z.ZodBoolean>;
549
713
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
550
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
714
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
551
715
  include: z.ZodArray<z.ZodString, "many">;
552
716
  fallthrough: z.ZodOptional<z.ZodBoolean>;
553
717
  }, "strip", z.ZodTypeAny, {
554
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
718
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
555
719
  include: string[];
556
720
  fallthrough?: boolean | undefined;
557
721
  }, {
558
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
722
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
559
723
  include: string[];
560
724
  fallthrough?: boolean | undefined;
561
725
  }>, "many">>;
@@ -565,7 +729,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
565
729
  scriptPath?: string | undefined;
566
730
  modules?: boolean | undefined;
567
731
  modulesRules?: {
568
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
732
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
569
733
  include: string[];
570
734
  fallthrough?: boolean | undefined;
571
735
  }[] | undefined;
@@ -575,7 +739,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
575
739
  scriptPath?: string | undefined;
576
740
  modules?: boolean | undefined;
577
741
  modulesRules?: {
578
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
742
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
579
743
  include: string[];
580
744
  fallthrough?: boolean | undefined;
581
745
  }[] | undefined;
@@ -584,15 +748,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
584
748
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
585
749
  modules: z.ZodOptional<z.ZodBoolean>;
586
750
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
587
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
751
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
588
752
  include: z.ZodArray<z.ZodString, "many">;
589
753
  fallthrough: z.ZodOptional<z.ZodBoolean>;
590
754
  }, "strip", z.ZodTypeAny, {
591
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
755
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
592
756
  include: string[];
593
757
  fallthrough?: boolean | undefined;
594
758
  }, {
595
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
759
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
596
760
  include: string[];
597
761
  fallthrough?: boolean | undefined;
598
762
  }>, "many">>;
@@ -601,7 +765,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
601
765
  scriptPath: string;
602
766
  modules?: boolean | undefined;
603
767
  modulesRules?: {
604
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
768
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
605
769
  include: string[];
606
770
  fallthrough?: boolean | undefined;
607
771
  }[] | undefined;
@@ -610,7 +774,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
610
774
  scriptPath: string;
611
775
  modules?: boolean | undefined;
612
776
  modulesRules?: {
613
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
777
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
614
778
  include: string[];
615
779
  fallthrough?: boolean | undefined;
616
780
  }[] | undefined;
@@ -620,6 +784,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
620
784
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
621
785
  compatibilityDate: z.ZodOptional<z.ZodString>;
622
786
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
787
+ unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
623
788
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
624
789
  bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
625
790
  wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
@@ -628,12 +793,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
628
793
  serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
629
794
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
630
795
  entrypoint: z.ZodOptional<z.ZodString>;
796
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
797
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_2, z.ZodTypeDef, MixedModeConnectionString_2>>;
631
798
  }, "strip", z.ZodTypeAny, {
632
799
  name: string | typeof kCurrentWorker;
633
800
  entrypoint?: string | undefined;
801
+ props?: Record<string, unknown> | undefined;
802
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
634
803
  }, {
635
804
  name: string | typeof kCurrentWorker;
636
805
  entrypoint?: string | undefined;
806
+ props?: Record<string, unknown> | undefined;
807
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
637
808
  }>, z.ZodObject<{
638
809
  network: z.ZodObject<{
639
810
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -787,12 +958,18 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
787
958
  outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
788
959
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
789
960
  entrypoint: z.ZodOptional<z.ZodString>;
961
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
962
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_2, z.ZodTypeDef, MixedModeConnectionString_2>>;
790
963
  }, "strip", z.ZodTypeAny, {
791
964
  name: string | typeof kCurrentWorker;
792
965
  entrypoint?: string | undefined;
966
+ props?: Record<string, unknown> | undefined;
967
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
793
968
  }, {
794
969
  name: string | typeof kCurrentWorker;
795
970
  entrypoint?: string | undefined;
971
+ props?: Record<string, unknown> | undefined;
972
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
796
973
  }>, z.ZodObject<{
797
974
  network: z.ZodObject<{
798
975
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -955,22 +1132,70 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
955
1132
  Router Worker)
956
1133
  */
957
1134
  hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
958
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
959
- }, "strip", z.ZodTypeAny, {
960
- name?: string | undefined;
961
- rootPath?: undefined;
962
- compatibilityDate?: string | undefined;
963
- compatibilityFlags?: string[] | undefined;
964
- routes?: string[] | undefined;
965
- bindings?: Record<string, Json> | undefined;
966
- wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
967
- textBlobBindings?: Record<string, string> | undefined;
968
- dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
969
- serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1135
+ tails: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
1136
+ name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
1137
+ entrypoint: z.ZodOptional<z.ZodString>;
1138
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1139
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_2, z.ZodTypeDef, MixedModeConnectionString_2>>;
1140
+ }, "strip", z.ZodTypeAny, {
970
1141
  name: string | typeof kCurrentWorker;
971
1142
  entrypoint?: string | undefined;
972
- } | {
973
- network: {
1143
+ props?: Record<string, unknown> | undefined;
1144
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1145
+ }, {
1146
+ name: string | typeof kCurrentWorker;
1147
+ entrypoint?: string | undefined;
1148
+ props?: Record<string, unknown> | undefined;
1149
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1150
+ }>, z.ZodObject<{
1151
+ network: z.ZodObject<{
1152
+ allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1153
+ deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1154
+ tlsOptions: z.ZodOptional<z.ZodObject<{
1155
+ keypair: z.ZodOptional<z.ZodObject<{
1156
+ privateKey: z.ZodOptional<z.ZodString>;
1157
+ certificateChain: z.ZodOptional<z.ZodString>;
1158
+ }, "strip", z.ZodTypeAny, {
1159
+ privateKey?: string | undefined;
1160
+ certificateChain?: string | undefined;
1161
+ }, {
1162
+ privateKey?: string | undefined;
1163
+ certificateChain?: string | undefined;
1164
+ }>>;
1165
+ requireClientCerts: z.ZodOptional<z.ZodBoolean>;
1166
+ trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
1167
+ trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1168
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
1169
+ readonly GOOD_DEFAULT: 0;
1170
+ readonly SSL3: 1;
1171
+ readonly TLS1DOT0: 2;
1172
+ readonly TLS1DOT1: 3;
1173
+ readonly TLS1DOT2: 4;
1174
+ readonly TLS1DOT3: 5;
1175
+ }>>;
1176
+ cipherList: z.ZodOptional<z.ZodString>;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ keypair?: {
1179
+ privateKey?: string | undefined;
1180
+ certificateChain?: string | undefined;
1181
+ } | undefined;
1182
+ requireClientCerts?: boolean | undefined;
1183
+ trustBrowserCas?: boolean | undefined;
1184
+ trustedCertificates?: string[] | undefined;
1185
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1186
+ cipherList?: string | undefined;
1187
+ }, {
1188
+ keypair?: {
1189
+ privateKey?: string | undefined;
1190
+ certificateChain?: string | undefined;
1191
+ } | undefined;
1192
+ requireClientCerts?: boolean | undefined;
1193
+ trustBrowserCas?: boolean | undefined;
1194
+ trustedCertificates?: string[] | undefined;
1195
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1196
+ cipherList?: string | undefined;
1197
+ }>>;
1198
+ }, "strip", z.ZodTypeAny, {
974
1199
  allow?: string[] | undefined;
975
1200
  deny?: string[] | undefined;
976
1201
  tlsOptions?: {
@@ -984,25 +1209,135 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
984
1209
  minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
985
1210
  cipherList?: string | undefined;
986
1211
  } | undefined;
987
- };
988
- } | {
989
- external: ExternalServer_2 & (ExternalServer_2 | undefined);
990
- } | {
991
- disk: {
992
- path: string;
993
- writable?: boolean | undefined;
994
- };
995
- } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
996
- wrappedBindings?: Record<string, string | {
997
- scriptName: string;
998
- entrypoint?: string | undefined;
999
- bindings?: Record<string, Json> | undefined;
1000
- }> | undefined;
1001
- outboundService?: string | typeof kCurrentWorker | {
1002
- name: string | typeof kCurrentWorker;
1003
- entrypoint?: string | undefined;
1004
- } | {
1005
- network: {
1212
+ }, {
1213
+ allow?: string[] | undefined;
1214
+ deny?: string[] | undefined;
1215
+ tlsOptions?: {
1216
+ keypair?: {
1217
+ privateKey?: string | undefined;
1218
+ certificateChain?: string | undefined;
1219
+ } | undefined;
1220
+ requireClientCerts?: boolean | undefined;
1221
+ trustBrowserCas?: boolean | undefined;
1222
+ trustedCertificates?: string[] | undefined;
1223
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1224
+ cipherList?: string | undefined;
1225
+ } | undefined;
1226
+ }>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ network: {
1229
+ allow?: string[] | undefined;
1230
+ deny?: string[] | undefined;
1231
+ tlsOptions?: {
1232
+ keypair?: {
1233
+ privateKey?: string | undefined;
1234
+ certificateChain?: string | undefined;
1235
+ } | undefined;
1236
+ requireClientCerts?: boolean | undefined;
1237
+ trustBrowserCas?: boolean | undefined;
1238
+ trustedCertificates?: string[] | undefined;
1239
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1240
+ cipherList?: string | undefined;
1241
+ } | undefined;
1242
+ };
1243
+ }, {
1244
+ network: {
1245
+ allow?: string[] | undefined;
1246
+ deny?: string[] | undefined;
1247
+ tlsOptions?: {
1248
+ keypair?: {
1249
+ privateKey?: string | undefined;
1250
+ certificateChain?: string | undefined;
1251
+ } | undefined;
1252
+ requireClientCerts?: boolean | undefined;
1253
+ trustBrowserCas?: boolean | undefined;
1254
+ trustedCertificates?: string[] | undefined;
1255
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1256
+ cipherList?: string | undefined;
1257
+ } | undefined;
1258
+ };
1259
+ }>, z.ZodObject<{
1260
+ external: z.ZodType<ExternalServer_2, z.ZodTypeDef, ExternalServer_2>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1263
+ }, {
1264
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1265
+ }>, z.ZodObject<{
1266
+ disk: z.ZodObject<{
1267
+ path: z.ZodString;
1268
+ writable: z.ZodOptional<z.ZodBoolean>;
1269
+ }, "strip", z.ZodTypeAny, {
1270
+ path: string;
1271
+ writable?: boolean | undefined;
1272
+ }, {
1273
+ path: string;
1274
+ writable?: boolean | undefined;
1275
+ }>;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ disk: {
1278
+ path: string;
1279
+ writable?: boolean | undefined;
1280
+ };
1281
+ }, {
1282
+ disk: {
1283
+ path: string;
1284
+ writable?: boolean | undefined;
1285
+ };
1286
+ }>, z.ZodType<(request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>, z.ZodTypeDef, (request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>>]>, "many">>;
1287
+ stripCfConnectingIp: z.ZodDefault<z.ZodBoolean>;
1288
+ }, "strip", z.ZodTypeAny, {
1289
+ stripCfConnectingIp: boolean;
1290
+ name?: string | undefined;
1291
+ rootPath?: undefined;
1292
+ compatibilityDate?: string | undefined;
1293
+ compatibilityFlags?: string[] | undefined;
1294
+ unsafeInspectorProxy?: boolean | undefined;
1295
+ routes?: string[] | undefined;
1296
+ bindings?: Record<string, Json> | undefined;
1297
+ wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1298
+ textBlobBindings?: Record<string, string> | undefined;
1299
+ dataBlobBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
1300
+ serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1301
+ name: string | typeof kCurrentWorker;
1302
+ entrypoint?: string | undefined;
1303
+ props?: Record<string, unknown> | undefined;
1304
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1305
+ } | {
1306
+ network: {
1307
+ allow?: string[] | undefined;
1308
+ deny?: string[] | undefined;
1309
+ tlsOptions?: {
1310
+ keypair?: {
1311
+ privateKey?: string | undefined;
1312
+ certificateChain?: string | undefined;
1313
+ } | undefined;
1314
+ requireClientCerts?: boolean | undefined;
1315
+ trustBrowserCas?: boolean | undefined;
1316
+ trustedCertificates?: string[] | undefined;
1317
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1318
+ cipherList?: string | undefined;
1319
+ } | undefined;
1320
+ };
1321
+ } | {
1322
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1323
+ } | {
1324
+ disk: {
1325
+ path: string;
1326
+ writable?: boolean | undefined;
1327
+ };
1328
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>)> | undefined;
1329
+ wrappedBindings?: Record<string, string | {
1330
+ scriptName: string;
1331
+ entrypoint?: string | undefined;
1332
+ bindings?: Record<string, Json> | undefined;
1333
+ }> | undefined;
1334
+ outboundService?: string | typeof kCurrentWorker | {
1335
+ name: string | typeof kCurrentWorker;
1336
+ entrypoint?: string | undefined;
1337
+ props?: Record<string, unknown> | undefined;
1338
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1339
+ } | {
1340
+ network: {
1006
1341
  allow?: string[] | undefined;
1007
1342
  deny?: string[] | undefined;
1008
1343
  tlsOptions?: {
@@ -1036,12 +1371,41 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1036
1371
  unsafeEvalBinding?: string | undefined;
1037
1372
  unsafeUseModuleFallbackService?: boolean | undefined;
1038
1373
  hasAssetsAndIsVitest?: boolean | undefined;
1039
- unsafeEnableAssetsRpc?: boolean | undefined;
1374
+ tails?: (string | typeof kCurrentWorker | {
1375
+ name: string | typeof kCurrentWorker;
1376
+ entrypoint?: string | undefined;
1377
+ props?: Record<string, unknown> | undefined;
1378
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1379
+ } | {
1380
+ network: {
1381
+ allow?: string[] | undefined;
1382
+ deny?: string[] | undefined;
1383
+ tlsOptions?: {
1384
+ keypair?: {
1385
+ privateKey?: string | undefined;
1386
+ certificateChain?: string | undefined;
1387
+ } | undefined;
1388
+ requireClientCerts?: boolean | undefined;
1389
+ trustBrowserCas?: boolean | undefined;
1390
+ trustedCertificates?: string[] | undefined;
1391
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1392
+ cipherList?: string | undefined;
1393
+ } | undefined;
1394
+ };
1395
+ } | {
1396
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1397
+ } | {
1398
+ disk: {
1399
+ path: string;
1400
+ writable?: boolean | undefined;
1401
+ };
1402
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
1040
1403
  }, {
1041
1404
  name?: string | undefined;
1042
1405
  rootPath?: string | undefined;
1043
1406
  compatibilityDate?: string | undefined;
1044
1407
  compatibilityFlags?: string[] | undefined;
1408
+ unsafeInspectorProxy?: boolean | undefined;
1045
1409
  routes?: string[] | undefined;
1046
1410
  bindings?: Record<string, Json> | undefined;
1047
1411
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1050,6 +1414,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1050
1414
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1051
1415
  name: string | typeof kCurrentWorker;
1052
1416
  entrypoint?: string | undefined;
1417
+ props?: Record<string, unknown> | undefined;
1418
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1053
1419
  } | {
1054
1420
  network: {
1055
1421
  allow?: string[] | undefined;
@@ -1082,6 +1448,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1082
1448
  outboundService?: string | typeof kCurrentWorker | {
1083
1449
  name: string | typeof kCurrentWorker;
1084
1450
  entrypoint?: string | undefined;
1451
+ props?: Record<string, unknown> | undefined;
1452
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1085
1453
  } | {
1086
1454
  network: {
1087
1455
  allow?: string[] | undefined;
@@ -1117,19 +1485,50 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1117
1485
  unsafeEvalBinding?: string | undefined;
1118
1486
  unsafeUseModuleFallbackService?: boolean | undefined;
1119
1487
  hasAssetsAndIsVitest?: boolean | undefined;
1120
- unsafeEnableAssetsRpc?: boolean | undefined;
1488
+ tails?: (string | typeof kCurrentWorker | {
1489
+ name: string | typeof kCurrentWorker;
1490
+ entrypoint?: string | undefined;
1491
+ props?: Record<string, unknown> | undefined;
1492
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1493
+ } | {
1494
+ network: {
1495
+ allow?: string[] | undefined;
1496
+ deny?: string[] | undefined;
1497
+ tlsOptions?: {
1498
+ keypair?: {
1499
+ privateKey?: string | undefined;
1500
+ certificateChain?: string | undefined;
1501
+ } | undefined;
1502
+ requireClientCerts?: boolean | undefined;
1503
+ trustBrowserCas?: boolean | undefined;
1504
+ trustedCertificates?: string[] | undefined;
1505
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1506
+ cipherList?: string | undefined;
1507
+ } | undefined;
1508
+ };
1509
+ } | {
1510
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1511
+ } | {
1512
+ disk: {
1513
+ path: string;
1514
+ writable?: boolean | undefined;
1515
+ };
1516
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
1517
+ stripCfConnectingIp?: boolean | undefined;
1121
1518
  }>>, ({
1122
1519
  modules: {
1123
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1520
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1124
1521
  path: string;
1125
1522
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1126
1523
  }[];
1127
1524
  modulesRoot?: string | undefined;
1128
1525
  } & {
1526
+ stripCfConnectingIp: boolean;
1129
1527
  name?: string | undefined;
1130
1528
  rootPath?: undefined;
1131
1529
  compatibilityDate?: string | undefined;
1132
1530
  compatibilityFlags?: string[] | undefined;
1531
+ unsafeInspectorProxy?: boolean | undefined;
1133
1532
  routes?: string[] | undefined;
1134
1533
  bindings?: Record<string, Json> | undefined;
1135
1534
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1138,6 +1537,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1138
1537
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1139
1538
  name: string | typeof kCurrentWorker;
1140
1539
  entrypoint?: string | undefined;
1540
+ props?: Record<string, unknown> | undefined;
1541
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1141
1542
  } | {
1142
1543
  network: {
1143
1544
  allow?: string[] | undefined;
@@ -1170,6 +1571,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1170
1571
  outboundService?: string | typeof kCurrentWorker | {
1171
1572
  name: string | typeof kCurrentWorker;
1172
1573
  entrypoint?: string | undefined;
1574
+ props?: Record<string, unknown> | undefined;
1575
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1173
1576
  } | {
1174
1577
  network: {
1175
1578
  allow?: string[] | undefined;
@@ -1205,22 +1608,52 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1205
1608
  unsafeEvalBinding?: string | undefined;
1206
1609
  unsafeUseModuleFallbackService?: boolean | undefined;
1207
1610
  hasAssetsAndIsVitest?: boolean | undefined;
1208
- unsafeEnableAssetsRpc?: boolean | undefined;
1611
+ tails?: (string | typeof kCurrentWorker | {
1612
+ name: string | typeof kCurrentWorker;
1613
+ entrypoint?: string | undefined;
1614
+ props?: Record<string, unknown> | undefined;
1615
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1616
+ } | {
1617
+ network: {
1618
+ allow?: string[] | undefined;
1619
+ deny?: string[] | undefined;
1620
+ tlsOptions?: {
1621
+ keypair?: {
1622
+ privateKey?: string | undefined;
1623
+ certificateChain?: string | undefined;
1624
+ } | undefined;
1625
+ requireClientCerts?: boolean | undefined;
1626
+ trustBrowserCas?: boolean | undefined;
1627
+ trustedCertificates?: string[] | undefined;
1628
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1629
+ cipherList?: string | undefined;
1630
+ } | undefined;
1631
+ };
1632
+ } | {
1633
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1634
+ } | {
1635
+ disk: {
1636
+ path: string;
1637
+ writable?: boolean | undefined;
1638
+ };
1639
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
1209
1640
  }) | ({
1210
1641
  script: string;
1211
1642
  scriptPath?: string | undefined;
1212
1643
  modules?: boolean | undefined;
1213
1644
  modulesRules?: {
1214
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1645
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1215
1646
  include: string[];
1216
1647
  fallthrough?: boolean | undefined;
1217
1648
  }[] | undefined;
1218
1649
  modulesRoot?: string | undefined;
1219
1650
  } & {
1651
+ stripCfConnectingIp: boolean;
1220
1652
  name?: string | undefined;
1221
1653
  rootPath?: undefined;
1222
1654
  compatibilityDate?: string | undefined;
1223
1655
  compatibilityFlags?: string[] | undefined;
1656
+ unsafeInspectorProxy?: boolean | undefined;
1224
1657
  routes?: string[] | undefined;
1225
1658
  bindings?: Record<string, Json> | undefined;
1226
1659
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1229,6 +1662,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1229
1662
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1230
1663
  name: string | typeof kCurrentWorker;
1231
1664
  entrypoint?: string | undefined;
1665
+ props?: Record<string, unknown> | undefined;
1666
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1232
1667
  } | {
1233
1668
  network: {
1234
1669
  allow?: string[] | undefined;
@@ -1261,6 +1696,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1261
1696
  outboundService?: string | typeof kCurrentWorker | {
1262
1697
  name: string | typeof kCurrentWorker;
1263
1698
  entrypoint?: string | undefined;
1699
+ props?: Record<string, unknown> | undefined;
1700
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1264
1701
  } | {
1265
1702
  network: {
1266
1703
  allow?: string[] | undefined;
@@ -1296,21 +1733,51 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1296
1733
  unsafeEvalBinding?: string | undefined;
1297
1734
  unsafeUseModuleFallbackService?: boolean | undefined;
1298
1735
  hasAssetsAndIsVitest?: boolean | undefined;
1299
- unsafeEnableAssetsRpc?: boolean | undefined;
1736
+ tails?: (string | typeof kCurrentWorker | {
1737
+ name: string | typeof kCurrentWorker;
1738
+ entrypoint?: string | undefined;
1739
+ props?: Record<string, unknown> | undefined;
1740
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1741
+ } | {
1742
+ network: {
1743
+ allow?: string[] | undefined;
1744
+ deny?: string[] | undefined;
1745
+ tlsOptions?: {
1746
+ keypair?: {
1747
+ privateKey?: string | undefined;
1748
+ certificateChain?: string | undefined;
1749
+ } | undefined;
1750
+ requireClientCerts?: boolean | undefined;
1751
+ trustBrowserCas?: boolean | undefined;
1752
+ trustedCertificates?: string[] | undefined;
1753
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1754
+ cipherList?: string | undefined;
1755
+ } | undefined;
1756
+ };
1757
+ } | {
1758
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1759
+ } | {
1760
+ disk: {
1761
+ path: string;
1762
+ writable?: boolean | undefined;
1763
+ };
1764
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
1300
1765
  }) | ({
1301
1766
  scriptPath: string;
1302
1767
  modules?: boolean | undefined;
1303
1768
  modulesRules?: {
1304
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1769
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1305
1770
  include: string[];
1306
1771
  fallthrough?: boolean | undefined;
1307
1772
  }[] | undefined;
1308
1773
  modulesRoot?: string | undefined;
1309
1774
  } & {
1775
+ stripCfConnectingIp: boolean;
1310
1776
  name?: string | undefined;
1311
1777
  rootPath?: undefined;
1312
1778
  compatibilityDate?: string | undefined;
1313
1779
  compatibilityFlags?: string[] | undefined;
1780
+ unsafeInspectorProxy?: boolean | undefined;
1314
1781
  routes?: string[] | undefined;
1315
1782
  bindings?: Record<string, Json> | undefined;
1316
1783
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1319,6 +1786,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1319
1786
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1320
1787
  name: string | typeof kCurrentWorker;
1321
1788
  entrypoint?: string | undefined;
1789
+ props?: Record<string, unknown> | undefined;
1790
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1322
1791
  } | {
1323
1792
  network: {
1324
1793
  allow?: string[] | undefined;
@@ -1351,6 +1820,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1351
1820
  outboundService?: string | typeof kCurrentWorker | {
1352
1821
  name: string | typeof kCurrentWorker;
1353
1822
  entrypoint?: string | undefined;
1823
+ props?: Record<string, unknown> | undefined;
1824
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1354
1825
  } | {
1355
1826
  network: {
1356
1827
  allow?: string[] | undefined;
@@ -1386,10 +1857,38 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1386
1857
  unsafeEvalBinding?: string | undefined;
1387
1858
  unsafeUseModuleFallbackService?: boolean | undefined;
1388
1859
  hasAssetsAndIsVitest?: boolean | undefined;
1389
- unsafeEnableAssetsRpc?: boolean | undefined;
1860
+ tails?: (string | typeof kCurrentWorker | {
1861
+ name: string | typeof kCurrentWorker;
1862
+ entrypoint?: string | undefined;
1863
+ props?: Record<string, unknown> | undefined;
1864
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1865
+ } | {
1866
+ network: {
1867
+ allow?: string[] | undefined;
1868
+ deny?: string[] | undefined;
1869
+ tlsOptions?: {
1870
+ keypair?: {
1871
+ privateKey?: string | undefined;
1872
+ certificateChain?: string | undefined;
1873
+ } | undefined;
1874
+ requireClientCerts?: boolean | undefined;
1875
+ trustBrowserCas?: boolean | undefined;
1876
+ trustedCertificates?: string[] | undefined;
1877
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
1878
+ cipherList?: string | undefined;
1879
+ } | undefined;
1880
+ };
1881
+ } | {
1882
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
1883
+ } | {
1884
+ disk: {
1885
+ path: string;
1886
+ writable?: boolean | undefined;
1887
+ };
1888
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
1390
1889
  }), ({
1391
1890
  modules: {
1392
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1891
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1393
1892
  path: string;
1394
1893
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1395
1894
  }[];
@@ -1399,7 +1898,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1399
1898
  scriptPath?: string | undefined;
1400
1899
  modules?: boolean | undefined;
1401
1900
  modulesRules?: {
1402
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1901
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1403
1902
  include: string[];
1404
1903
  fallthrough?: boolean | undefined;
1405
1904
  }[] | undefined;
@@ -1408,7 +1907,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1408
1907
  scriptPath: string;
1409
1908
  modules?: boolean | undefined;
1410
1909
  modulesRules?: {
1411
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1910
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1412
1911
  include: string[];
1413
1912
  fallthrough?: boolean | undefined;
1414
1913
  }[] | undefined;
@@ -1418,6 +1917,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1418
1917
  rootPath?: string | undefined;
1419
1918
  compatibilityDate?: string | undefined;
1420
1919
  compatibilityFlags?: string[] | undefined;
1920
+ unsafeInspectorProxy?: boolean | undefined;
1421
1921
  routes?: string[] | undefined;
1422
1922
  bindings?: Record<string, Json> | undefined;
1423
1923
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1426,6 +1926,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1426
1926
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1427
1927
  name: string | typeof kCurrentWorker;
1428
1928
  entrypoint?: string | undefined;
1929
+ props?: Record<string, unknown> | undefined;
1930
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1429
1931
  } | {
1430
1932
  network: {
1431
1933
  allow?: string[] | undefined;
@@ -1458,6 +1960,8 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1458
1960
  outboundService?: string | typeof kCurrentWorker | {
1459
1961
  name: string | typeof kCurrentWorker;
1460
1962
  entrypoint?: string | undefined;
1963
+ props?: Record<string, unknown> | undefined;
1964
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
1461
1965
  } | {
1462
1966
  network: {
1463
1967
  allow?: string[] | undefined;
@@ -1493,7 +1997,36 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1493
1997
  unsafeEvalBinding?: string | undefined;
1494
1998
  unsafeUseModuleFallbackService?: boolean | undefined;
1495
1999
  hasAssetsAndIsVitest?: boolean | undefined;
1496
- unsafeEnableAssetsRpc?: boolean | undefined;
2000
+ tails?: (string | typeof kCurrentWorker | {
2001
+ name: string | typeof kCurrentWorker;
2002
+ entrypoint?: string | undefined;
2003
+ props?: Record<string, unknown> | undefined;
2004
+ mixedModeConnectionString?: MixedModeConnectionString_2 | undefined;
2005
+ } | {
2006
+ network: {
2007
+ allow?: string[] | undefined;
2008
+ deny?: string[] | undefined;
2009
+ tlsOptions?: {
2010
+ keypair?: {
2011
+ privateKey?: string | undefined;
2012
+ certificateChain?: string | undefined;
2013
+ } | undefined;
2014
+ requireClientCerts?: boolean | undefined;
2015
+ trustBrowserCas?: boolean | undefined;
2016
+ trustedCertificates?: string[] | undefined;
2017
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
2018
+ cipherList?: string | undefined;
2019
+ } | undefined;
2020
+ };
2021
+ } | {
2022
+ external: ExternalServer_2 & (ExternalServer_2 | undefined);
2023
+ } | {
2024
+ disk: {
2025
+ path: string;
2026
+ writable?: boolean | undefined;
2027
+ };
2028
+ } | ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>))[] | undefined;
2029
+ stripCfConnectingIp?: boolean | undefined;
1497
2030
  }>;
1498
2031
 
1499
2032
  export declare const CoreSharedOptionsSchema: z.ZodObject<{
@@ -1515,8 +2048,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1515
2048
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
1516
2049
  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>>>;
1517
2050
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
1518
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
2051
+ unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
2052
+ logRequests: z.ZodDefault<z.ZodBoolean>;
1519
2053
  }, "strip", z.ZodTypeAny, {
2054
+ logRequests: boolean;
1520
2055
  rootPath?: undefined;
1521
2056
  host?: string | undefined;
1522
2057
  port?: number | undefined;
@@ -1535,7 +2070,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1535
2070
  unsafeProxySharedSecret?: string | undefined;
1536
2071
  unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1537
2072
  unsafeStickyBlobs?: boolean | undefined;
1538
- unsafeEnableAssetsRpc?: boolean | undefined;
2073
+ unsafeTriggerHandlers?: boolean | undefined;
1539
2074
  }, {
1540
2075
  rootPath?: string | undefined;
1541
2076
  host?: string | undefined;
@@ -1555,7 +2090,8 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1555
2090
  unsafeProxySharedSecret?: string | undefined;
1556
2091
  unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1557
2092
  unsafeStickyBlobs?: boolean | undefined;
1558
- unsafeEnableAssetsRpc?: boolean | undefined;
2093
+ unsafeTriggerHandlers?: boolean | undefined;
2094
+ logRequests?: boolean | undefined;
1559
2095
  }>;
1560
2096
 
1561
2097
  export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
@@ -1571,11 +2107,26 @@ export declare const D1_PLUGIN: Plugin<typeof D1OptionsSchema, typeof D1SharedOp
1571
2107
  export declare const D1_PLUGIN_NAME = "d1";
1572
2108
 
1573
2109
  export declare const D1OptionsSchema: z.ZodObject<{
1574
- d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
2110
+ d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodRecord<z.ZodString, z.ZodObject<{
2111
+ id: z.ZodString;
2112
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
2113
+ }, "strip", z.ZodTypeAny, {
2114
+ id: string;
2115
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2116
+ }, {
2117
+ id: string;
2118
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2119
+ }>>, z.ZodArray<z.ZodString, "many">]>>;
1575
2120
  }, "strip", z.ZodTypeAny, {
1576
- d1Databases?: string[] | Record<string, string> | undefined;
2121
+ d1Databases?: string[] | Record<string, string> | Record<string, {
2122
+ id: string;
2123
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2124
+ }> | undefined;
1577
2125
  }, {
1578
- d1Databases?: string[] | Record<string, string> | undefined;
2126
+ d1Databases?: string[] | Record<string, string> | Record<string, {
2127
+ id: string;
2128
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2129
+ }> | undefined;
1579
2130
  }>;
1580
2131
 
1581
2132
  export declare const D1SharedOptionsSchema: z.ZodObject<{
@@ -1607,8 +2158,13 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
1607
2158
  export declare interface DiskDirectory {
1608
2159
  path?: string;
1609
2160
  writable?: boolean;
2161
+ allowDotfiles?: boolean;
1610
2162
  }
1611
2163
 
2164
+ export declare const DISPATCH_NAMESPACE_PLUGIN: Plugin<typeof DispatchNamespaceOptionsSchema>;
2165
+
2166
+ export declare const DISPATCH_NAMESPACE_PLUGIN_NAME = "dispatch-namespace";
2167
+
1612
2168
  export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
1613
2169
 
1614
2170
  /**
@@ -1645,6 +2201,29 @@ export declare class DispatchFetchDispatcher extends undici.Dispatcher {
1645
2201
  get isMockActive(): boolean;
1646
2202
  }
1647
2203
 
2204
+ export declare const DispatchNamespaceOptionsSchema: z.ZodObject<{
2205
+ dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2206
+ namespace: z.ZodString;
2207
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
2208
+ }, "strip", z.ZodTypeAny, {
2209
+ namespace: string;
2210
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2211
+ }, {
2212
+ namespace: string;
2213
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2214
+ }>>>;
2215
+ }, "strip", z.ZodTypeAny, {
2216
+ dispatchNamespaces?: Record<string, {
2217
+ namespace: string;
2218
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2219
+ }> | undefined;
2220
+ }, {
2221
+ dispatchNamespaces?: Record<string, {
2222
+ namespace: string;
2223
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2224
+ }> | undefined;
2225
+ }>;
2226
+
1648
2227
  export declare const DURABLE_OBJECTS_PLUGIN: Plugin<typeof DurableObjectsOptionsSchema, typeof DurableObjectsSharedOptionsSchema>;
1649
2228
 
1650
2229
  export declare const DURABLE_OBJECTS_PLUGIN_NAME = "do";
@@ -1664,18 +2243,21 @@ export declare const DurableObjectsOptionsSchema: z.ZodObject<{
1664
2243
  useSQLite: z.ZodOptional<z.ZodBoolean>;
1665
2244
  unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kUnsafeEphemeralUniqueKey>]>>;
1666
2245
  unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
2246
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
1667
2247
  }, "strip", z.ZodTypeAny, {
1668
2248
  className: string;
1669
2249
  scriptName?: string | undefined;
1670
2250
  useSQLite?: boolean | undefined;
1671
2251
  unsafeUniqueKey?: string | typeof kUnsafeEphemeralUniqueKey | undefined;
1672
2252
  unsafePreventEviction?: boolean | undefined;
2253
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
1673
2254
  }, {
1674
2255
  className: string;
1675
2256
  scriptName?: string | undefined;
1676
2257
  useSQLite?: boolean | undefined;
1677
2258
  unsafeUniqueKey?: string | typeof kUnsafeEphemeralUniqueKey | undefined;
1678
2259
  unsafePreventEviction?: boolean | undefined;
2260
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
1679
2261
  }>]>>>;
1680
2262
  }, "strip", z.ZodTypeAny, {
1681
2263
  durableObjects?: Record<string, string | {
@@ -1684,6 +2266,7 @@ export declare const DurableObjectsOptionsSchema: z.ZodObject<{
1684
2266
  useSQLite?: boolean | undefined;
1685
2267
  unsafeUniqueKey?: string | typeof kUnsafeEphemeralUniqueKey | undefined;
1686
2268
  unsafePreventEviction?: boolean | undefined;
2269
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
1687
2270
  }> | undefined;
1688
2271
  }, {
1689
2272
  durableObjects?: Record<string, string | {
@@ -1692,6 +2275,7 @@ export declare const DurableObjectsOptionsSchema: z.ZodObject<{
1692
2275
  useSQLite?: boolean | undefined;
1693
2276
  unsafeUniqueKey?: string | typeof kUnsafeEphemeralUniqueKey | undefined;
1694
2277
  unsafePreventEviction?: boolean | undefined;
2278
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
1695
2279
  }> | undefined;
1696
2280
  }>;
1697
2281
 
@@ -1703,6 +2287,84 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
1703
2287
  durableObjectsPersist?: string | boolean | undefined;
1704
2288
  }>;
1705
2289
 
2290
+ export declare const EMAIL_PLUGIN: Plugin<typeof EmailOptionsSchema>;
2291
+
2292
+ export declare const EMAIL_PLUGIN_NAME = "email";
2293
+
2294
+ export declare const EmailOptionsSchema: z.ZodObject<{
2295
+ email: z.ZodOptional<z.ZodObject<{
2296
+ send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
2297
+ name: z.ZodString;
2298
+ }, "strip", z.ZodTypeAny, {
2299
+ name: string;
2300
+ }, {
2301
+ name: string;
2302
+ }>, z.ZodUnion<[z.ZodObject<{
2303
+ destination_address: z.ZodOptional<z.ZodString>;
2304
+ allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
2305
+ }, "strip", z.ZodTypeAny, {
2306
+ destination_address?: string | undefined;
2307
+ allowed_destination_addresses?: undefined;
2308
+ }, {
2309
+ destination_address?: string | undefined;
2310
+ allowed_destination_addresses?: undefined;
2311
+ }>, z.ZodObject<{
2312
+ allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2313
+ destination_address: z.ZodOptional<z.ZodNever>;
2314
+ }, "strip", z.ZodTypeAny, {
2315
+ allowed_destination_addresses?: string[] | undefined;
2316
+ destination_address?: undefined;
2317
+ }, {
2318
+ allowed_destination_addresses?: string[] | undefined;
2319
+ destination_address?: undefined;
2320
+ }>]>>, "many">>;
2321
+ }, "strip", z.ZodTypeAny, {
2322
+ send_email?: ({
2323
+ name: string;
2324
+ } & ({
2325
+ destination_address?: string | undefined;
2326
+ allowed_destination_addresses?: undefined;
2327
+ } | {
2328
+ allowed_destination_addresses?: string[] | undefined;
2329
+ destination_address?: undefined;
2330
+ }))[] | undefined;
2331
+ }, {
2332
+ send_email?: ({
2333
+ name: string;
2334
+ } & ({
2335
+ destination_address?: string | undefined;
2336
+ allowed_destination_addresses?: undefined;
2337
+ } | {
2338
+ allowed_destination_addresses?: string[] | undefined;
2339
+ destination_address?: undefined;
2340
+ }))[] | undefined;
2341
+ }>>;
2342
+ }, "strip", z.ZodTypeAny, {
2343
+ email?: {
2344
+ send_email?: ({
2345
+ name: string;
2346
+ } & ({
2347
+ destination_address?: string | undefined;
2348
+ allowed_destination_addresses?: undefined;
2349
+ } | {
2350
+ allowed_destination_addresses?: string[] | undefined;
2351
+ destination_address?: undefined;
2352
+ }))[] | undefined;
2353
+ } | undefined;
2354
+ }, {
2355
+ email?: {
2356
+ send_email?: ({
2357
+ name: string;
2358
+ } & ({
2359
+ destination_address?: string | undefined;
2360
+ allowed_destination_addresses?: undefined;
2361
+ } | {
2362
+ allowed_destination_addresses?: string[] | undefined;
2363
+ destination_address?: undefined;
2364
+ }))[] | undefined;
2365
+ } | undefined;
2366
+ }>;
2367
+
1706
2368
  /* Excluded from this release type: _enableControlEndpoints */
1707
2369
 
1708
2370
  export declare function encodeSitesKey(key: string): string;
@@ -1748,7 +2410,7 @@ export declare interface ExternalServer_Tcp {
1748
2410
  declare function fetch_2(input: RequestInfo, init?: RequestInit_2 | Request_2): Promise<Response_2>;
1749
2411
  export { fetch_2 as fetch }
1750
2412
 
1751
- export { File }
2413
+ export { File_2 as File }
1752
2414
 
1753
2415
  export declare function _forceColour(enabled?: boolean): void;
1754
2416
 
@@ -1856,6 +2518,33 @@ export declare const HyperdriveInputOptionsSchema: z.ZodObject<{
1856
2518
 
1857
2519
  export declare const HyperdriveSchema: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodType<URL_2, z.ZodTypeDef, URL_2>]>, URL_2, string | URL_2>;
1858
2520
 
2521
+ export declare const IMAGES_PLUGIN: Plugin<typeof ImagesOptionsSchema>;
2522
+
2523
+ export declare const IMAGES_PLUGIN_NAME = "images";
2524
+
2525
+ export declare const ImagesOptionsSchema: z.ZodObject<{
2526
+ images: z.ZodOptional<z.ZodObject<{
2527
+ binding: z.ZodString;
2528
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
2529
+ }, "strip", z.ZodTypeAny, {
2530
+ binding: string;
2531
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2532
+ }, {
2533
+ binding: string;
2534
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2535
+ }>>;
2536
+ }, "strip", z.ZodTypeAny, {
2537
+ images?: {
2538
+ binding: string;
2539
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2540
+ } | undefined;
2541
+ }, {
2542
+ images?: {
2543
+ binding: string;
2544
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2545
+ } | undefined;
2546
+ }>;
2547
+
1859
2548
  export declare interface InclusiveRange {
1860
2549
  start: number;
1861
2550
  end: number;
@@ -1910,6 +2599,8 @@ declare const kSend: unique symbol;
1910
2599
 
1911
2600
  export declare const kUnsafeEphemeralUniqueKey: unique symbol;
1912
2601
 
2602
+ export declare const KV_NAMESPACE_OBJECT_CLASS_NAME = "KVNamespaceObject";
2603
+
1913
2604
  export declare const KV_PLUGIN: Plugin<typeof KVOptionsSchema, typeof KVSharedOptionsSchema>;
1914
2605
 
1915
2606
  export declare const KV_PLUGIN_NAME = "kv";
@@ -1926,22 +2617,38 @@ export declare const KVLimits: {
1926
2617
  readonly MAX_VALUE_SIZE: number;
1927
2618
  readonly MAX_VALUE_SIZE_TEST: 1024;
1928
2619
  readonly MAX_METADATA_SIZE: 1024;
2620
+ readonly MAX_BULK_SIZE: number;
1929
2621
  };
1930
2622
 
1931
2623
  export declare const kVoid: unique symbol;
1932
2624
 
1933
2625
  export declare const KVOptionsSchema: z.ZodObject<{
1934
- kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
2626
+ kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodRecord<z.ZodString, z.ZodObject<{
2627
+ id: z.ZodString;
2628
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
2629
+ }, "strip", z.ZodTypeAny, {
2630
+ id: string;
2631
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2632
+ }, {
2633
+ id: string;
2634
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2635
+ }>>, z.ZodArray<z.ZodString, "many">]>>;
1935
2636
  sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1936
2637
  siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1937
2638
  siteExclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1938
2639
  }, "strip", z.ZodTypeAny, {
1939
- kvNamespaces?: string[] | Record<string, string> | undefined;
2640
+ kvNamespaces?: string[] | Record<string, string> | Record<string, {
2641
+ id: string;
2642
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2643
+ }> | undefined;
1940
2644
  sitePath?: string | undefined;
1941
2645
  siteInclude?: string[] | undefined;
1942
2646
  siteExclude?: string[] | undefined;
1943
2647
  }, {
1944
- kvNamespaces?: string[] | Record<string, string> | undefined;
2648
+ kvNamespaces?: string[] | Record<string, string> | Record<string, {
2649
+ id: string;
2650
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
2651
+ }> | undefined;
1945
2652
  sitePath?: string | undefined;
1946
2653
  siteInclude?: string[] | undefined;
1947
2654
  siteExclude?: string[] | undefined;
@@ -2012,6 +2719,8 @@ export declare interface MatcherRegExps {
2012
2719
 
2013
2720
  export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
2014
2721
 
2722
+ export declare const MAX_BULK_GET_KEYS = 100;
2723
+
2015
2724
  export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
2016
2725
 
2017
2726
  export declare function maybeParseURL(url: Persistence): URL | undefined;
@@ -2049,6 +2758,17 @@ export declare class Miniflare {
2049
2758
  getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
2050
2759
  getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
2051
2760
  getKVNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
2761
+ getSecretsStoreSecretAPI(bindingName: string, workerName?: string): Promise<() => {
2762
+ create: (value: string) => Promise<string>;
2763
+ update: (value: string, id: string) => Promise<string>;
2764
+ duplicate: (id: string, newName: string) => Promise<string>;
2765
+ delete: (id: string) => Promise<void>;
2766
+ list: () => Promise<KVNamespaceListKey<{
2767
+ uuid: string;
2768
+ }, string>[]>;
2769
+ get: (id: string) => Promise<string>;
2770
+ }>;
2771
+ getSecretsStoreSecret(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
2052
2772
  getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
2053
2773
  getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
2054
2774
  /* Excluded from this release type: _getInternalDurableObjectNamespace */
@@ -2059,7 +2779,7 @@ export declare class Miniflare {
2059
2779
  export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
2060
2780
  }
2061
2781
 
2062
- export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC";
2782
+ export declare type MiniflareCoreErrorCode = "ERR_RUNTIME_FAILURE" | "ERR_DISPOSED" | "ERR_MODULE_PARSE" | "ERR_MODULE_STRING_SCRIPT" | "ERR_MODULE_DYNAMIC_SPEC" | "ERR_MODULE_RULE" | "ERR_PERSIST_UNSUPPORTED" | "ERR_PERSIST_REMOTE_UNAUTHENTICATED" | "ERR_PERSIST_REMOTE_UNSUPPORTED" | "ERR_FUTURE_COMPATIBILITY_DATE" | "ERR_NO_WORKERS" | "ERR_VALIDATION" | "ERR_DUPLICATE_NAME" | "ERR_DIFFERENT_STORAGE_BACKEND" | "ERR_DIFFERENT_UNIQUE_KEYS" | "ERR_DIFFERENT_PREVENT_EVICTION" | "ERR_MULTIPLE_OUTBOUNDS" | "ERR_INVALID_WRAPPED" | "ERR_CYCLIC" | "ERR_MISSING_INSPECTOR_PROXY_PORT";
2063
2783
 
2064
2784
  export declare class MiniflareError<Code extends string | number = string | number> extends Error {
2065
2785
  readonly code: Code;
@@ -2071,18 +2791,34 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
2071
2791
  workers: WorkerOptions[];
2072
2792
  });
2073
2793
 
2794
+ export declare function mixedModeClientWorker(mixedModeConnectionString: MixedModeConnectionString, binding: string): {
2795
+ compatibilityDate: string;
2796
+ modules: {
2797
+ name: string;
2798
+ esModule: string;
2799
+ }[];
2800
+ bindings: {
2801
+ name: string;
2802
+ text: string;
2803
+ }[];
2804
+ };
2805
+
2806
+ export declare type MixedModeConnectionString = URL & {
2807
+ __brand: "MixedModeConnectionString";
2808
+ };
2809
+
2074
2810
  export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
2075
2811
 
2076
2812
  export declare const ModuleDefinitionSchema: z.ZodObject<{
2077
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2813
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2078
2814
  path: z.ZodEffects<z.ZodString, string, string>;
2079
2815
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2080
2816
  }, "strip", z.ZodTypeAny, {
2081
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2817
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2082
2818
  path: string;
2083
2819
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2084
2820
  }, {
2085
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2821
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2086
2822
  path: string;
2087
2823
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2088
2824
  }>;
@@ -2090,22 +2826,22 @@ export declare const ModuleDefinitionSchema: z.ZodObject<{
2090
2826
  export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
2091
2827
 
2092
2828
  export declare const ModuleRuleSchema: z.ZodObject<{
2093
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2829
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2094
2830
  include: z.ZodArray<z.ZodString, "many">;
2095
2831
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2096
2832
  }, "strip", z.ZodTypeAny, {
2097
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2833
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2098
2834
  include: string[];
2099
2835
  fallthrough?: boolean | undefined;
2100
2836
  }, {
2101
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2837
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2102
2838
  include: string[];
2103
2839
  fallthrough?: boolean | undefined;
2104
2840
  }>;
2105
2841
 
2106
2842
  export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
2107
2843
 
2108
- export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2844
+ export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2109
2845
 
2110
2846
  export declare class Mutex {
2111
2847
  private locked;
@@ -2118,9 +2854,20 @@ export declare class Mutex {
2118
2854
  drained(): Promise<void>;
2119
2855
  }
2120
2856
 
2121
- export declare function namespaceEntries(namespaces?: Record<string, string> | string[]): [bindingName: string, id: string][];
2857
+ export declare function namespaceEntries(namespaces?: Record<string, string | {
2858
+ id: string;
2859
+ mixedModeConnectionString?: MixedModeConnectionString;
2860
+ }> | string[]): [
2861
+ bindingName: string,
2862
+ {
2863
+ id: string;
2864
+ mixedModeConnectionString?: MixedModeConnectionString;
2865
+ }
2866
+ ][];
2122
2867
 
2123
- export declare function namespaceKeys(namespaces?: Record<string, string> | string[]): string[];
2868
+ export declare function namespaceKeys(namespaces?: Record<string, string | {
2869
+ id: string;
2870
+ }> | string[]): string[];
2124
2871
 
2125
2872
  export declare interface Network {
2126
2873
  allow?: string[];
@@ -2160,7 +2907,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
2160
2907
 
2161
2908
  export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
2162
2909
 
2163
- export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion9<T>;
2910
+ export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion14<T>;
2911
+
2912
+ export declare type OverloadUnion10<T> = T extends {
2913
+ (...args: infer P1): infer R1;
2914
+ (...args: infer P2): infer R2;
2915
+ (...args: infer P3): infer R3;
2916
+ (...args: infer P4): infer R4;
2917
+ (...args: infer P5): infer R5;
2918
+ (...args: infer P6): infer R6;
2919
+ (...args: infer P7): infer R7;
2920
+ (...args: infer P8): infer R8;
2921
+ (...args: infer P9): infer R9;
2922
+ (...args: infer P10): infer R10;
2923
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) : OverloadUnion9<T>;
2924
+
2925
+ export declare type OverloadUnion11<T> = T extends {
2926
+ (...args: infer P1): infer R1;
2927
+ (...args: infer P2): infer R2;
2928
+ (...args: infer P3): infer R3;
2929
+ (...args: infer P4): infer R4;
2930
+ (...args: infer P5): infer R5;
2931
+ (...args: infer P6): infer R6;
2932
+ (...args: infer P7): infer R7;
2933
+ (...args: infer P8): infer R8;
2934
+ (...args: infer P9): infer R9;
2935
+ (...args: infer P10): infer R10;
2936
+ (...args: infer P11): infer R11;
2937
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) : OverloadUnion10<T>;
2938
+
2939
+ export declare type OverloadUnion12<T> = T extends {
2940
+ (...args: infer P1): infer R1;
2941
+ (...args: infer P2): infer R2;
2942
+ (...args: infer P3): infer R3;
2943
+ (...args: infer P4): infer R4;
2944
+ (...args: infer P5): infer R5;
2945
+ (...args: infer P6): infer R6;
2946
+ (...args: infer P7): infer R7;
2947
+ (...args: infer P8): infer R8;
2948
+ (...args: infer P9): infer R9;
2949
+ (...args: infer P10): infer R10;
2950
+ (...args: infer P11): infer R11;
2951
+ (...args: infer P12): infer R12;
2952
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) : OverloadUnion11<T>;
2953
+
2954
+ export declare type OverloadUnion13<T> = T extends {
2955
+ (...args: infer P1): infer R1;
2956
+ (...args: infer P2): infer R2;
2957
+ (...args: infer P3): infer R3;
2958
+ (...args: infer P4): infer R4;
2959
+ (...args: infer P5): infer R5;
2960
+ (...args: infer P6): infer R6;
2961
+ (...args: infer P7): infer R7;
2962
+ (...args: infer P8): infer R8;
2963
+ (...args: infer P9): infer R9;
2964
+ (...args: infer P10): infer R10;
2965
+ (...args: infer P11): infer R11;
2966
+ (...args: infer P12): infer R12;
2967
+ (...args: infer P13): infer R13;
2968
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) | ((...args: P13) => R13) : OverloadUnion12<T>;
2969
+
2970
+ export declare type OverloadUnion14<T> = T extends {
2971
+ (...args: infer P1): infer R1;
2972
+ (...args: infer P2): infer R2;
2973
+ (...args: infer P3): infer R3;
2974
+ (...args: infer P4): infer R4;
2975
+ (...args: infer P5): infer R5;
2976
+ (...args: infer P6): infer R6;
2977
+ (...args: infer P7): infer R7;
2978
+ (...args: infer P8): infer R8;
2979
+ (...args: infer P9): infer R9;
2980
+ (...args: infer P10): infer R10;
2981
+ (...args: infer P11): infer R11;
2982
+ (...args: infer P12): infer R12;
2983
+ (...args: infer P13): infer R13;
2984
+ (...args: infer P14): infer R14;
2985
+ } ? ((...args: P1) => R1) | ((...args: P2) => R2) | ((...args: P3) => R3) | ((...args: P4) => R4) | ((...args: P5) => R5) | ((...args: P6) => R6) | ((...args: P7) => R7) | ((...args: P8) => R8) | ((...args: P9) => R9) | ((...args: P10) => R10) | ((...args: P11) => R11) | ((...args: P12) => R12) | ((...args: P13) => R13) | ((...args: P14) => R14) : OverloadUnion13<T>;
2164
2986
 
2165
2987
  export declare type OverloadUnion2<T> = T extends {
2166
2988
  (...args: infer P1): infer R1;
@@ -2270,7 +3092,7 @@ export declare const PIPELINES_PLUGIN_NAME = "pipelines";
2270
3092
 
2271
3093
  export declare interface PlatformImpl<RS> {
2272
3094
  Blob: typeof Blob_2;
2273
- File: typeof File_2;
3095
+ File: typeof File_3;
2274
3096
  Headers: typeof Headers_3;
2275
3097
  Request: typeof Request_5;
2276
3098
  Response: typeof Response_5;
@@ -2298,29 +3120,29 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
2298
3120
  export declare const PLUGINS: {
2299
3121
  core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2300
3122
  modules: z.ZodArray<z.ZodObject<{
2301
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
3123
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2302
3124
  path: z.ZodEffects<z.ZodString, string, string>;
2303
3125
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2304
3126
  }, "strip", z.ZodTypeAny, {
2305
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3127
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2306
3128
  path: string;
2307
3129
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2308
3130
  }, {
2309
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3131
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2310
3132
  path: string;
2311
3133
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2312
3134
  }>, "many">;
2313
3135
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2314
3136
  }, "strip", z.ZodTypeAny, {
2315
3137
  modules: {
2316
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3138
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2317
3139
  path: string;
2318
3140
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2319
3141
  }[];
2320
3142
  modulesRoot?: string | undefined;
2321
3143
  }, {
2322
3144
  modules: {
2323
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3145
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2324
3146
  path: string;
2325
3147
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2326
3148
  }[];
@@ -2330,15 +3152,15 @@ export declare const PLUGINS: {
2330
3152
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2331
3153
  modules: z.ZodOptional<z.ZodBoolean>;
2332
3154
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2333
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
3155
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2334
3156
  include: z.ZodArray<z.ZodString, "many">;
2335
3157
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2336
3158
  }, "strip", z.ZodTypeAny, {
2337
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3159
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2338
3160
  include: string[];
2339
3161
  fallthrough?: boolean | undefined;
2340
3162
  }, {
2341
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3163
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2342
3164
  include: string[];
2343
3165
  fallthrough?: boolean | undefined;
2344
3166
  }>, "many">>;
@@ -2348,7 +3170,7 @@ export declare const PLUGINS: {
2348
3170
  scriptPath?: string | undefined;
2349
3171
  modules?: boolean | undefined;
2350
3172
  modulesRules?: {
2351
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3173
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2352
3174
  include: string[];
2353
3175
  fallthrough?: boolean | undefined;
2354
3176
  }[] | undefined;
@@ -2358,7 +3180,7 @@ export declare const PLUGINS: {
2358
3180
  scriptPath?: string | undefined;
2359
3181
  modules?: boolean | undefined;
2360
3182
  modulesRules?: {
2361
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3183
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2362
3184
  include: string[];
2363
3185
  fallthrough?: boolean | undefined;
2364
3186
  }[] | undefined;
@@ -2367,15 +3189,15 @@ export declare const PLUGINS: {
2367
3189
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
2368
3190
  modules: z.ZodOptional<z.ZodBoolean>;
2369
3191
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2370
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
3192
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2371
3193
  include: z.ZodArray<z.ZodString, "many">;
2372
3194
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2373
3195
  }, "strip", z.ZodTypeAny, {
2374
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3196
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2375
3197
  include: string[];
2376
3198
  fallthrough?: boolean | undefined;
2377
3199
  }, {
2378
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3200
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2379
3201
  include: string[];
2380
3202
  fallthrough?: boolean | undefined;
2381
3203
  }>, "many">>;
@@ -2384,39 +3206,211 @@ export declare const PLUGINS: {
2384
3206
  scriptPath: string;
2385
3207
  modules?: boolean | undefined;
2386
3208
  modulesRules?: {
2387
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3209
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3210
+ include: string[];
3211
+ fallthrough?: boolean | undefined;
3212
+ }[] | undefined;
3213
+ modulesRoot?: string | undefined;
3214
+ }, {
3215
+ scriptPath: string;
3216
+ modules?: boolean | undefined;
3217
+ modulesRules?: {
3218
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2388
3219
  include: string[];
2389
3220
  fallthrough?: boolean | undefined;
2390
3221
  }[] | undefined;
2391
3222
  modulesRoot?: string | undefined;
3223
+ }>]>, z.ZodObject<{
3224
+ name: z.ZodOptional<z.ZodString>;
3225
+ rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
3226
+ compatibilityDate: z.ZodOptional<z.ZodString>;
3227
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3228
+ unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
3229
+ routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3230
+ bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
3231
+ wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
3232
+ textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
3233
+ dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
3234
+ serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
3235
+ name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
3236
+ entrypoint: z.ZodOptional<z.ZodString>;
3237
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3238
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
3239
+ }, "strip", z.ZodTypeAny, {
3240
+ name: string | kCurrentWorker_2;
3241
+ entrypoint?: string | undefined;
3242
+ props?: Record<string, unknown> | undefined;
3243
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3244
+ }, {
3245
+ name: string | kCurrentWorker_2;
3246
+ entrypoint?: string | undefined;
3247
+ props?: Record<string, unknown> | undefined;
3248
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3249
+ }>, z.ZodObject<{
3250
+ network: z.ZodObject<{
3251
+ allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3252
+ deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3253
+ tlsOptions: z.ZodOptional<z.ZodObject<{
3254
+ keypair: z.ZodOptional<z.ZodObject<{
3255
+ privateKey: z.ZodOptional<z.ZodString>;
3256
+ certificateChain: z.ZodOptional<z.ZodString>;
3257
+ }, "strip", z.ZodTypeAny, {
3258
+ privateKey?: string | undefined;
3259
+ certificateChain?: string | undefined;
3260
+ }, {
3261
+ privateKey?: string | undefined;
3262
+ certificateChain?: string | undefined;
3263
+ }>>;
3264
+ requireClientCerts: z.ZodOptional<z.ZodBoolean>;
3265
+ trustBrowserCas: z.ZodOptional<z.ZodBoolean>;
3266
+ trustedCertificates: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3267
+ minVersion: z.ZodOptional<z.ZodNativeEnum<{
3268
+ readonly GOOD_DEFAULT: 0;
3269
+ readonly SSL3: 1;
3270
+ readonly TLS1DOT0: 2;
3271
+ readonly TLS1DOT1: 3;
3272
+ readonly TLS1DOT2: 4;
3273
+ readonly TLS1DOT3: 5;
3274
+ }>>;
3275
+ cipherList: z.ZodOptional<z.ZodString>;
3276
+ }, "strip", z.ZodTypeAny, {
3277
+ keypair?: {
3278
+ privateKey?: string | undefined;
3279
+ certificateChain?: string | undefined;
3280
+ } | undefined;
3281
+ requireClientCerts?: boolean | undefined;
3282
+ trustBrowserCas?: boolean | undefined;
3283
+ trustedCertificates?: string[] | undefined;
3284
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3285
+ cipherList?: string | undefined;
3286
+ }, {
3287
+ keypair?: {
3288
+ privateKey?: string | undefined;
3289
+ certificateChain?: string | undefined;
3290
+ } | undefined;
3291
+ requireClientCerts?: boolean | undefined;
3292
+ trustBrowserCas?: boolean | undefined;
3293
+ trustedCertificates?: string[] | undefined;
3294
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3295
+ cipherList?: string | undefined;
3296
+ }>>;
3297
+ }, "strip", z.ZodTypeAny, {
3298
+ allow?: string[] | undefined;
3299
+ deny?: string[] | undefined;
3300
+ tlsOptions?: {
3301
+ keypair?: {
3302
+ privateKey?: string | undefined;
3303
+ certificateChain?: string | undefined;
3304
+ } | undefined;
3305
+ requireClientCerts?: boolean | undefined;
3306
+ trustBrowserCas?: boolean | undefined;
3307
+ trustedCertificates?: string[] | undefined;
3308
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3309
+ cipherList?: string | undefined;
3310
+ } | undefined;
3311
+ }, {
3312
+ allow?: string[] | undefined;
3313
+ deny?: string[] | undefined;
3314
+ tlsOptions?: {
3315
+ keypair?: {
3316
+ privateKey?: string | undefined;
3317
+ certificateChain?: string | undefined;
3318
+ } | undefined;
3319
+ requireClientCerts?: boolean | undefined;
3320
+ trustBrowserCas?: boolean | undefined;
3321
+ trustedCertificates?: string[] | undefined;
3322
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3323
+ cipherList?: string | undefined;
3324
+ } | undefined;
3325
+ }>;
3326
+ }, "strip", z.ZodTypeAny, {
3327
+ network: {
3328
+ allow?: string[] | undefined;
3329
+ deny?: string[] | undefined;
3330
+ tlsOptions?: {
3331
+ keypair?: {
3332
+ privateKey?: string | undefined;
3333
+ certificateChain?: string | undefined;
3334
+ } | undefined;
3335
+ requireClientCerts?: boolean | undefined;
3336
+ trustBrowserCas?: boolean | undefined;
3337
+ trustedCertificates?: string[] | undefined;
3338
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3339
+ cipherList?: string | undefined;
3340
+ } | undefined;
3341
+ };
3342
+ }, {
3343
+ network: {
3344
+ allow?: string[] | undefined;
3345
+ deny?: string[] | undefined;
3346
+ tlsOptions?: {
3347
+ keypair?: {
3348
+ privateKey?: string | undefined;
3349
+ certificateChain?: string | undefined;
3350
+ } | undefined;
3351
+ requireClientCerts?: boolean | undefined;
3352
+ trustBrowserCas?: boolean | undefined;
3353
+ trustedCertificates?: string[] | undefined;
3354
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3355
+ cipherList?: string | undefined;
3356
+ } | undefined;
3357
+ };
3358
+ }>, z.ZodObject<{
3359
+ external: z.ZodType<ExternalServer_3, z.ZodTypeDef, ExternalServer_3>;
3360
+ }, "strip", z.ZodTypeAny, {
3361
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
3362
+ }, {
3363
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
3364
+ }>, z.ZodObject<{
3365
+ disk: z.ZodObject<{
3366
+ path: z.ZodString;
3367
+ writable: z.ZodOptional<z.ZodBoolean>;
3368
+ }, "strip", z.ZodTypeAny, {
3369
+ path: string;
3370
+ writable?: boolean | undefined;
3371
+ }, {
3372
+ path: string;
3373
+ writable?: boolean | undefined;
3374
+ }>;
3375
+ }, "strip", z.ZodTypeAny, {
3376
+ disk: {
3377
+ path: string;
3378
+ writable?: boolean | undefined;
3379
+ };
2392
3380
  }, {
2393
- scriptPath: string;
2394
- modules?: boolean | undefined;
2395
- modulesRules?: {
2396
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2397
- include: string[];
2398
- fallthrough?: boolean | undefined;
2399
- }[] | undefined;
2400
- modulesRoot?: string | undefined;
2401
- }>]>, z.ZodObject<{
2402
- name: z.ZodOptional<z.ZodString>;
2403
- rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
2404
- compatibilityDate: z.ZodOptional<z.ZodString>;
2405
- compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2406
- routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3381
+ disk: {
3382
+ path: string;
3383
+ writable?: boolean | undefined;
3384
+ };
3385
+ }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>>;
3386
+ wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
3387
+ scriptName: z.ZodString;
3388
+ entrypoint: z.ZodOptional<z.ZodString>;
2407
3389
  bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
2408
- wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
2409
- textBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
2410
- dataBlobBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
2411
- serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
3390
+ }, "strip", z.ZodTypeAny, {
3391
+ scriptName: string;
3392
+ entrypoint?: string | undefined;
3393
+ bindings?: Record<string, Json_2> | undefined;
3394
+ }, {
3395
+ scriptName: string;
3396
+ entrypoint?: string | undefined;
3397
+ bindings?: Record<string, Json_2> | undefined;
3398
+ }>]>>>;
3399
+ outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2412
3400
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2413
3401
  entrypoint: z.ZodOptional<z.ZodString>;
3402
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3403
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
2414
3404
  }, "strip", z.ZodTypeAny, {
2415
3405
  name: string | kCurrentWorker_2;
2416
3406
  entrypoint?: string | undefined;
3407
+ props?: Record<string, unknown> | undefined;
3408
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2417
3409
  }, {
2418
3410
  name: string | kCurrentWorker_2;
2419
3411
  entrypoint?: string | undefined;
3412
+ props?: Record<string, unknown> | undefined;
3413
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2420
3414
  }>, z.ZodObject<{
2421
3415
  network: z.ZodObject<{
2422
3416
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2553,29 +3547,43 @@ export declare const PLUGINS: {
2553
3547
  path: string;
2554
3548
  writable?: boolean | undefined;
2555
3549
  };
2556
- }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>>;
2557
- wrappedBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
2558
- scriptName: z.ZodString;
3550
+ }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>;
3551
+ fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
3552
+ unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
3553
+ unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
3554
+ host: z.ZodOptional<z.ZodString>;
3555
+ port: z.ZodOptional<z.ZodNumber>;
2559
3556
  entrypoint: z.ZodOptional<z.ZodString>;
2560
- bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
3557
+ proxy: z.ZodOptional<z.ZodBoolean>;
2561
3558
  }, "strip", z.ZodTypeAny, {
2562
- scriptName: string;
3559
+ host?: string | undefined;
3560
+ port?: number | undefined;
2563
3561
  entrypoint?: string | undefined;
2564
- bindings?: Record<string, Json_2> | undefined;
3562
+ proxy?: boolean | undefined;
2565
3563
  }, {
2566
- scriptName: string;
3564
+ host?: string | undefined;
3565
+ port?: number | undefined;
2567
3566
  entrypoint?: string | undefined;
2568
- bindings?: Record<string, Json_2> | undefined;
2569
- }>]>>>;
2570
- outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
3567
+ proxy?: boolean | undefined;
3568
+ }>, "many">>;
3569
+ unsafeEvalBinding: z.ZodOptional<z.ZodString>;
3570
+ unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
3571
+ hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
3572
+ tails: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2571
3573
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2572
3574
  entrypoint: z.ZodOptional<z.ZodString>;
3575
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3576
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
2573
3577
  }, "strip", z.ZodTypeAny, {
2574
3578
  name: string | kCurrentWorker_2;
2575
3579
  entrypoint?: string | undefined;
3580
+ props?: Record<string, unknown> | undefined;
3581
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2576
3582
  }, {
2577
3583
  name: string | kCurrentWorker_2;
2578
3584
  entrypoint?: string | undefined;
3585
+ props?: Record<string, unknown> | undefined;
3586
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2579
3587
  }>, z.ZodObject<{
2580
3588
  network: z.ZodObject<{
2581
3589
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2712,34 +3720,15 @@ export declare const PLUGINS: {
2712
3720
  path: string;
2713
3721
  writable?: boolean | undefined;
2714
3722
  };
2715
- }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>>;
2716
- fetchMock: z.ZodOptional<z.ZodType<MockAgent<MockAgent>, z.ZodTypeDef, MockAgent<MockAgent>>>;
2717
- unsafeEphemeralDurableObjects: z.ZodOptional<z.ZodBoolean>;
2718
- unsafeDirectSockets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2719
- host: z.ZodOptional<z.ZodString>;
2720
- port: z.ZodOptional<z.ZodNumber>;
2721
- entrypoint: z.ZodOptional<z.ZodString>;
2722
- proxy: z.ZodOptional<z.ZodBoolean>;
2723
- }, "strip", z.ZodTypeAny, {
2724
- host?: string | undefined;
2725
- port?: number | undefined;
2726
- entrypoint?: string | undefined;
2727
- proxy?: boolean | undefined;
2728
- }, {
2729
- host?: string | undefined;
2730
- port?: number | undefined;
2731
- entrypoint?: string | undefined;
2732
- proxy?: boolean | undefined;
2733
- }>, "many">>;
2734
- unsafeEvalBinding: z.ZodOptional<z.ZodString>;
2735
- unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
2736
- hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
2737
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
3723
+ }>, z.ZodType<(request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>, z.ZodTypeDef, (request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>>]>, "many">>;
3724
+ stripCfConnectingIp: z.ZodDefault<z.ZodBoolean>;
2738
3725
  }, "strip", z.ZodTypeAny, {
3726
+ stripCfConnectingIp: boolean;
2739
3727
  name?: string | undefined;
2740
3728
  rootPath?: undefined;
2741
3729
  compatibilityDate?: string | undefined;
2742
3730
  compatibilityFlags?: string[] | undefined;
3731
+ unsafeInspectorProxy?: boolean | undefined;
2743
3732
  routes?: string[] | undefined;
2744
3733
  bindings?: Record<string, Json_2> | undefined;
2745
3734
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2748,6 +3737,8 @@ export declare const PLUGINS: {
2748
3737
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2749
3738
  name: string | kCurrentWorker_2;
2750
3739
  entrypoint?: string | undefined;
3740
+ props?: Record<string, unknown> | undefined;
3741
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2751
3742
  } | {
2752
3743
  network: {
2753
3744
  allow?: string[] | undefined;
@@ -2780,6 +3771,8 @@ export declare const PLUGINS: {
2780
3771
  outboundService?: string | kCurrentWorker_2 | {
2781
3772
  name: string | kCurrentWorker_2;
2782
3773
  entrypoint?: string | undefined;
3774
+ props?: Record<string, unknown> | undefined;
3775
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2783
3776
  } | {
2784
3777
  network: {
2785
3778
  allow?: string[] | undefined;
@@ -2815,12 +3808,41 @@ export declare const PLUGINS: {
2815
3808
  unsafeEvalBinding?: string | undefined;
2816
3809
  unsafeUseModuleFallbackService?: boolean | undefined;
2817
3810
  hasAssetsAndIsVitest?: boolean | undefined;
2818
- unsafeEnableAssetsRpc?: boolean | undefined;
3811
+ tails?: (string | kCurrentWorker_2 | {
3812
+ name: string | kCurrentWorker_2;
3813
+ entrypoint?: string | undefined;
3814
+ props?: Record<string, unknown> | undefined;
3815
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3816
+ } | {
3817
+ network: {
3818
+ allow?: string[] | undefined;
3819
+ deny?: string[] | undefined;
3820
+ tlsOptions?: {
3821
+ keypair?: {
3822
+ privateKey?: string | undefined;
3823
+ certificateChain?: string | undefined;
3824
+ } | undefined;
3825
+ requireClientCerts?: boolean | undefined;
3826
+ trustBrowserCas?: boolean | undefined;
3827
+ trustedCertificates?: string[] | undefined;
3828
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3829
+ cipherList?: string | undefined;
3830
+ } | undefined;
3831
+ };
3832
+ } | {
3833
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
3834
+ } | {
3835
+ disk: {
3836
+ path: string;
3837
+ writable?: boolean | undefined;
3838
+ };
3839
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
2819
3840
  }, {
2820
3841
  name?: string | undefined;
2821
3842
  rootPath?: string | undefined;
2822
3843
  compatibilityDate?: string | undefined;
2823
3844
  compatibilityFlags?: string[] | undefined;
3845
+ unsafeInspectorProxy?: boolean | undefined;
2824
3846
  routes?: string[] | undefined;
2825
3847
  bindings?: Record<string, Json_2> | undefined;
2826
3848
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2829,6 +3851,8 @@ export declare const PLUGINS: {
2829
3851
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2830
3852
  name: string | kCurrentWorker_2;
2831
3853
  entrypoint?: string | undefined;
3854
+ props?: Record<string, unknown> | undefined;
3855
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2832
3856
  } | {
2833
3857
  network: {
2834
3858
  allow?: string[] | undefined;
@@ -2861,6 +3885,8 @@ export declare const PLUGINS: {
2861
3885
  outboundService?: string | kCurrentWorker_2 | {
2862
3886
  name: string | kCurrentWorker_2;
2863
3887
  entrypoint?: string | undefined;
3888
+ props?: Record<string, unknown> | undefined;
3889
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2864
3890
  } | {
2865
3891
  network: {
2866
3892
  allow?: string[] | undefined;
@@ -2896,19 +3922,50 @@ export declare const PLUGINS: {
2896
3922
  unsafeEvalBinding?: string | undefined;
2897
3923
  unsafeUseModuleFallbackService?: boolean | undefined;
2898
3924
  hasAssetsAndIsVitest?: boolean | undefined;
2899
- unsafeEnableAssetsRpc?: boolean | undefined;
3925
+ tails?: (string | kCurrentWorker_2 | {
3926
+ name: string | kCurrentWorker_2;
3927
+ entrypoint?: string | undefined;
3928
+ props?: Record<string, unknown> | undefined;
3929
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3930
+ } | {
3931
+ network: {
3932
+ allow?: string[] | undefined;
3933
+ deny?: string[] | undefined;
3934
+ tlsOptions?: {
3935
+ keypair?: {
3936
+ privateKey?: string | undefined;
3937
+ certificateChain?: string | undefined;
3938
+ } | undefined;
3939
+ requireClientCerts?: boolean | undefined;
3940
+ trustBrowserCas?: boolean | undefined;
3941
+ trustedCertificates?: string[] | undefined;
3942
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
3943
+ cipherList?: string | undefined;
3944
+ } | undefined;
3945
+ };
3946
+ } | {
3947
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
3948
+ } | {
3949
+ disk: {
3950
+ path: string;
3951
+ writable?: boolean | undefined;
3952
+ };
3953
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
3954
+ stripCfConnectingIp?: boolean | undefined;
2900
3955
  }>>, ({
2901
3956
  modules: {
2902
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3957
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2903
3958
  path: string;
2904
3959
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2905
3960
  }[];
2906
3961
  modulesRoot?: string | undefined;
2907
3962
  } & {
3963
+ stripCfConnectingIp: boolean;
2908
3964
  name?: string | undefined;
2909
3965
  rootPath?: undefined;
2910
3966
  compatibilityDate?: string | undefined;
2911
3967
  compatibilityFlags?: string[] | undefined;
3968
+ unsafeInspectorProxy?: boolean | undefined;
2912
3969
  routes?: string[] | undefined;
2913
3970
  bindings?: Record<string, Json_2> | undefined;
2914
3971
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2917,6 +3974,8 @@ export declare const PLUGINS: {
2917
3974
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2918
3975
  name: string | kCurrentWorker_2;
2919
3976
  entrypoint?: string | undefined;
3977
+ props?: Record<string, unknown> | undefined;
3978
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2920
3979
  } | {
2921
3980
  network: {
2922
3981
  allow?: string[] | undefined;
@@ -2949,6 +4008,8 @@ export declare const PLUGINS: {
2949
4008
  outboundService?: string | kCurrentWorker_2 | {
2950
4009
  name: string | kCurrentWorker_2;
2951
4010
  entrypoint?: string | undefined;
4011
+ props?: Record<string, unknown> | undefined;
4012
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
2952
4013
  } | {
2953
4014
  network: {
2954
4015
  allow?: string[] | undefined;
@@ -2984,22 +4045,52 @@ export declare const PLUGINS: {
2984
4045
  unsafeEvalBinding?: string | undefined;
2985
4046
  unsafeUseModuleFallbackService?: boolean | undefined;
2986
4047
  hasAssetsAndIsVitest?: boolean | undefined;
2987
- unsafeEnableAssetsRpc?: boolean | undefined;
4048
+ tails?: (string | kCurrentWorker_2 | {
4049
+ name: string | kCurrentWorker_2;
4050
+ entrypoint?: string | undefined;
4051
+ props?: Record<string, unknown> | undefined;
4052
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4053
+ } | {
4054
+ network: {
4055
+ allow?: string[] | undefined;
4056
+ deny?: string[] | undefined;
4057
+ tlsOptions?: {
4058
+ keypair?: {
4059
+ privateKey?: string | undefined;
4060
+ certificateChain?: string | undefined;
4061
+ } | undefined;
4062
+ requireClientCerts?: boolean | undefined;
4063
+ trustBrowserCas?: boolean | undefined;
4064
+ trustedCertificates?: string[] | undefined;
4065
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
4066
+ cipherList?: string | undefined;
4067
+ } | undefined;
4068
+ };
4069
+ } | {
4070
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
4071
+ } | {
4072
+ disk: {
4073
+ path: string;
4074
+ writable?: boolean | undefined;
4075
+ };
4076
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
2988
4077
  }) | ({
2989
4078
  script: string;
2990
4079
  scriptPath?: string | undefined;
2991
4080
  modules?: boolean | undefined;
2992
4081
  modulesRules?: {
2993
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4082
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2994
4083
  include: string[];
2995
4084
  fallthrough?: boolean | undefined;
2996
4085
  }[] | undefined;
2997
4086
  modulesRoot?: string | undefined;
2998
4087
  } & {
4088
+ stripCfConnectingIp: boolean;
2999
4089
  name?: string | undefined;
3000
4090
  rootPath?: undefined;
3001
4091
  compatibilityDate?: string | undefined;
3002
4092
  compatibilityFlags?: string[] | undefined;
4093
+ unsafeInspectorProxy?: boolean | undefined;
3003
4094
  routes?: string[] | undefined;
3004
4095
  bindings?: Record<string, Json_2> | undefined;
3005
4096
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -3008,6 +4099,8 @@ export declare const PLUGINS: {
3008
4099
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3009
4100
  name: string | kCurrentWorker_2;
3010
4101
  entrypoint?: string | undefined;
4102
+ props?: Record<string, unknown> | undefined;
4103
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3011
4104
  } | {
3012
4105
  network: {
3013
4106
  allow?: string[] | undefined;
@@ -3040,6 +4133,8 @@ export declare const PLUGINS: {
3040
4133
  outboundService?: string | kCurrentWorker_2 | {
3041
4134
  name: string | kCurrentWorker_2;
3042
4135
  entrypoint?: string | undefined;
4136
+ props?: Record<string, unknown> | undefined;
4137
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3043
4138
  } | {
3044
4139
  network: {
3045
4140
  allow?: string[] | undefined;
@@ -3075,21 +4170,51 @@ export declare const PLUGINS: {
3075
4170
  unsafeEvalBinding?: string | undefined;
3076
4171
  unsafeUseModuleFallbackService?: boolean | undefined;
3077
4172
  hasAssetsAndIsVitest?: boolean | undefined;
3078
- unsafeEnableAssetsRpc?: boolean | undefined;
4173
+ tails?: (string | kCurrentWorker_2 | {
4174
+ name: string | kCurrentWorker_2;
4175
+ entrypoint?: string | undefined;
4176
+ props?: Record<string, unknown> | undefined;
4177
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4178
+ } | {
4179
+ network: {
4180
+ allow?: string[] | undefined;
4181
+ deny?: string[] | undefined;
4182
+ tlsOptions?: {
4183
+ keypair?: {
4184
+ privateKey?: string | undefined;
4185
+ certificateChain?: string | undefined;
4186
+ } | undefined;
4187
+ requireClientCerts?: boolean | undefined;
4188
+ trustBrowserCas?: boolean | undefined;
4189
+ trustedCertificates?: string[] | undefined;
4190
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
4191
+ cipherList?: string | undefined;
4192
+ } | undefined;
4193
+ };
4194
+ } | {
4195
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
4196
+ } | {
4197
+ disk: {
4198
+ path: string;
4199
+ writable?: boolean | undefined;
4200
+ };
4201
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
3079
4202
  }) | ({
3080
4203
  scriptPath: string;
3081
4204
  modules?: boolean | undefined;
3082
4205
  modulesRules?: {
3083
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4206
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3084
4207
  include: string[];
3085
4208
  fallthrough?: boolean | undefined;
3086
4209
  }[] | undefined;
3087
4210
  modulesRoot?: string | undefined;
3088
4211
  } & {
4212
+ stripCfConnectingIp: boolean;
3089
4213
  name?: string | undefined;
3090
4214
  rootPath?: undefined;
3091
4215
  compatibilityDate?: string | undefined;
3092
4216
  compatibilityFlags?: string[] | undefined;
4217
+ unsafeInspectorProxy?: boolean | undefined;
3093
4218
  routes?: string[] | undefined;
3094
4219
  bindings?: Record<string, Json_2> | undefined;
3095
4220
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -3098,6 +4223,8 @@ export declare const PLUGINS: {
3098
4223
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3099
4224
  name: string | kCurrentWorker_2;
3100
4225
  entrypoint?: string | undefined;
4226
+ props?: Record<string, unknown> | undefined;
4227
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3101
4228
  } | {
3102
4229
  network: {
3103
4230
  allow?: string[] | undefined;
@@ -3130,6 +4257,8 @@ export declare const PLUGINS: {
3130
4257
  outboundService?: string | kCurrentWorker_2 | {
3131
4258
  name: string | kCurrentWorker_2;
3132
4259
  entrypoint?: string | undefined;
4260
+ props?: Record<string, unknown> | undefined;
4261
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3133
4262
  } | {
3134
4263
  network: {
3135
4264
  allow?: string[] | undefined;
@@ -3165,10 +4294,38 @@ export declare const PLUGINS: {
3165
4294
  unsafeEvalBinding?: string | undefined;
3166
4295
  unsafeUseModuleFallbackService?: boolean | undefined;
3167
4296
  hasAssetsAndIsVitest?: boolean | undefined;
3168
- unsafeEnableAssetsRpc?: boolean | undefined;
4297
+ tails?: (string | kCurrentWorker_2 | {
4298
+ name: string | kCurrentWorker_2;
4299
+ entrypoint?: string | undefined;
4300
+ props?: Record<string, unknown> | undefined;
4301
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4302
+ } | {
4303
+ network: {
4304
+ allow?: string[] | undefined;
4305
+ deny?: string[] | undefined;
4306
+ tlsOptions?: {
4307
+ keypair?: {
4308
+ privateKey?: string | undefined;
4309
+ certificateChain?: string | undefined;
4310
+ } | undefined;
4311
+ requireClientCerts?: boolean | undefined;
4312
+ trustBrowserCas?: boolean | undefined;
4313
+ trustedCertificates?: string[] | undefined;
4314
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
4315
+ cipherList?: string | undefined;
4316
+ } | undefined;
4317
+ };
4318
+ } | {
4319
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
4320
+ } | {
4321
+ disk: {
4322
+ path: string;
4323
+ writable?: boolean | undefined;
4324
+ };
4325
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
3169
4326
  }), ({
3170
4327
  modules: {
3171
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4328
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3172
4329
  path: string;
3173
4330
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
3174
4331
  }[];
@@ -3178,7 +4335,7 @@ export declare const PLUGINS: {
3178
4335
  scriptPath?: string | undefined;
3179
4336
  modules?: boolean | undefined;
3180
4337
  modulesRules?: {
3181
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4338
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3182
4339
  include: string[];
3183
4340
  fallthrough?: boolean | undefined;
3184
4341
  }[] | undefined;
@@ -3187,7 +4344,7 @@ export declare const PLUGINS: {
3187
4344
  scriptPath: string;
3188
4345
  modules?: boolean | undefined;
3189
4346
  modulesRules?: {
3190
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4347
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3191
4348
  include: string[];
3192
4349
  fallthrough?: boolean | undefined;
3193
4350
  }[] | undefined;
@@ -3197,6 +4354,7 @@ export declare const PLUGINS: {
3197
4354
  rootPath?: string | undefined;
3198
4355
  compatibilityDate?: string | undefined;
3199
4356
  compatibilityFlags?: string[] | undefined;
4357
+ unsafeInspectorProxy?: boolean | undefined;
3200
4358
  routes?: string[] | undefined;
3201
4359
  bindings?: Record<string, Json_2> | undefined;
3202
4360
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -3205,6 +4363,8 @@ export declare const PLUGINS: {
3205
4363
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3206
4364
  name: string | kCurrentWorker_2;
3207
4365
  entrypoint?: string | undefined;
4366
+ props?: Record<string, unknown> | undefined;
4367
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3208
4368
  } | {
3209
4369
  network: {
3210
4370
  allow?: string[] | undefined;
@@ -3237,6 +4397,8 @@ export declare const PLUGINS: {
3237
4397
  outboundService?: string | kCurrentWorker_2 | {
3238
4398
  name: string | kCurrentWorker_2;
3239
4399
  entrypoint?: string | undefined;
4400
+ props?: Record<string, unknown> | undefined;
4401
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3240
4402
  } | {
3241
4403
  network: {
3242
4404
  allow?: string[] | undefined;
@@ -3272,7 +4434,36 @@ export declare const PLUGINS: {
3272
4434
  unsafeEvalBinding?: string | undefined;
3273
4435
  unsafeUseModuleFallbackService?: boolean | undefined;
3274
4436
  hasAssetsAndIsVitest?: boolean | undefined;
3275
- unsafeEnableAssetsRpc?: boolean | undefined;
4437
+ tails?: (string | kCurrentWorker_2 | {
4438
+ name: string | kCurrentWorker_2;
4439
+ entrypoint?: string | undefined;
4440
+ props?: Record<string, unknown> | undefined;
4441
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4442
+ } | {
4443
+ network: {
4444
+ allow?: string[] | undefined;
4445
+ deny?: string[] | undefined;
4446
+ tlsOptions?: {
4447
+ keypair?: {
4448
+ privateKey?: string | undefined;
4449
+ certificateChain?: string | undefined;
4450
+ } | undefined;
4451
+ requireClientCerts?: boolean | undefined;
4452
+ trustBrowserCas?: boolean | undefined;
4453
+ trustedCertificates?: string[] | undefined;
4454
+ minVersion?: 0 | 2 | 1 | 3 | 4 | 5 | undefined;
4455
+ cipherList?: string | undefined;
4456
+ } | undefined;
4457
+ };
4458
+ } | {
4459
+ external: ExternalServer_3 & (ExternalServer_3 | undefined);
4460
+ } | {
4461
+ disk: {
4462
+ path: string;
4463
+ writable?: boolean | undefined;
4464
+ };
4465
+ } | ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>))[] | undefined;
4466
+ stripCfConnectingIp?: boolean | undefined;
3276
4467
  }>, z.ZodObject<{
3277
4468
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
3278
4469
  host: z.ZodOptional<z.ZodString>;
@@ -3292,8 +4483,10 @@ export declare const PLUGINS: {
3292
4483
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
3293
4484
  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>>>;
3294
4485
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
3295
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
4486
+ unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
4487
+ logRequests: z.ZodDefault<z.ZodBoolean>;
3296
4488
  }, "strip", z.ZodTypeAny, {
4489
+ logRequests: boolean;
3297
4490
  rootPath?: undefined;
3298
4491
  host?: string | undefined;
3299
4492
  port?: number | undefined;
@@ -3312,7 +4505,7 @@ export declare const PLUGINS: {
3312
4505
  unsafeProxySharedSecret?: string | undefined;
3313
4506
  unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3314
4507
  unsafeStickyBlobs?: boolean | undefined;
3315
- unsafeEnableAssetsRpc?: boolean | undefined;
4508
+ unsafeTriggerHandlers?: boolean | undefined;
3316
4509
  }, {
3317
4510
  rootPath?: string | undefined;
3318
4511
  host?: string | undefined;
@@ -3332,7 +4525,8 @@ export declare const PLUGINS: {
3332
4525
  unsafeProxySharedSecret?: string | undefined;
3333
4526
  unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3334
4527
  unsafeStickyBlobs?: boolean | undefined;
3335
- unsafeEnableAssetsRpc?: boolean | undefined;
4528
+ unsafeTriggerHandlers?: boolean | undefined;
4529
+ logRequests?: boolean | undefined;
3336
4530
  }>>;
3337
4531
  cache: Plugin_2<z.ZodObject<{
3338
4532
  cache: z.ZodOptional<z.ZodBoolean>;
@@ -3351,11 +4545,26 @@ export declare const PLUGINS: {
3351
4545
  cachePersist?: string | boolean | undefined;
3352
4546
  }>>;
3353
4547
  d1: Plugin_2<z.ZodObject<{
3354
- d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
4548
+ d1Databases: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodRecord<z.ZodString, z.ZodObject<{
4549
+ id: z.ZodString;
4550
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
3355
4551
  }, "strip", z.ZodTypeAny, {
3356
- d1Databases?: string[] | Record<string, string> | undefined;
4552
+ id: string;
4553
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4554
+ }, {
4555
+ id: string;
4556
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4557
+ }>>, z.ZodArray<z.ZodString, "many">]>>;
4558
+ }, "strip", z.ZodTypeAny, {
4559
+ d1Databases?: string[] | Record<string, string> | Record<string, {
4560
+ id: string;
4561
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4562
+ }> | undefined;
3357
4563
  }, {
3358
- d1Databases?: string[] | Record<string, string> | undefined;
4564
+ d1Databases?: string[] | Record<string, string> | Record<string, {
4565
+ id: string;
4566
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4567
+ }> | undefined;
3359
4568
  }>, z.ZodObject<{
3360
4569
  d1Persist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
3361
4570
  }, "strip", z.ZodTypeAny, {
@@ -3370,18 +4579,21 @@ export declare const PLUGINS: {
3370
4579
  useSQLite: z.ZodOptional<z.ZodBoolean>;
3371
4580
  unsafeUniqueKey: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kUnsafeEphemeralUniqueKey_2>]>>;
3372
4581
  unsafePreventEviction: z.ZodOptional<z.ZodBoolean>;
4582
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
3373
4583
  }, "strip", z.ZodTypeAny, {
3374
4584
  className: string;
3375
4585
  scriptName?: string | undefined;
3376
4586
  useSQLite?: boolean | undefined;
3377
4587
  unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3378
4588
  unsafePreventEviction?: boolean | undefined;
4589
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3379
4590
  }, {
3380
4591
  className: string;
3381
4592
  scriptName?: string | undefined;
3382
4593
  useSQLite?: boolean | undefined;
3383
4594
  unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3384
4595
  unsafePreventEviction?: boolean | undefined;
4596
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3385
4597
  }>]>>>;
3386
4598
  }, "strip", z.ZodTypeAny, {
3387
4599
  durableObjects?: Record<string, string | {
@@ -3390,6 +4602,7 @@ export declare const PLUGINS: {
3390
4602
  useSQLite?: boolean | undefined;
3391
4603
  unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3392
4604
  unsafePreventEviction?: boolean | undefined;
4605
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3393
4606
  }> | undefined;
3394
4607
  }, {
3395
4608
  durableObjects?: Record<string, string | {
@@ -3398,6 +4611,7 @@ export declare const PLUGINS: {
3398
4611
  useSQLite?: boolean | undefined;
3399
4612
  unsafeUniqueKey?: string | kUnsafeEphemeralUniqueKey_2 | undefined;
3400
4613
  unsafePreventEviction?: boolean | undefined;
4614
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3401
4615
  }> | undefined;
3402
4616
  }>, z.ZodObject<{
3403
4617
  durableObjectsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
@@ -3407,17 +4621,32 @@ export declare const PLUGINS: {
3407
4621
  durableObjectsPersist?: string | boolean | undefined;
3408
4622
  }>>;
3409
4623
  kv: Plugin_2<z.ZodObject<{
3410
- kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
4624
+ kvNamespaces: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodRecord<z.ZodString, z.ZodObject<{
4625
+ id: z.ZodString;
4626
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
4627
+ }, "strip", z.ZodTypeAny, {
4628
+ id: string;
4629
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4630
+ }, {
4631
+ id: string;
4632
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4633
+ }>>, z.ZodArray<z.ZodString, "many">]>>;
3411
4634
  sitePath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
3412
4635
  siteInclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3413
4636
  siteExclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3414
4637
  }, "strip", z.ZodTypeAny, {
3415
- kvNamespaces?: string[] | Record<string, string> | undefined;
4638
+ kvNamespaces?: string[] | Record<string, string> | Record<string, {
4639
+ id: string;
4640
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4641
+ }> | undefined;
3416
4642
  sitePath?: string | undefined;
3417
4643
  siteInclude?: string[] | undefined;
3418
4644
  siteExclude?: string[] | undefined;
3419
4645
  }, {
3420
- kvNamespaces?: string[] | Record<string, string> | undefined;
4646
+ kvNamespaces?: string[] | Record<string, string> | Record<string, {
4647
+ id: string;
4648
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4649
+ }> | undefined;
3421
4650
  sitePath?: string | undefined;
3422
4651
  siteInclude?: string[] | undefined;
3423
4652
  siteExclude?: string[] | undefined;
@@ -3432,12 +4661,15 @@ export declare const PLUGINS: {
3432
4661
  queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
3433
4662
  queueName: z.ZodString;
3434
4663
  deliveryDelay: z.ZodOptional<z.ZodNumber>;
4664
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
3435
4665
  }, "strip", z.ZodTypeAny, {
3436
4666
  queueName: string;
3437
4667
  deliveryDelay?: number | undefined;
4668
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3438
4669
  }, {
3439
4670
  queueName: string;
3440
4671
  deliveryDelay?: number | undefined;
4672
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3441
4673
  }>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
3442
4674
  queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
3443
4675
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
@@ -3479,6 +4711,7 @@ export declare const PLUGINS: {
3479
4711
  queueProducers?: string[] | Record<string, string> | Record<string, {
3480
4712
  queueName: string;
3481
4713
  deliveryDelay?: number | undefined;
4714
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3482
4715
  }> | undefined;
3483
4716
  queueConsumers?: string[] | Record<string, Omit<{
3484
4717
  maxBatchSize?: number | undefined;
@@ -3492,6 +4725,7 @@ export declare const PLUGINS: {
3492
4725
  queueProducers?: string[] | Record<string, string> | Record<string, {
3493
4726
  queueName: string;
3494
4727
  deliveryDelay?: number | undefined;
4728
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3495
4729
  }> | undefined;
3496
4730
  queueConsumers?: string[] | Record<string, {
3497
4731
  maxBatchSize?: number | undefined;
@@ -3503,11 +4737,26 @@ export declare const PLUGINS: {
3503
4737
  }> | undefined;
3504
4738
  }>>;
3505
4739
  r2: Plugin_2<z.ZodObject<{
3506
- r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
4740
+ r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodRecord<z.ZodString, z.ZodObject<{
4741
+ id: z.ZodString;
4742
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
4743
+ }, "strip", z.ZodTypeAny, {
4744
+ id: string;
4745
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4746
+ }, {
4747
+ id: string;
4748
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4749
+ }>>, z.ZodArray<z.ZodString, "many">]>>;
3507
4750
  }, "strip", z.ZodTypeAny, {
3508
- r2Buckets?: string[] | Record<string, string> | undefined;
4751
+ r2Buckets?: string[] | Record<string, string> | Record<string, {
4752
+ id: string;
4753
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4754
+ }> | undefined;
3509
4755
  }, {
3510
- r2Buckets?: string[] | Record<string, string> | undefined;
4756
+ r2Buckets?: string[] | Record<string, string> | Record<string, {
4757
+ id: string;
4758
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
4759
+ }> | undefined;
3511
4760
  }>, z.ZodObject<{
3512
4761
  r2Persist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
3513
4762
  }, "strip", z.ZodTypeAny, {
@@ -3568,22 +4817,49 @@ export declare const PLUGINS: {
3568
4817
  routerConfig: z.ZodOptional<z.ZodObject<{
3569
4818
  account_id: z.ZodOptional<z.ZodNumber>;
3570
4819
  script_id: z.ZodOptional<z.ZodNumber>;
4820
+ debug: z.ZodOptional<z.ZodBoolean>;
3571
4821
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
4822
+ static_routing: z.ZodOptional<z.ZodObject<{
4823
+ version: z.ZodLiteral<1>;
4824
+ include: z.ZodArray<z.ZodString, "many">;
4825
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4826
+ }, "strip", z.ZodTypeAny, {
4827
+ version?: 1;
4828
+ include?: string[];
4829
+ exclude?: string[];
4830
+ }, {
4831
+ version?: 1;
4832
+ include?: string[];
4833
+ exclude?: string[];
4834
+ }>>;
3572
4835
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
3573
4836
  }, "strip", z.ZodTypeAny, {
3574
4837
  account_id?: number;
3575
4838
  script_id?: number;
4839
+ debug?: boolean;
3576
4840
  invoke_user_worker_ahead_of_assets?: boolean;
4841
+ static_routing?: {
4842
+ version?: 1;
4843
+ include?: string[];
4844
+ exclude?: string[];
4845
+ };
3577
4846
  has_user_worker?: boolean;
3578
4847
  }, {
3579
4848
  account_id?: number;
3580
4849
  script_id?: number;
4850
+ debug?: boolean;
3581
4851
  invoke_user_worker_ahead_of_assets?: boolean;
4852
+ static_routing?: {
4853
+ version?: 1;
4854
+ include?: string[];
4855
+ exclude?: string[];
4856
+ };
3582
4857
  has_user_worker?: boolean;
3583
4858
  }>>;
3584
- assetConfig: z.ZodOptional<z.ZodObject<{
4859
+ assetConfig: z.ZodOptional<z.ZodObject<Omit<{
3585
4860
  account_id: z.ZodOptional<z.ZodNumber>;
3586
4861
  script_id: z.ZodOptional<z.ZodNumber>;
4862
+ debug: z.ZodOptional<z.ZodBoolean>;
3587
4863
  compatibility_date: z.ZodOptional<z.ZodString>;
3588
4864
  compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3589
4865
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
@@ -3661,13 +4937,20 @@ export declare const PLUGINS: {
3661
4937
  unset?: string[];
3662
4938
  }>;
3663
4939
  }>>;
3664
- }, "strip", z.ZodTypeAny, {
3665
- account_id?: number;
3666
- script_id?: number;
3667
- compatibility_date?: string;
3668
- compatibility_flags?: string[];
3669
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3670
- not_found_handling?: "none" | "single-page-application" | "404-page";
4940
+ has_static_routing: z.ZodOptional<z.ZodBoolean>;
4941
+ }, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
4942
+ headers?: {
4943
+ version?: 2;
4944
+ rules?: Record<string, {
4945
+ set?: Record<string, string>;
4946
+ unset?: string[];
4947
+ }>;
4948
+ } | undefined;
4949
+ debug?: boolean | undefined;
4950
+ account_id?: number | undefined;
4951
+ script_id?: number | undefined;
4952
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
4953
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3671
4954
  redirects?: {
3672
4955
  version?: 1;
3673
4956
  staticRules?: Record<string, {
@@ -3679,21 +4962,21 @@ export declare const PLUGINS: {
3679
4962
  status?: number;
3680
4963
  to?: string;
3681
4964
  }>;
3682
- };
4965
+ } | undefined;
4966
+ has_static_routing?: boolean | undefined;
4967
+ }, {
3683
4968
  headers?: {
3684
4969
  version?: 2;
3685
4970
  rules?: Record<string, {
3686
4971
  set?: Record<string, string>;
3687
4972
  unset?: string[];
3688
4973
  }>;
3689
- };
3690
- }, {
3691
- account_id?: number;
3692
- script_id?: number;
3693
- compatibility_date?: string;
3694
- compatibility_flags?: string[];
3695
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3696
- not_found_handling?: "none" | "single-page-application" | "404-page";
4974
+ } | undefined;
4975
+ debug?: boolean | undefined;
4976
+ account_id?: number | undefined;
4977
+ script_id?: number | undefined;
4978
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
4979
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3697
4980
  redirects?: {
3698
4981
  version?: 1;
3699
4982
  staticRules?: Record<string, {
@@ -3705,14 +4988,8 @@ export declare const PLUGINS: {
3705
4988
  status?: number;
3706
4989
  to?: string;
3707
4990
  }>;
3708
- };
3709
- headers?: {
3710
- version?: 2;
3711
- rules?: Record<string, {
3712
- set?: Record<string, string>;
3713
- unset?: string[];
3714
- }>;
3715
- };
4991
+ } | undefined;
4992
+ has_static_routing?: boolean | undefined;
3716
4993
  }>>;
3717
4994
  }, "strip", z.ZodTypeAny, {
3718
4995
  directory: string;
@@ -3721,16 +4998,28 @@ export declare const PLUGINS: {
3721
4998
  routerConfig?: {
3722
4999
  account_id?: number;
3723
5000
  script_id?: number;
5001
+ debug?: boolean;
3724
5002
  invoke_user_worker_ahead_of_assets?: boolean;
5003
+ static_routing?: {
5004
+ version?: 1;
5005
+ include?: string[];
5006
+ exclude?: string[];
5007
+ };
3725
5008
  has_user_worker?: boolean;
3726
5009
  } | undefined;
3727
5010
  assetConfig?: {
3728
- account_id?: number;
3729
- script_id?: number;
3730
- compatibility_date?: string;
3731
- compatibility_flags?: string[];
3732
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3733
- not_found_handling?: "none" | "single-page-application" | "404-page";
5011
+ headers?: {
5012
+ version?: 2;
5013
+ rules?: Record<string, {
5014
+ set?: Record<string, string>;
5015
+ unset?: string[];
5016
+ }>;
5017
+ } | undefined;
5018
+ debug?: boolean | undefined;
5019
+ account_id?: number | undefined;
5020
+ script_id?: number | undefined;
5021
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
5022
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3734
5023
  redirects?: {
3735
5024
  version?: 1;
3736
5025
  staticRules?: Record<string, {
@@ -3742,14 +5031,8 @@ export declare const PLUGINS: {
3742
5031
  status?: number;
3743
5032
  to?: string;
3744
5033
  }>;
3745
- };
3746
- headers?: {
3747
- version?: 2;
3748
- rules?: Record<string, {
3749
- set?: Record<string, string>;
3750
- unset?: string[];
3751
- }>;
3752
- };
5034
+ } | undefined;
5035
+ has_static_routing?: boolean | undefined;
3753
5036
  } | undefined;
3754
5037
  }, {
3755
5038
  directory: string;
@@ -3758,16 +5041,28 @@ export declare const PLUGINS: {
3758
5041
  routerConfig?: {
3759
5042
  account_id?: number;
3760
5043
  script_id?: number;
5044
+ debug?: boolean;
3761
5045
  invoke_user_worker_ahead_of_assets?: boolean;
5046
+ static_routing?: {
5047
+ version?: 1;
5048
+ include?: string[];
5049
+ exclude?: string[];
5050
+ };
3762
5051
  has_user_worker?: boolean;
3763
5052
  } | undefined;
3764
5053
  assetConfig?: {
3765
- account_id?: number;
3766
- script_id?: number;
3767
- compatibility_date?: string;
3768
- compatibility_flags?: string[];
3769
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3770
- not_found_handling?: "none" | "single-page-application" | "404-page";
5054
+ headers?: {
5055
+ version?: 2;
5056
+ rules?: Record<string, {
5057
+ set?: Record<string, string>;
5058
+ unset?: string[];
5059
+ }>;
5060
+ } | undefined;
5061
+ debug?: boolean | undefined;
5062
+ account_id?: number | undefined;
5063
+ script_id?: number | undefined;
5064
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
5065
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3771
5066
  redirects?: {
3772
5067
  version?: 1;
3773
5068
  staticRules?: Record<string, {
@@ -3779,16 +5074,12 @@ export declare const PLUGINS: {
3779
5074
  status?: number;
3780
5075
  to?: string;
3781
5076
  }>;
3782
- };
3783
- headers?: {
3784
- version?: 2;
3785
- rules?: Record<string, {
3786
- set?: Record<string, string>;
3787
- unset?: string[];
3788
- }>;
3789
- };
5077
+ } | undefined;
5078
+ has_static_routing?: boolean | undefined;
3790
5079
  } | undefined;
3791
5080
  }>>;
5081
+ compatibilityDate: z.ZodOptional<z.ZodString>;
5082
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3792
5083
  }, "strip", z.ZodTypeAny, {
3793
5084
  assets?: {
3794
5085
  directory: string;
@@ -3797,16 +5088,28 @@ export declare const PLUGINS: {
3797
5088
  routerConfig?: {
3798
5089
  account_id?: number;
3799
5090
  script_id?: number;
5091
+ debug?: boolean;
3800
5092
  invoke_user_worker_ahead_of_assets?: boolean;
5093
+ static_routing?: {
5094
+ version?: 1;
5095
+ include?: string[];
5096
+ exclude?: string[];
5097
+ };
3801
5098
  has_user_worker?: boolean;
3802
5099
  } | undefined;
3803
5100
  assetConfig?: {
3804
- account_id?: number;
3805
- script_id?: number;
3806
- compatibility_date?: string;
3807
- compatibility_flags?: string[];
3808
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3809
- not_found_handling?: "none" | "single-page-application" | "404-page";
5101
+ headers?: {
5102
+ version?: 2;
5103
+ rules?: Record<string, {
5104
+ set?: Record<string, string>;
5105
+ unset?: string[];
5106
+ }>;
5107
+ } | undefined;
5108
+ debug?: boolean | undefined;
5109
+ account_id?: number | undefined;
5110
+ script_id?: number | undefined;
5111
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
5112
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3810
5113
  redirects?: {
3811
5114
  version?: 1;
3812
5115
  staticRules?: Record<string, {
@@ -3818,16 +5121,12 @@ export declare const PLUGINS: {
3818
5121
  status?: number;
3819
5122
  to?: string;
3820
5123
  }>;
3821
- };
3822
- headers?: {
3823
- version?: 2;
3824
- rules?: Record<string, {
3825
- set?: Record<string, string>;
3826
- unset?: string[];
3827
- }>;
3828
- };
3829
5124
  } | undefined;
5125
+ has_static_routing?: boolean | undefined;
3830
5126
  } | undefined;
5127
+ } | undefined;
5128
+ compatibilityDate?: string | undefined;
5129
+ compatibilityFlags?: string[] | undefined;
3831
5130
  }, {
3832
5131
  assets?: {
3833
5132
  directory: string;
@@ -3836,16 +5135,28 @@ export declare const PLUGINS: {
3836
5135
  routerConfig?: {
3837
5136
  account_id?: number;
3838
5137
  script_id?: number;
5138
+ debug?: boolean;
3839
5139
  invoke_user_worker_ahead_of_assets?: boolean;
5140
+ static_routing?: {
5141
+ version?: 1;
5142
+ include?: string[];
5143
+ exclude?: string[];
5144
+ };
3840
5145
  has_user_worker?: boolean;
3841
5146
  } | undefined;
3842
5147
  assetConfig?: {
3843
- account_id?: number;
3844
- script_id?: number;
3845
- compatibility_date?: string;
3846
- compatibility_flags?: string[];
3847
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3848
- not_found_handling?: "none" | "single-page-application" | "404-page";
5148
+ headers?: {
5149
+ version?: 2;
5150
+ rules?: Record<string, {
5151
+ set?: Record<string, string>;
5152
+ unset?: string[];
5153
+ }>;
5154
+ } | undefined;
5155
+ debug?: boolean | undefined;
5156
+ account_id?: number | undefined;
5157
+ script_id?: number | undefined;
5158
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
5159
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3849
5160
  redirects?: {
3850
5161
  version?: 1;
3851
5162
  staticRules?: Record<string, {
@@ -3857,42 +5168,43 @@ export declare const PLUGINS: {
3857
5168
  status?: number;
3858
5169
  to?: string;
3859
5170
  }>;
3860
- };
3861
- headers?: {
3862
- version?: 2;
3863
- rules?: Record<string, {
3864
- set?: Record<string, string>;
3865
- unset?: string[];
3866
- }>;
3867
- };
3868
5171
  } | undefined;
5172
+ has_static_routing?: boolean | undefined;
3869
5173
  } | undefined;
5174
+ } | undefined;
5175
+ compatibilityDate?: string | undefined;
5176
+ compatibilityFlags?: string[] | undefined;
3870
5177
  }>>;
3871
5178
  workflows: Plugin_2<z.ZodObject<{
3872
5179
  workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3873
5180
  name: z.ZodString;
3874
5181
  className: z.ZodString;
3875
5182
  scriptName: z.ZodOptional<z.ZodString>;
5183
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
3876
5184
  }, "strip", z.ZodTypeAny, {
3877
5185
  name: string;
3878
5186
  className: string;
3879
5187
  scriptName?: string | undefined;
5188
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3880
5189
  }, {
3881
5190
  name: string;
3882
5191
  className: string;
3883
5192
  scriptName?: string | undefined;
5193
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3884
5194
  }>>>;
3885
5195
  }, "strip", z.ZodTypeAny, {
3886
5196
  workflows?: Record<string, {
3887
5197
  name: string;
3888
5198
  className: string;
3889
5199
  scriptName?: string | undefined;
5200
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3890
5201
  }> | undefined;
3891
5202
  }, {
3892
5203
  workflows?: Record<string, {
3893
5204
  name: string;
3894
5205
  className: string;
3895
5206
  scriptName?: string | undefined;
5207
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
3896
5208
  }> | undefined;
3897
5209
  }>, z.ZodObject<{
3898
5210
  workflowsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
@@ -3908,6 +5220,264 @@ export declare const PLUGINS: {
3908
5220
  }, {
3909
5221
  pipelines?: string[] | Record<string, string> | undefined;
3910
5222
  }>>;
5223
+ "secrets-store": Plugin_2<z.ZodObject<{
5224
+ secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5225
+ store_id: z.ZodString;
5226
+ secret_name: z.ZodString;
5227
+ }, "strip", z.ZodTypeAny, {
5228
+ store_id: string;
5229
+ secret_name: string;
5230
+ }, {
5231
+ store_id: string;
5232
+ secret_name: string;
5233
+ }>>>;
5234
+ }, "strip", z.ZodTypeAny, {
5235
+ secretsStoreSecrets?: Record<string, {
5236
+ store_id: string;
5237
+ secret_name: string;
5238
+ }> | undefined;
5239
+ }, {
5240
+ secretsStoreSecrets?: Record<string, {
5241
+ store_id: string;
5242
+ secret_name: string;
5243
+ }> | undefined;
5244
+ }>, z.ZodObject<{
5245
+ secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
5246
+ }, "strip", z.ZodTypeAny, {
5247
+ secretsStorePersist?: string | boolean | undefined;
5248
+ }, {
5249
+ secretsStorePersist?: string | boolean | undefined;
5250
+ }>>;
5251
+ email: Plugin_2<z.ZodObject<{
5252
+ email: z.ZodOptional<z.ZodObject<{
5253
+ send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
5254
+ name: z.ZodString;
5255
+ }, "strip", z.ZodTypeAny, {
5256
+ name: string;
5257
+ }, {
5258
+ name: string;
5259
+ }>, z.ZodUnion<[z.ZodObject<{
5260
+ destination_address: z.ZodOptional<z.ZodString>;
5261
+ allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
5262
+ }, "strip", z.ZodTypeAny, {
5263
+ destination_address?: string | undefined;
5264
+ allowed_destination_addresses?: undefined;
5265
+ }, {
5266
+ destination_address?: string | undefined;
5267
+ allowed_destination_addresses?: undefined;
5268
+ }>, z.ZodObject<{
5269
+ allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5270
+ destination_address: z.ZodOptional<z.ZodNever>;
5271
+ }, "strip", z.ZodTypeAny, {
5272
+ allowed_destination_addresses?: string[] | undefined;
5273
+ destination_address?: undefined;
5274
+ }, {
5275
+ allowed_destination_addresses?: string[] | undefined;
5276
+ destination_address?: undefined;
5277
+ }>]>>, "many">>;
5278
+ }, "strip", z.ZodTypeAny, {
5279
+ send_email?: ({
5280
+ name: string;
5281
+ } & ({
5282
+ destination_address?: string | undefined;
5283
+ allowed_destination_addresses?: undefined;
5284
+ } | {
5285
+ allowed_destination_addresses?: string[] | undefined;
5286
+ destination_address?: undefined;
5287
+ }))[] | undefined;
5288
+ }, {
5289
+ send_email?: ({
5290
+ name: string;
5291
+ } & ({
5292
+ destination_address?: string | undefined;
5293
+ allowed_destination_addresses?: undefined;
5294
+ } | {
5295
+ allowed_destination_addresses?: string[] | undefined;
5296
+ destination_address?: undefined;
5297
+ }))[] | undefined;
5298
+ }>>;
5299
+ }, "strip", z.ZodTypeAny, {
5300
+ email?: {
5301
+ send_email?: ({
5302
+ name: string;
5303
+ } & ({
5304
+ destination_address?: string | undefined;
5305
+ allowed_destination_addresses?: undefined;
5306
+ } | {
5307
+ allowed_destination_addresses?: string[] | undefined;
5308
+ destination_address?: undefined;
5309
+ }))[] | undefined;
5310
+ } | undefined;
5311
+ }, {
5312
+ email?: {
5313
+ send_email?: ({
5314
+ name: string;
5315
+ } & ({
5316
+ destination_address?: string | undefined;
5317
+ allowed_destination_addresses?: undefined;
5318
+ } | {
5319
+ allowed_destination_addresses?: string[] | undefined;
5320
+ destination_address?: undefined;
5321
+ }))[] | undefined;
5322
+ } | undefined;
5323
+ }>>;
5324
+ "analytics-engine": Plugin_2<z.ZodObject<{
5325
+ analyticsEngineDatasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5326
+ dataset: z.ZodString;
5327
+ }, "strip", z.ZodTypeAny, {
5328
+ dataset: string;
5329
+ }, {
5330
+ dataset: string;
5331
+ }>>>;
5332
+ }, "strip", z.ZodTypeAny, {
5333
+ analyticsEngineDatasets?: Record<string, {
5334
+ dataset: string;
5335
+ }> | undefined;
5336
+ }, {
5337
+ analyticsEngineDatasets?: Record<string, {
5338
+ dataset: string;
5339
+ }> | undefined;
5340
+ }>, z.ZodObject<{
5341
+ analyticsEngineDatasetsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
5342
+ }, "strip", z.ZodTypeAny, {
5343
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
5344
+ }, {
5345
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
5346
+ }>>;
5347
+ ai: Plugin_2<z.ZodObject<{
5348
+ ai: z.ZodOptional<z.ZodObject<{
5349
+ binding: z.ZodString;
5350
+ mixedModeConnectionString: z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>;
5351
+ }, "strip", z.ZodTypeAny, {
5352
+ mixedModeConnectionString: URL & {
5353
+ __brand: "MixedModeConnectionString";
5354
+ };
5355
+ binding: string;
5356
+ }, {
5357
+ mixedModeConnectionString: URL & {
5358
+ __brand: "MixedModeConnectionString";
5359
+ };
5360
+ binding: string;
5361
+ }>>;
5362
+ }, "strip", z.ZodTypeAny, {
5363
+ ai?: {
5364
+ mixedModeConnectionString: URL & {
5365
+ __brand: "MixedModeConnectionString";
5366
+ };
5367
+ binding: string;
5368
+ } | undefined;
5369
+ }, {
5370
+ ai?: {
5371
+ mixedModeConnectionString: URL & {
5372
+ __brand: "MixedModeConnectionString";
5373
+ };
5374
+ binding: string;
5375
+ } | undefined;
5376
+ }>>;
5377
+ "browser-rendering": Plugin_2<z.ZodObject<{
5378
+ browserRendering: z.ZodOptional<z.ZodObject<{
5379
+ binding: z.ZodString;
5380
+ mixedModeConnectionString: z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>;
5381
+ }, "strip", z.ZodTypeAny, {
5382
+ mixedModeConnectionString: URL & {
5383
+ __brand: "MixedModeConnectionString";
5384
+ };
5385
+ binding: string;
5386
+ }, {
5387
+ mixedModeConnectionString: URL & {
5388
+ __brand: "MixedModeConnectionString";
5389
+ };
5390
+ binding: string;
5391
+ }>>;
5392
+ }, "strip", z.ZodTypeAny, {
5393
+ browserRendering?: {
5394
+ mixedModeConnectionString: URL & {
5395
+ __brand: "MixedModeConnectionString";
5396
+ };
5397
+ binding: string;
5398
+ } | undefined;
5399
+ }, {
5400
+ browserRendering?: {
5401
+ mixedModeConnectionString: URL & {
5402
+ __brand: "MixedModeConnectionString";
5403
+ };
5404
+ binding: string;
5405
+ } | undefined;
5406
+ }>>;
5407
+ "dispatch-namespace": Plugin_2<z.ZodObject<{
5408
+ dispatchNamespaces: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5409
+ namespace: z.ZodString;
5410
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
5411
+ }, "strip", z.ZodTypeAny, {
5412
+ namespace: string;
5413
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5414
+ }, {
5415
+ namespace: string;
5416
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5417
+ }>>>;
5418
+ }, "strip", z.ZodTypeAny, {
5419
+ dispatchNamespaces?: Record<string, {
5420
+ namespace: string;
5421
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5422
+ }> | undefined;
5423
+ }, {
5424
+ dispatchNamespaces?: Record<string, {
5425
+ namespace: string;
5426
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5427
+ }> | undefined;
5428
+ }>>;
5429
+ images: Plugin_2<z.ZodObject<{
5430
+ images: z.ZodOptional<z.ZodObject<{
5431
+ binding: z.ZodString;
5432
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>>;
5433
+ }, "strip", z.ZodTypeAny, {
5434
+ binding: string;
5435
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5436
+ }, {
5437
+ binding: string;
5438
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5439
+ }>>;
5440
+ }, "strip", z.ZodTypeAny, {
5441
+ images?: {
5442
+ binding: string;
5443
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5444
+ } | undefined;
5445
+ }, {
5446
+ images?: {
5447
+ binding: string;
5448
+ mixedModeConnectionString?: MixedModeConnectionString_3 | undefined;
5449
+ } | undefined;
5450
+ }>>;
5451
+ vectorize: Plugin_2<z.ZodObject<{
5452
+ vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5453
+ index_name: z.ZodString;
5454
+ mixedModeConnectionString: z.ZodType<MixedModeConnectionString_3, z.ZodTypeDef, MixedModeConnectionString_3>;
5455
+ }, "strip", z.ZodTypeAny, {
5456
+ mixedModeConnectionString: URL & {
5457
+ __brand: "MixedModeConnectionString";
5458
+ };
5459
+ index_name: string;
5460
+ }, {
5461
+ mixedModeConnectionString: URL & {
5462
+ __brand: "MixedModeConnectionString";
5463
+ };
5464
+ index_name: string;
5465
+ }>>>;
5466
+ }, "strip", z.ZodTypeAny, {
5467
+ vectorize?: Record<string, {
5468
+ mixedModeConnectionString: URL & {
5469
+ __brand: "MixedModeConnectionString";
5470
+ };
5471
+ index_name: string;
5472
+ }> | undefined;
5473
+ }, {
5474
+ vectorize?: Record<string, {
5475
+ mixedModeConnectionString: URL & {
5476
+ __brand: "MixedModeConnectionString";
5477
+ };
5478
+ index_name: string;
5479
+ }> | undefined;
5480
+ }>>;
3911
5481
  };
3912
5482
 
3913
5483
  export declare type Plugins = typeof PLUGINS;
@@ -3928,7 +5498,6 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
3928
5498
  unsafeEphemeralDurableObjects: boolean;
3929
5499
  queueProducers: QueueProducers;
3930
5500
  queueConsumers: QueueConsumers;
3931
- unsafeEnableAssetsRpc: boolean;
3932
5501
  }
3933
5502
 
3934
5503
  export declare function prefixError(prefix: string, e: any): Error;
@@ -4229,12 +5798,15 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
4229
5798
  queueProducers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodObject<{
4230
5799
  queueName: z.ZodString;
4231
5800
  deliveryDelay: z.ZodOptional<z.ZodNumber>;
5801
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
4232
5802
  }, "strip", z.ZodTypeAny, {
4233
5803
  queueName: string;
4234
5804
  deliveryDelay?: number | undefined;
5805
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
4235
5806
  }, {
4236
5807
  queueName: string;
4237
5808
  deliveryDelay?: number | undefined;
5809
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
4238
5810
  }>>, z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
4239
5811
  queueConsumers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
4240
5812
  maxBatchSize: z.ZodOptional<z.ZodNumber>;
@@ -4276,6 +5848,7 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
4276
5848
  queueProducers?: string[] | Record<string, string> | Record<string, {
4277
5849
  queueName: string;
4278
5850
  deliveryDelay?: number | undefined;
5851
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
4279
5852
  }> | undefined;
4280
5853
  queueConsumers?: string[] | Record<string, Omit<{
4281
5854
  maxBatchSize?: number | undefined;
@@ -4289,6 +5862,7 @@ export declare const QueuesOptionsSchema: z.ZodObject<{
4289
5862
  queueProducers?: string[] | Record<string, string> | Record<string, {
4290
5863
  queueName: string;
4291
5864
  deliveryDelay?: number | undefined;
5865
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
4292
5866
  }> | undefined;
4293
5867
  queueConsumers?: string[] | Record<string, {
4294
5868
  maxBatchSize?: number | undefined;
@@ -4307,11 +5881,26 @@ export declare const R2_PLUGIN: Plugin<typeof R2OptionsSchema, typeof R2SharedOp
4307
5881
  export declare const R2_PLUGIN_NAME = "r2";
4308
5882
 
4309
5883
  export declare const R2OptionsSchema: z.ZodObject<{
4310
- r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodString, "many">]>>;
5884
+ r2Buckets: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodRecord<z.ZodString, z.ZodObject<{
5885
+ id: z.ZodString;
5886
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
5887
+ }, "strip", z.ZodTypeAny, {
5888
+ id: string;
5889
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5890
+ }, {
5891
+ id: string;
5892
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5893
+ }>>, z.ZodArray<z.ZodString, "many">]>>;
4311
5894
  }, "strip", z.ZodTypeAny, {
4312
- r2Buckets?: string[] | Record<string, string> | undefined;
5895
+ r2Buckets?: string[] | Record<string, string> | Record<string, {
5896
+ id: string;
5897
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5898
+ }> | undefined;
4313
5899
  }, {
4314
- r2Buckets?: string[] | Record<string, string> | undefined;
5900
+ r2Buckets?: string[] | Record<string, string> | Record<string, {
5901
+ id: string;
5902
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5903
+ }> | undefined;
4315
5904
  }>;
4316
5905
 
4317
5906
  export declare const R2SharedOptionsSchema: z.ZodObject<{
@@ -4477,6 +6066,41 @@ export declare interface RuntimeOptions {
4477
6066
 
4478
6067
  export declare function sanitisePath(unsafe: string): string;
4479
6068
 
6069
+ export declare const SECRET_STORE_PLUGIN: Plugin<typeof SecretsStoreSecretsOptionsSchema, typeof SecretsStoreSecretsSharedOptionsSchema>;
6070
+
6071
+ export declare const SECRET_STORE_PLUGIN_NAME = "secrets-store";
6072
+
6073
+ export declare const SecretsStoreSecretsOptionsSchema: z.ZodObject<{
6074
+ secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6075
+ store_id: z.ZodString;
6076
+ secret_name: z.ZodString;
6077
+ }, "strip", z.ZodTypeAny, {
6078
+ store_id: string;
6079
+ secret_name: string;
6080
+ }, {
6081
+ store_id: string;
6082
+ secret_name: string;
6083
+ }>>>;
6084
+ }, "strip", z.ZodTypeAny, {
6085
+ secretsStoreSecrets?: Record<string, {
6086
+ store_id: string;
6087
+ secret_name: string;
6088
+ }> | undefined;
6089
+ }, {
6090
+ secretsStoreSecrets?: Record<string, {
6091
+ store_id: string;
6092
+ secret_name: string;
6093
+ }> | undefined;
6094
+ }>;
6095
+
6096
+ export declare const SecretsStoreSecretsSharedOptionsSchema: z.ZodObject<{
6097
+ secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
6098
+ }, "strip", z.ZodTypeAny, {
6099
+ secretsStorePersist?: string | boolean | undefined;
6100
+ }, {
6101
+ secretsStorePersist?: string | boolean | undefined;
6102
+ }>;
6103
+
4480
6104
  export declare interface SerialisableMatcherRegExps {
4481
6105
  include: string[];
4482
6106
  exclude: string[];
@@ -4512,6 +6136,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
4512
6136
  export declare interface ServiceDesignator {
4513
6137
  name?: string;
4514
6138
  entrypoint?: string;
6139
+ props?: {
6140
+ json: string;
6141
+ };
4515
6142
  }
4516
6143
 
4517
6144
  export declare interface ServicesExtensions {
@@ -4532,7 +6159,7 @@ export declare const SharedHeaders: {
4532
6159
  readonly LOG_LEVEL: "MF-Log-Level";
4533
6160
  };
4534
6161
 
4535
- 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>;
6162
+ 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> & z.input<typeof SECRET_STORE_PLUGIN.sharedOptions> & z.input<typeof ANALYTICS_ENGINE_PLUGIN.sharedOptions>;
4536
6163
 
4537
6164
  export declare const SiteBindings: {
4538
6165
  readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
@@ -4574,29 +6201,29 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
4574
6201
 
4575
6202
  export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4576
6203
  modules: z.ZodArray<z.ZodObject<{
4577
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
6204
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4578
6205
  path: z.ZodEffects<z.ZodString, string, string>;
4579
6206
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
4580
6207
  }, "strip", z.ZodTypeAny, {
4581
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6208
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4582
6209
  path: string;
4583
6210
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4584
6211
  }, {
4585
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6212
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4586
6213
  path: string;
4587
6214
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4588
6215
  }>, "many">;
4589
6216
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4590
6217
  }, "strip", z.ZodTypeAny, {
4591
6218
  modules: {
4592
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6219
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4593
6220
  path: string;
4594
6221
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4595
6222
  }[];
4596
6223
  modulesRoot?: string | undefined;
4597
6224
  }, {
4598
6225
  modules: {
4599
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6226
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4600
6227
  path: string;
4601
6228
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4602
6229
  }[];
@@ -4606,15 +6233,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4606
6233
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4607
6234
  modules: z.ZodOptional<z.ZodBoolean>;
4608
6235
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4609
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
6236
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4610
6237
  include: z.ZodArray<z.ZodString, "many">;
4611
6238
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4612
6239
  }, "strip", z.ZodTypeAny, {
4613
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6240
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4614
6241
  include: string[];
4615
6242
  fallthrough?: boolean | undefined;
4616
6243
  }, {
4617
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6244
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4618
6245
  include: string[];
4619
6246
  fallthrough?: boolean | undefined;
4620
6247
  }>, "many">>;
@@ -4624,7 +6251,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4624
6251
  scriptPath?: string | undefined;
4625
6252
  modules?: boolean | undefined;
4626
6253
  modulesRules?: {
4627
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6254
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4628
6255
  include: string[];
4629
6256
  fallthrough?: boolean | undefined;
4630
6257
  }[] | undefined;
@@ -4634,7 +6261,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4634
6261
  scriptPath?: string | undefined;
4635
6262
  modules?: boolean | undefined;
4636
6263
  modulesRules?: {
4637
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6264
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4638
6265
  include: string[];
4639
6266
  fallthrough?: boolean | undefined;
4640
6267
  }[] | undefined;
@@ -4643,15 +6270,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4643
6270
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
4644
6271
  modules: z.ZodOptional<z.ZodBoolean>;
4645
6272
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4646
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
6273
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4647
6274
  include: z.ZodArray<z.ZodString, "many">;
4648
6275
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4649
6276
  }, "strip", z.ZodTypeAny, {
4650
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6277
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4651
6278
  include: string[];
4652
6279
  fallthrough?: boolean | undefined;
4653
6280
  }, {
4654
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6281
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4655
6282
  include: string[];
4656
6283
  fallthrough?: boolean | undefined;
4657
6284
  }>, "many">>;
@@ -4660,7 +6287,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4660
6287
  scriptPath: string;
4661
6288
  modules?: boolean | undefined;
4662
6289
  modulesRules?: {
4663
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6290
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4664
6291
  include: string[];
4665
6292
  fallthrough?: boolean | undefined;
4666
6293
  }[] | undefined;
@@ -4669,7 +6296,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4669
6296
  scriptPath: string;
4670
6297
  modules?: boolean | undefined;
4671
6298
  modulesRules?: {
4672
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
6299
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4673
6300
  include: string[];
4674
6301
  fallthrough?: boolean | undefined;
4675
6302
  }[] | undefined;
@@ -4738,6 +6365,41 @@ export declare type UnsafeUniqueKey = string | typeof kUnsafeEphemeralUniqueKey;
4738
6365
 
4739
6366
  export declare type ValueOf<T> = T[keyof T];
4740
6367
 
6368
+ export declare const VECTORIZE_PLUGIN: Plugin<typeof VectorizeOptionsSchema>;
6369
+
6370
+ export declare const VECTORIZE_PLUGIN_NAME = "vectorize";
6371
+
6372
+ export declare const VectorizeOptionsSchema: z.ZodObject<{
6373
+ vectorize: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6374
+ index_name: z.ZodString;
6375
+ mixedModeConnectionString: z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>;
6376
+ }, "strip", z.ZodTypeAny, {
6377
+ mixedModeConnectionString: URL & {
6378
+ __brand: "MixedModeConnectionString";
6379
+ };
6380
+ index_name: string;
6381
+ }, {
6382
+ mixedModeConnectionString: URL & {
6383
+ __brand: "MixedModeConnectionString";
6384
+ };
6385
+ index_name: string;
6386
+ }>>>;
6387
+ }, "strip", z.ZodTypeAny, {
6388
+ vectorize?: Record<string, {
6389
+ mixedModeConnectionString: URL & {
6390
+ __brand: "MixedModeConnectionString";
6391
+ };
6392
+ index_name: string;
6393
+ }> | undefined;
6394
+ }, {
6395
+ vectorize?: Record<string, {
6396
+ mixedModeConnectionString: URL & {
6397
+ __brand: "MixedModeConnectionString";
6398
+ };
6399
+ index_name: string;
6400
+ }> | undefined;
6401
+ }>;
6402
+
4741
6403
  export declare function viewToBuffer(view: ArrayBufferView): ArrayBuffer;
4742
6404
 
4743
6405
  export declare type Void = typeof kVoid;
@@ -4801,6 +6463,7 @@ export declare type Worker = ({
4801
6463
  durableObjectUniqueKeyModifier?: string;
4802
6464
  durableObjectStorage?: Worker_DurableObjectStorage;
4803
6465
  moduleFallback?: string;
6466
+ tails?: ServiceDesignator[];
4804
6467
  };
4805
6468
 
4806
6469
  export declare type Worker_Binding = {
@@ -4975,15 +6638,13 @@ export declare type Worker_Module = {
4975
6638
  wasm?: Uint8Array;
4976
6639
  } | {
4977
6640
  json?: string;
4978
- } | {
4979
- nodeJsCompatModule?: string;
4980
6641
  } | {
4981
6642
  pythonModule?: string;
4982
6643
  } | {
4983
6644
  pythonRequirement?: string;
4984
6645
  });
4985
6646
 
4986
- export declare type WorkerOptions = z.input<typeof CORE_PLUGIN.options> & z.input<typeof CACHE_PLUGIN.options> & z.input<typeof D1_PLUGIN.options> & z.input<typeof DURABLE_OBJECTS_PLUGIN.options> & z.input<typeof KV_PLUGIN.options> & z.input<typeof QUEUES_PLUGIN.options> & z.input<typeof R2_PLUGIN.options> & z.input<typeof HYPERDRIVE_PLUGIN.options> & z.input<typeof RATELIMIT_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options>;
6647
+ 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 EMAIL_PLUGIN.options> & z.input<typeof ASSETS_PLUGIN.options> & z.input<typeof WORKFLOWS_PLUGIN.options> & z.input<typeof PIPELINE_PLUGIN.options> & z.input<typeof SECRET_STORE_PLUGIN.options> & z.input<typeof ANALYTICS_ENGINE_PLUGIN.options> & z.input<typeof AI_PLUGIN.options> & z.input<typeof BROWSER_RENDERING_PLUGIN.options> & z.input<typeof DISPATCH_NAMESPACE_PLUGIN.options> & z.input<typeof IMAGES_PLUGIN.options> & z.input<typeof VECTORIZE_PLUGIN.options>;
4987
6648
 
4988
6649
  export declare interface WorkerRoute {
4989
6650
  target: string;
@@ -5007,26 +6668,31 @@ export declare const WorkflowsOptionsSchema: z.ZodObject<{
5007
6668
  name: z.ZodString;
5008
6669
  className: z.ZodString;
5009
6670
  scriptName: z.ZodOptional<z.ZodString>;
6671
+ mixedModeConnectionString: z.ZodOptional<z.ZodType<MixedModeConnectionString, z.ZodTypeDef, MixedModeConnectionString>>;
5010
6672
  }, "strip", z.ZodTypeAny, {
5011
6673
  name: string;
5012
6674
  className: string;
5013
6675
  scriptName?: string | undefined;
6676
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5014
6677
  }, {
5015
6678
  name: string;
5016
6679
  className: string;
5017
6680
  scriptName?: string | undefined;
6681
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5018
6682
  }>>>;
5019
6683
  }, "strip", z.ZodTypeAny, {
5020
6684
  workflows?: Record<string, {
5021
6685
  name: string;
5022
6686
  className: string;
5023
6687
  scriptName?: string | undefined;
6688
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5024
6689
  }> | undefined;
5025
6690
  }, {
5026
6691
  workflows?: Record<string, {
5027
6692
  name: string;
5028
6693
  className: string;
5029
6694
  scriptName?: string | undefined;
6695
+ mixedModeConnectionString?: MixedModeConnectionString | undefined;
5030
6696
  }> | undefined;
5031
6697
  }>;
5032
6698