miniflare 0.0.0-2bc289e2e → 0.0.0-2c501151d

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 (30) hide show
  1. package/dist/src/index.d.ts +958 -166
  2. package/dist/src/index.js +2808 -973
  3. package/dist/src/index.js.map +3 -3
  4. package/dist/src/workers/analytics-engine/analytics-engine.worker.js +10 -0
  5. package/dist/src/workers/analytics-engine/analytics-engine.worker.js.map +6 -0
  6. package/dist/src/workers/assets/assets.worker.js +622 -241
  7. package/dist/src/workers/assets/assets.worker.js.map +2 -2
  8. package/dist/src/workers/assets/router.worker.js +3 -4
  9. package/dist/src/workers/assets/router.worker.js.map +1 -1
  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 +3371 -50
  15. package/dist/src/workers/core/entry.worker.js.map +3 -3
  16. package/dist/src/workers/d1/database.worker.js +6 -2
  17. package/dist/src/workers/d1/database.worker.js.map +1 -1
  18. package/dist/src/workers/email/email.worker.js +23 -0
  19. package/dist/src/workers/email/email.worker.js.map +6 -0
  20. package/dist/src/workers/email/send_email.worker.js +3180 -0
  21. package/dist/src/workers/email/send_email.worker.js.map +6 -0
  22. package/dist/src/workers/kv/namespace.worker.js +67 -2
  23. package/dist/src/workers/kv/namespace.worker.js.map +2 -2
  24. package/dist/src/workers/kv/sites.worker.js +2 -1
  25. package/dist/src/workers/kv/sites.worker.js.map +1 -1
  26. package/dist/src/workers/secrets-store/secret.worker.js +65 -0
  27. package/dist/src/workers/secrets-store/secret.worker.js.map +6 -0
  28. package/dist/src/workers/workflows/binding.worker.js +162 -5
  29. package/dist/src/workers/workflows/binding.worker.js.map +1 -1
  30. package/package.json +13 -10
@@ -23,6 +23,7 @@ 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 '..';
@@ -71,6 +72,36 @@ export declare class __MiniflareFunctionWrapper {
71
72
  });
72
73
  }
73
74
 
75
+ export declare const ANALYTICS_ENGINE_PLUGIN: Plugin<typeof AnalyticsEngineSchemaOptionsSchema, typeof AnalyticsEngineSchemaSharedOptionsSchema>;
76
+
77
+ export declare const ANALYTICS_ENGINE_PLUGIN_NAME = "analytics-engine";
78
+
79
+ export declare const AnalyticsEngineSchemaOptionsSchema: z.ZodObject<{
80
+ analyticsEngineDatasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
81
+ dataset: z.ZodString;
82
+ }, "strip", z.ZodTypeAny, {
83
+ dataset: string;
84
+ }, {
85
+ dataset: string;
86
+ }>>>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ analyticsEngineDatasets?: Record<string, {
89
+ dataset: string;
90
+ }> | undefined;
91
+ }, {
92
+ analyticsEngineDatasets?: Record<string, {
93
+ dataset: string;
94
+ }> | undefined;
95
+ }>;
96
+
97
+ export declare const AnalyticsEngineSchemaSharedOptionsSchema: z.ZodObject<{
98
+ analyticsEngineDatasetsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
101
+ }, {
102
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
103
+ }>;
104
+
74
105
  export declare type AnyHeaders = http.IncomingHttpHeaders | string[];
75
106
 
76
107
  export declare type AssetReverseMap = {
@@ -90,40 +121,153 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
90
121
  routerConfig: z.ZodOptional<z.ZodObject<{
91
122
  account_id: z.ZodOptional<z.ZodNumber>;
92
123
  script_id: z.ZodOptional<z.ZodNumber>;
124
+ debug: z.ZodOptional<z.ZodBoolean>;
93
125
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
94
126
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
95
127
  }, "strip", z.ZodTypeAny, {
96
128
  account_id?: number;
97
129
  script_id?: number;
130
+ debug?: boolean;
98
131
  invoke_user_worker_ahead_of_assets?: boolean;
99
132
  has_user_worker?: boolean;
100
133
  }, {
101
134
  account_id?: number;
102
135
  script_id?: number;
136
+ debug?: boolean;
103
137
  invoke_user_worker_ahead_of_assets?: boolean;
104
138
  has_user_worker?: boolean;
105
139
  }>>;
106
- assetConfig: z.ZodOptional<z.ZodObject<{
140
+ assetConfig: z.ZodOptional<z.ZodObject<Omit<{
107
141
  account_id: z.ZodOptional<z.ZodNumber>;
108
142
  script_id: z.ZodOptional<z.ZodNumber>;
143
+ debug: z.ZodOptional<z.ZodBoolean>;
109
144
  compatibility_date: z.ZodOptional<z.ZodString>;
110
145
  compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
111
146
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
112
147
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
113
- }, "strip", z.ZodTypeAny, {
114
- account_id?: number;
115
- script_id?: number;
116
- compatibility_date?: string;
117
- compatibility_flags?: string[];
118
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
119
- not_found_handling?: "none" | "single-page-application" | "404-page";
148
+ redirects: z.ZodOptional<z.ZodObject<{
149
+ version: z.ZodLiteral<1>;
150
+ staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
151
+ status: z.ZodNumber;
152
+ to: z.ZodString;
153
+ lineNumber: z.ZodNumber;
154
+ }, "strip", z.ZodTypeAny, {
155
+ status?: number;
156
+ to?: string;
157
+ lineNumber?: number;
158
+ }, {
159
+ status?: number;
160
+ to?: string;
161
+ lineNumber?: number;
162
+ }>>;
163
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
164
+ status: z.ZodNumber;
165
+ to: z.ZodString;
166
+ }, "strip", z.ZodTypeAny, {
167
+ status?: number;
168
+ to?: string;
169
+ }, {
170
+ status?: number;
171
+ to?: string;
172
+ }>>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ version?: 1;
175
+ staticRules?: Record<string, {
176
+ status?: number;
177
+ to?: string;
178
+ lineNumber?: number;
179
+ }>;
180
+ rules?: Record<string, {
181
+ status?: number;
182
+ to?: string;
183
+ }>;
184
+ }, {
185
+ version?: 1;
186
+ staticRules?: Record<string, {
187
+ status?: number;
188
+ to?: string;
189
+ lineNumber?: number;
190
+ }>;
191
+ rules?: Record<string, {
192
+ status?: number;
193
+ to?: string;
194
+ }>;
195
+ }>>;
196
+ headers: z.ZodOptional<z.ZodObject<{
197
+ version: z.ZodLiteral<2>;
198
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
199
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
200
+ unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ set?: Record<string, string>;
203
+ unset?: string[];
204
+ }, {
205
+ set?: Record<string, string>;
206
+ unset?: string[];
207
+ }>>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ version?: 2;
210
+ rules?: Record<string, {
211
+ set?: Record<string, string>;
212
+ unset?: string[];
213
+ }>;
214
+ }, {
215
+ version?: 2;
216
+ rules?: Record<string, {
217
+ set?: Record<string, string>;
218
+ unset?: string[];
219
+ }>;
220
+ }>>;
221
+ }, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
222
+ headers?: {
223
+ version?: 2;
224
+ rules?: Record<string, {
225
+ set?: Record<string, string>;
226
+ unset?: string[];
227
+ }>;
228
+ } | undefined;
229
+ debug?: boolean | undefined;
230
+ account_id?: number | undefined;
231
+ script_id?: number | undefined;
232
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
233
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
234
+ redirects?: {
235
+ version?: 1;
236
+ staticRules?: Record<string, {
237
+ status?: number;
238
+ to?: string;
239
+ lineNumber?: number;
240
+ }>;
241
+ rules?: Record<string, {
242
+ status?: number;
243
+ to?: string;
244
+ }>;
245
+ } | undefined;
120
246
  }, {
121
- account_id?: number;
122
- script_id?: number;
123
- compatibility_date?: string;
124
- compatibility_flags?: string[];
125
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
126
- not_found_handling?: "none" | "single-page-application" | "404-page";
247
+ headers?: {
248
+ version?: 2;
249
+ rules?: Record<string, {
250
+ set?: Record<string, string>;
251
+ unset?: string[];
252
+ }>;
253
+ } | undefined;
254
+ debug?: boolean | undefined;
255
+ account_id?: number | undefined;
256
+ script_id?: number | undefined;
257
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
258
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
259
+ redirects?: {
260
+ version?: 1;
261
+ staticRules?: Record<string, {
262
+ status?: number;
263
+ to?: string;
264
+ lineNumber?: number;
265
+ }>;
266
+ rules?: Record<string, {
267
+ status?: number;
268
+ to?: string;
269
+ }>;
270
+ } | undefined;
127
271
  }>>;
128
272
  }, "strip", z.ZodTypeAny, {
129
273
  directory: string;
@@ -132,16 +276,35 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
132
276
  routerConfig?: {
133
277
  account_id?: number;
134
278
  script_id?: number;
279
+ debug?: boolean;
135
280
  invoke_user_worker_ahead_of_assets?: boolean;
136
281
  has_user_worker?: boolean;
137
282
  } | undefined;
138
283
  assetConfig?: {
139
- account_id?: number;
140
- script_id?: number;
141
- compatibility_date?: string;
142
- compatibility_flags?: string[];
143
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
144
- not_found_handling?: "none" | "single-page-application" | "404-page";
284
+ headers?: {
285
+ version?: 2;
286
+ rules?: Record<string, {
287
+ set?: Record<string, string>;
288
+ unset?: string[];
289
+ }>;
290
+ } | undefined;
291
+ debug?: boolean | undefined;
292
+ account_id?: number | undefined;
293
+ script_id?: number | undefined;
294
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
295
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
296
+ redirects?: {
297
+ version?: 1;
298
+ staticRules?: Record<string, {
299
+ status?: number;
300
+ to?: string;
301
+ lineNumber?: number;
302
+ }>;
303
+ rules?: Record<string, {
304
+ status?: number;
305
+ to?: string;
306
+ }>;
307
+ } | undefined;
145
308
  } | undefined;
146
309
  }, {
147
310
  directory: string;
@@ -150,18 +313,39 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
150
313
  routerConfig?: {
151
314
  account_id?: number;
152
315
  script_id?: number;
316
+ debug?: boolean;
153
317
  invoke_user_worker_ahead_of_assets?: boolean;
154
318
  has_user_worker?: boolean;
155
319
  } | undefined;
156
320
  assetConfig?: {
157
- account_id?: number;
158
- script_id?: number;
159
- compatibility_date?: string;
160
- compatibility_flags?: string[];
161
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
162
- not_found_handling?: "none" | "single-page-application" | "404-page";
321
+ headers?: {
322
+ version?: 2;
323
+ rules?: Record<string, {
324
+ set?: Record<string, string>;
325
+ unset?: string[];
326
+ }>;
327
+ } | undefined;
328
+ debug?: boolean | undefined;
329
+ account_id?: number | undefined;
330
+ script_id?: number | undefined;
331
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
332
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
333
+ redirects?: {
334
+ version?: 1;
335
+ staticRules?: Record<string, {
336
+ status?: number;
337
+ to?: string;
338
+ lineNumber?: number;
339
+ }>;
340
+ rules?: Record<string, {
341
+ status?: number;
342
+ to?: string;
343
+ }>;
344
+ } | undefined;
163
345
  } | undefined;
164
346
  }>>;
347
+ compatibilityDate: z.ZodOptional<z.ZodString>;
348
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165
349
  }, "strip", z.ZodTypeAny, {
166
350
  assets?: {
167
351
  directory: string;
@@ -170,18 +354,39 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
170
354
  routerConfig?: {
171
355
  account_id?: number;
172
356
  script_id?: number;
357
+ debug?: boolean;
173
358
  invoke_user_worker_ahead_of_assets?: boolean;
174
359
  has_user_worker?: boolean;
175
360
  } | undefined;
176
361
  assetConfig?: {
177
- account_id?: number;
178
- script_id?: number;
179
- compatibility_date?: string;
180
- compatibility_flags?: string[];
181
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
182
- not_found_handling?: "none" | "single-page-application" | "404-page";
362
+ headers?: {
363
+ version?: 2;
364
+ rules?: Record<string, {
365
+ set?: Record<string, string>;
366
+ unset?: string[];
367
+ }>;
368
+ } | undefined;
369
+ debug?: boolean | undefined;
370
+ account_id?: number | undefined;
371
+ script_id?: number | undefined;
372
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
373
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
374
+ redirects?: {
375
+ version?: 1;
376
+ staticRules?: Record<string, {
377
+ status?: number;
378
+ to?: string;
379
+ lineNumber?: number;
380
+ }>;
381
+ rules?: Record<string, {
382
+ status?: number;
383
+ to?: string;
384
+ }>;
385
+ } | undefined;
183
386
  } | undefined;
184
387
  } | undefined;
388
+ compatibilityDate?: string | undefined;
389
+ compatibilityFlags?: string[] | undefined;
185
390
  }, {
186
391
  assets?: {
187
392
  directory: string;
@@ -190,18 +395,39 @@ export declare const AssetsOptionsSchema: z.ZodObject<{
190
395
  routerConfig?: {
191
396
  account_id?: number;
192
397
  script_id?: number;
398
+ debug?: boolean;
193
399
  invoke_user_worker_ahead_of_assets?: boolean;
194
400
  has_user_worker?: boolean;
195
401
  } | undefined;
196
402
  assetConfig?: {
197
- account_id?: number;
198
- script_id?: number;
199
- compatibility_date?: string;
200
- compatibility_flags?: string[];
201
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
202
- not_found_handling?: "none" | "single-page-application" | "404-page";
403
+ headers?: {
404
+ version?: 2;
405
+ rules?: Record<string, {
406
+ set?: Record<string, string>;
407
+ unset?: string[];
408
+ }>;
409
+ } | undefined;
410
+ debug?: boolean | undefined;
411
+ account_id?: number | undefined;
412
+ script_id?: number | undefined;
413
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
414
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
415
+ redirects?: {
416
+ version?: 1;
417
+ staticRules?: Record<string, {
418
+ status?: number;
419
+ to?: string;
420
+ lineNumber?: number;
421
+ }>;
422
+ rules?: Record<string, {
423
+ status?: number;
424
+ to?: string;
425
+ }>;
426
+ } | undefined;
203
427
  } | undefined;
204
428
  } | undefined;
429
+ compatibilityDate?: string | undefined;
430
+ compatibilityFlags?: string[] | undefined;
205
431
  }>;
206
432
 
207
433
  export declare type Awaitable<T> = T | Promise<T>;
@@ -307,6 +533,8 @@ export declare const CoreBindings: {
307
533
  readonly DURABLE_OBJECT_NAMESPACE_PROXY: "MINIFLARE_PROXY";
308
534
  readonly DATA_PROXY_SECRET: "MINIFLARE_PROXY_SECRET";
309
535
  readonly DATA_PROXY_SHARED_SECRET: "MINIFLARE_PROXY_SHARED_SECRET";
536
+ readonly TRIGGER_HANDLERS: "TRIGGER_HANDLERS";
537
+ readonly LOG_REQUESTS: "LOG_REQUESTS";
310
538
  };
311
539
 
312
540
  export declare const CoreHeaders: {
@@ -328,29 +556,29 @@ export declare const CoreHeaders: {
328
556
 
329
557
  export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
330
558
  modules: z.ZodArray<z.ZodObject<{
331
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
559
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
332
560
  path: z.ZodEffects<z.ZodString, string, string>;
333
561
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
334
562
  }, "strip", z.ZodTypeAny, {
335
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
563
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
336
564
  path: string;
337
565
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
338
566
  }, {
339
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
567
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
340
568
  path: string;
341
569
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
342
570
  }>, "many">;
343
571
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
344
572
  }, "strip", z.ZodTypeAny, {
345
573
  modules: {
346
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
574
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
347
575
  path: string;
348
576
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
349
577
  }[];
350
578
  modulesRoot?: string | undefined;
351
579
  }, {
352
580
  modules: {
353
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
581
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
354
582
  path: string;
355
583
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
356
584
  }[];
@@ -360,15 +588,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
360
588
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
361
589
  modules: z.ZodOptional<z.ZodBoolean>;
362
590
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
363
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
591
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
364
592
  include: z.ZodArray<z.ZodString, "many">;
365
593
  fallthrough: z.ZodOptional<z.ZodBoolean>;
366
594
  }, "strip", z.ZodTypeAny, {
367
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
595
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
368
596
  include: string[];
369
597
  fallthrough?: boolean | undefined;
370
598
  }, {
371
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
599
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
372
600
  include: string[];
373
601
  fallthrough?: boolean | undefined;
374
602
  }>, "many">>;
@@ -378,7 +606,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
378
606
  scriptPath?: string | undefined;
379
607
  modules?: boolean | undefined;
380
608
  modulesRules?: {
381
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
609
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
382
610
  include: string[];
383
611
  fallthrough?: boolean | undefined;
384
612
  }[] | undefined;
@@ -388,7 +616,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
388
616
  scriptPath?: string | undefined;
389
617
  modules?: boolean | undefined;
390
618
  modulesRules?: {
391
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
619
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
392
620
  include: string[];
393
621
  fallthrough?: boolean | undefined;
394
622
  }[] | undefined;
@@ -397,15 +625,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
397
625
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
398
626
  modules: z.ZodOptional<z.ZodBoolean>;
399
627
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
628
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
401
629
  include: z.ZodArray<z.ZodString, "many">;
402
630
  fallthrough: z.ZodOptional<z.ZodBoolean>;
403
631
  }, "strip", z.ZodTypeAny, {
404
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
632
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
405
633
  include: string[];
406
634
  fallthrough?: boolean | undefined;
407
635
  }, {
408
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
636
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
409
637
  include: string[];
410
638
  fallthrough?: boolean | undefined;
411
639
  }>, "many">>;
@@ -414,7 +642,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
414
642
  scriptPath: string;
415
643
  modules?: boolean | undefined;
416
644
  modulesRules?: {
417
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
645
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
418
646
  include: string[];
419
647
  fallthrough?: boolean | undefined;
420
648
  }[] | undefined;
@@ -423,7 +651,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
423
651
  scriptPath: string;
424
652
  modules?: boolean | undefined;
425
653
  modulesRules?: {
426
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
654
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
427
655
  include: string[];
428
656
  fallthrough?: boolean | undefined;
429
657
  }[] | undefined;
@@ -433,6 +661,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
433
661
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
434
662
  compatibilityDate: z.ZodOptional<z.ZodString>;
435
663
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
664
+ unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
436
665
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
437
666
  bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json, z.ZodTypeDef, Json>>>;
438
667
  wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
@@ -441,12 +670,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
441
670
  serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
442
671
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
443
672
  entrypoint: z.ZodOptional<z.ZodString>;
673
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
444
674
  }, "strip", z.ZodTypeAny, {
445
675
  name: string | typeof kCurrentWorker;
446
676
  entrypoint?: string | undefined;
677
+ props?: Record<string, unknown> | undefined;
447
678
  }, {
448
679
  name: string | typeof kCurrentWorker;
449
680
  entrypoint?: string | undefined;
681
+ props?: Record<string, unknown> | undefined;
450
682
  }>, z.ZodObject<{
451
683
  network: z.ZodObject<{
452
684
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -600,12 +832,15 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
600
832
  outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>, z.ZodObject<{
601
833
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<typeof kCurrentWorker>]>;
602
834
  entrypoint: z.ZodOptional<z.ZodString>;
835
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
603
836
  }, "strip", z.ZodTypeAny, {
604
837
  name: string | typeof kCurrentWorker;
605
838
  entrypoint?: string | undefined;
839
+ props?: Record<string, unknown> | undefined;
606
840
  }, {
607
841
  name: string | typeof kCurrentWorker;
608
842
  entrypoint?: string | undefined;
843
+ props?: Record<string, unknown> | undefined;
609
844
  }>, z.ZodObject<{
610
845
  network: z.ZodObject<{
611
846
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -768,12 +1003,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
768
1003
  Router Worker)
769
1004
  */
770
1005
  hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
771
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
772
1006
  }, "strip", z.ZodTypeAny, {
773
1007
  name?: string | undefined;
774
1008
  rootPath?: undefined;
775
1009
  compatibilityDate?: string | undefined;
776
1010
  compatibilityFlags?: string[] | undefined;
1011
+ unsafeInspectorProxy?: boolean | undefined;
777
1012
  routes?: string[] | undefined;
778
1013
  bindings?: Record<string, Json> | undefined;
779
1014
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -782,6 +1017,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
782
1017
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
783
1018
  name: string | typeof kCurrentWorker;
784
1019
  entrypoint?: string | undefined;
1020
+ props?: Record<string, unknown> | undefined;
785
1021
  } | {
786
1022
  network: {
787
1023
  allow?: string[] | undefined;
@@ -814,6 +1050,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
814
1050
  outboundService?: string | typeof kCurrentWorker | {
815
1051
  name: string | typeof kCurrentWorker;
816
1052
  entrypoint?: string | undefined;
1053
+ props?: Record<string, unknown> | undefined;
817
1054
  } | {
818
1055
  network: {
819
1056
  allow?: string[] | undefined;
@@ -849,12 +1086,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
849
1086
  unsafeEvalBinding?: string | undefined;
850
1087
  unsafeUseModuleFallbackService?: boolean | undefined;
851
1088
  hasAssetsAndIsVitest?: boolean | undefined;
852
- unsafeEnableAssetsRpc?: boolean | undefined;
853
1089
  }, {
854
1090
  name?: string | undefined;
855
1091
  rootPath?: string | undefined;
856
1092
  compatibilityDate?: string | undefined;
857
1093
  compatibilityFlags?: string[] | undefined;
1094
+ unsafeInspectorProxy?: boolean | undefined;
858
1095
  routes?: string[] | undefined;
859
1096
  bindings?: Record<string, Json> | undefined;
860
1097
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -863,6 +1100,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
863
1100
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
864
1101
  name: string | typeof kCurrentWorker;
865
1102
  entrypoint?: string | undefined;
1103
+ props?: Record<string, unknown> | undefined;
866
1104
  } | {
867
1105
  network: {
868
1106
  allow?: string[] | undefined;
@@ -895,6 +1133,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
895
1133
  outboundService?: string | typeof kCurrentWorker | {
896
1134
  name: string | typeof kCurrentWorker;
897
1135
  entrypoint?: string | undefined;
1136
+ props?: Record<string, unknown> | undefined;
898
1137
  } | {
899
1138
  network: {
900
1139
  allow?: string[] | undefined;
@@ -930,10 +1169,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
930
1169
  unsafeEvalBinding?: string | undefined;
931
1170
  unsafeUseModuleFallbackService?: boolean | undefined;
932
1171
  hasAssetsAndIsVitest?: boolean | undefined;
933
- unsafeEnableAssetsRpc?: boolean | undefined;
934
1172
  }>>, ({
935
1173
  modules: {
936
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1174
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
937
1175
  path: string;
938
1176
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
939
1177
  }[];
@@ -943,6 +1181,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
943
1181
  rootPath?: undefined;
944
1182
  compatibilityDate?: string | undefined;
945
1183
  compatibilityFlags?: string[] | undefined;
1184
+ unsafeInspectorProxy?: boolean | undefined;
946
1185
  routes?: string[] | undefined;
947
1186
  bindings?: Record<string, Json> | undefined;
948
1187
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -951,6 +1190,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
951
1190
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
952
1191
  name: string | typeof kCurrentWorker;
953
1192
  entrypoint?: string | undefined;
1193
+ props?: Record<string, unknown> | undefined;
954
1194
  } | {
955
1195
  network: {
956
1196
  allow?: string[] | undefined;
@@ -983,6 +1223,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
983
1223
  outboundService?: string | typeof kCurrentWorker | {
984
1224
  name: string | typeof kCurrentWorker;
985
1225
  entrypoint?: string | undefined;
1226
+ props?: Record<string, unknown> | undefined;
986
1227
  } | {
987
1228
  network: {
988
1229
  allow?: string[] | undefined;
@@ -1018,13 +1259,12 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1018
1259
  unsafeEvalBinding?: string | undefined;
1019
1260
  unsafeUseModuleFallbackService?: boolean | undefined;
1020
1261
  hasAssetsAndIsVitest?: boolean | undefined;
1021
- unsafeEnableAssetsRpc?: boolean | undefined;
1022
1262
  }) | ({
1023
1263
  script: string;
1024
1264
  scriptPath?: string | undefined;
1025
1265
  modules?: boolean | undefined;
1026
1266
  modulesRules?: {
1027
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1267
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1028
1268
  include: string[];
1029
1269
  fallthrough?: boolean | undefined;
1030
1270
  }[] | undefined;
@@ -1034,6 +1274,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1034
1274
  rootPath?: undefined;
1035
1275
  compatibilityDate?: string | undefined;
1036
1276
  compatibilityFlags?: string[] | undefined;
1277
+ unsafeInspectorProxy?: boolean | undefined;
1037
1278
  routes?: string[] | undefined;
1038
1279
  bindings?: Record<string, Json> | undefined;
1039
1280
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1042,6 +1283,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1042
1283
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1043
1284
  name: string | typeof kCurrentWorker;
1044
1285
  entrypoint?: string | undefined;
1286
+ props?: Record<string, unknown> | undefined;
1045
1287
  } | {
1046
1288
  network: {
1047
1289
  allow?: string[] | undefined;
@@ -1074,6 +1316,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1074
1316
  outboundService?: string | typeof kCurrentWorker | {
1075
1317
  name: string | typeof kCurrentWorker;
1076
1318
  entrypoint?: string | undefined;
1319
+ props?: Record<string, unknown> | undefined;
1077
1320
  } | {
1078
1321
  network: {
1079
1322
  allow?: string[] | undefined;
@@ -1109,12 +1352,11 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1109
1352
  unsafeEvalBinding?: string | undefined;
1110
1353
  unsafeUseModuleFallbackService?: boolean | undefined;
1111
1354
  hasAssetsAndIsVitest?: boolean | undefined;
1112
- unsafeEnableAssetsRpc?: boolean | undefined;
1113
1355
  }) | ({
1114
1356
  scriptPath: string;
1115
1357
  modules?: boolean | undefined;
1116
1358
  modulesRules?: {
1117
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1359
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1118
1360
  include: string[];
1119
1361
  fallthrough?: boolean | undefined;
1120
1362
  }[] | undefined;
@@ -1124,6 +1366,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1124
1366
  rootPath?: undefined;
1125
1367
  compatibilityDate?: string | undefined;
1126
1368
  compatibilityFlags?: string[] | undefined;
1369
+ unsafeInspectorProxy?: boolean | undefined;
1127
1370
  routes?: string[] | undefined;
1128
1371
  bindings?: Record<string, Json> | undefined;
1129
1372
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1132,6 +1375,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1132
1375
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1133
1376
  name: string | typeof kCurrentWorker;
1134
1377
  entrypoint?: string | undefined;
1378
+ props?: Record<string, unknown> | undefined;
1135
1379
  } | {
1136
1380
  network: {
1137
1381
  allow?: string[] | undefined;
@@ -1164,6 +1408,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1164
1408
  outboundService?: string | typeof kCurrentWorker | {
1165
1409
  name: string | typeof kCurrentWorker;
1166
1410
  entrypoint?: string | undefined;
1411
+ props?: Record<string, unknown> | undefined;
1167
1412
  } | {
1168
1413
  network: {
1169
1414
  allow?: string[] | undefined;
@@ -1199,10 +1444,9 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1199
1444
  unsafeEvalBinding?: string | undefined;
1200
1445
  unsafeUseModuleFallbackService?: boolean | undefined;
1201
1446
  hasAssetsAndIsVitest?: boolean | undefined;
1202
- unsafeEnableAssetsRpc?: boolean | undefined;
1203
1447
  }), ({
1204
1448
  modules: {
1205
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1449
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1206
1450
  path: string;
1207
1451
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1208
1452
  }[];
@@ -1212,7 +1456,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1212
1456
  scriptPath?: string | undefined;
1213
1457
  modules?: boolean | undefined;
1214
1458
  modulesRules?: {
1215
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1459
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1216
1460
  include: string[];
1217
1461
  fallthrough?: boolean | undefined;
1218
1462
  }[] | undefined;
@@ -1221,7 +1465,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1221
1465
  scriptPath: string;
1222
1466
  modules?: boolean | undefined;
1223
1467
  modulesRules?: {
1224
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1468
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1225
1469
  include: string[];
1226
1470
  fallthrough?: boolean | undefined;
1227
1471
  }[] | undefined;
@@ -1231,6 +1475,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1231
1475
  rootPath?: string | undefined;
1232
1476
  compatibilityDate?: string | undefined;
1233
1477
  compatibilityFlags?: string[] | undefined;
1478
+ unsafeInspectorProxy?: boolean | undefined;
1234
1479
  routes?: string[] | undefined;
1235
1480
  bindings?: Record<string, Json> | undefined;
1236
1481
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -1239,6 +1484,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1239
1484
  serviceBindings?: Record<string, string | typeof kCurrentWorker | {
1240
1485
  name: string | typeof kCurrentWorker;
1241
1486
  entrypoint?: string | undefined;
1487
+ props?: Record<string, unknown> | undefined;
1242
1488
  } | {
1243
1489
  network: {
1244
1490
  allow?: string[] | undefined;
@@ -1271,6 +1517,7 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1271
1517
  outboundService?: string | typeof kCurrentWorker | {
1272
1518
  name: string | typeof kCurrentWorker;
1273
1519
  entrypoint?: string | undefined;
1520
+ props?: Record<string, unknown> | undefined;
1274
1521
  } | {
1275
1522
  network: {
1276
1523
  allow?: string[] | undefined;
@@ -1306,7 +1553,6 @@ export declare const CoreOptionsSchema: z.ZodEffects<z.ZodIntersection<z.ZodUnio
1306
1553
  unsafeEvalBinding?: string | undefined;
1307
1554
  unsafeUseModuleFallbackService?: boolean | undefined;
1308
1555
  hasAssetsAndIsVitest?: boolean | undefined;
1309
- unsafeEnableAssetsRpc?: boolean | undefined;
1310
1556
  }>;
1311
1557
 
1312
1558
  export declare const CoreSharedOptionsSchema: z.ZodObject<{
@@ -1328,8 +1574,10 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1328
1574
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
1329
1575
  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>>>;
1330
1576
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
1331
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
1577
+ unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
1578
+ logRequests: z.ZodDefault<z.ZodBoolean>;
1332
1579
  }, "strip", z.ZodTypeAny, {
1580
+ logRequests: boolean;
1333
1581
  rootPath?: undefined;
1334
1582
  host?: string | undefined;
1335
1583
  port?: number | undefined;
@@ -1348,7 +1596,7 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1348
1596
  unsafeProxySharedSecret?: string | undefined;
1349
1597
  unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1350
1598
  unsafeStickyBlobs?: boolean | undefined;
1351
- unsafeEnableAssetsRpc?: boolean | undefined;
1599
+ unsafeTriggerHandlers?: boolean | undefined;
1352
1600
  }, {
1353
1601
  rootPath?: string | undefined;
1354
1602
  host?: string | undefined;
@@ -1368,7 +1616,8 @@ export declare const CoreSharedOptionsSchema: z.ZodObject<{
1368
1616
  unsafeProxySharedSecret?: string | undefined;
1369
1617
  unsafeModuleFallbackService?: ((request: Request_3, mf: Miniflare_2) => Awaitable<Response_3>) | undefined;
1370
1618
  unsafeStickyBlobs?: boolean | undefined;
1371
- unsafeEnableAssetsRpc?: boolean | undefined;
1619
+ unsafeTriggerHandlers?: boolean | undefined;
1620
+ logRequests?: boolean | undefined;
1372
1621
  }>;
1373
1622
 
1374
1623
  export declare function coupleWebSocket(ws: NodeWebSocket, pair: WebSocket): Promise<void>;
@@ -1420,6 +1669,7 @@ export declare function deserialiseSiteRegExps(siteRegExps: SerialisableSiteMatc
1420
1669
  export declare interface DiskDirectory {
1421
1670
  path?: string;
1422
1671
  writable?: boolean;
1672
+ allowDotfiles?: boolean;
1423
1673
  }
1424
1674
 
1425
1675
  export declare type DispatchFetch = (input: RequestInfo, init?: RequestInit_2<Partial<IncomingRequestCfProperties>>) => Promise<Response_2>;
@@ -1516,6 +1766,84 @@ export declare const DurableObjectsSharedOptionsSchema: z.ZodObject<{
1516
1766
  durableObjectsPersist?: string | boolean | undefined;
1517
1767
  }>;
1518
1768
 
1769
+ export declare const EMAIL_PLUGIN: Plugin<typeof EmailOptionsSchema>;
1770
+
1771
+ export declare const EMAIL_PLUGIN_NAME = "email";
1772
+
1773
+ export declare const EmailOptionsSchema: z.ZodObject<{
1774
+ email: z.ZodOptional<z.ZodObject<{
1775
+ send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
1776
+ name: z.ZodString;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ name: string;
1779
+ }, {
1780
+ name: string;
1781
+ }>, z.ZodUnion<[z.ZodObject<{
1782
+ destination_address: z.ZodOptional<z.ZodString>;
1783
+ allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ destination_address?: string | undefined;
1786
+ allowed_destination_addresses?: undefined;
1787
+ }, {
1788
+ destination_address?: string | undefined;
1789
+ allowed_destination_addresses?: undefined;
1790
+ }>, z.ZodObject<{
1791
+ allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1792
+ destination_address: z.ZodOptional<z.ZodNever>;
1793
+ }, "strip", z.ZodTypeAny, {
1794
+ allowed_destination_addresses?: string[] | undefined;
1795
+ destination_address?: undefined;
1796
+ }, {
1797
+ allowed_destination_addresses?: string[] | undefined;
1798
+ destination_address?: undefined;
1799
+ }>]>>, "many">>;
1800
+ }, "strip", z.ZodTypeAny, {
1801
+ send_email?: ({
1802
+ name: string;
1803
+ } & ({
1804
+ destination_address?: string | undefined;
1805
+ allowed_destination_addresses?: undefined;
1806
+ } | {
1807
+ allowed_destination_addresses?: string[] | undefined;
1808
+ destination_address?: undefined;
1809
+ }))[] | undefined;
1810
+ }, {
1811
+ send_email?: ({
1812
+ name: string;
1813
+ } & ({
1814
+ destination_address?: string | undefined;
1815
+ allowed_destination_addresses?: undefined;
1816
+ } | {
1817
+ allowed_destination_addresses?: string[] | undefined;
1818
+ destination_address?: undefined;
1819
+ }))[] | undefined;
1820
+ }>>;
1821
+ }, "strip", z.ZodTypeAny, {
1822
+ email?: {
1823
+ send_email?: ({
1824
+ name: string;
1825
+ } & ({
1826
+ destination_address?: string | undefined;
1827
+ allowed_destination_addresses?: undefined;
1828
+ } | {
1829
+ allowed_destination_addresses?: string[] | undefined;
1830
+ destination_address?: undefined;
1831
+ }))[] | undefined;
1832
+ } | undefined;
1833
+ }, {
1834
+ email?: {
1835
+ send_email?: ({
1836
+ name: string;
1837
+ } & ({
1838
+ destination_address?: string | undefined;
1839
+ allowed_destination_addresses?: undefined;
1840
+ } | {
1841
+ allowed_destination_addresses?: string[] | undefined;
1842
+ destination_address?: undefined;
1843
+ }))[] | undefined;
1844
+ } | undefined;
1845
+ }>;
1846
+
1519
1847
  /* Excluded from this release type: _enableControlEndpoints */
1520
1848
 
1521
1849
  export declare function encodeSitesKey(key: string): string;
@@ -1739,6 +2067,7 @@ export declare const KVLimits: {
1739
2067
  readonly MAX_VALUE_SIZE: number;
1740
2068
  readonly MAX_VALUE_SIZE_TEST: 1024;
1741
2069
  readonly MAX_METADATA_SIZE: 1024;
2070
+ readonly MAX_BULK_SIZE: number;
1742
2071
  };
1743
2072
 
1744
2073
  export declare const kVoid: unique symbol;
@@ -1825,6 +2154,8 @@ export declare interface MatcherRegExps {
1825
2154
 
1826
2155
  export declare function matchRoutes(routes: WorkerRoute[], url: URL): string | null;
1827
2156
 
2157
+ export declare const MAX_BULK_GET_KEYS = 100;
2158
+
1828
2159
  export declare function maybeApply<From, To>(f: (value: From) => To, maybeValue: From | undefined): To | undefined;
1829
2160
 
1830
2161
  export declare function maybeParseURL(url: Persistence): URL | undefined;
@@ -1862,6 +2193,17 @@ export declare class Miniflare {
1862
2193
  getD1Database(bindingName: string, workerName?: string): Promise<D1Database>;
1863
2194
  getDurableObjectNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<DurableObjectNamespace>>;
1864
2195
  getKVNamespace(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
2196
+ getSecretsStoreSecretAPI(bindingName: string, workerName?: string): Promise<() => {
2197
+ create: (value: string) => Promise<string>;
2198
+ update: (value: string, id: string) => Promise<string>;
2199
+ duplicate: (id: string, newName: string) => Promise<string>;
2200
+ delete: (id: string) => Promise<void>;
2201
+ list: () => Promise<KVNamespaceListKey<{
2202
+ uuid: string;
2203
+ }, string>[]>;
2204
+ get: (id: string) => Promise<string>;
2205
+ }>;
2206
+ getSecretsStoreSecret(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<KVNamespace>>;
1865
2207
  getQueueProducer<Body = unknown>(bindingName: string, workerName?: string): Promise<Queue<Body>>;
1866
2208
  getR2Bucket(bindingName: string, workerName?: string): Promise<ReplaceWorkersTypes<R2Bucket>>;
1867
2209
  /* Excluded from this release type: _getInternalDurableObjectNamespace */
@@ -1872,7 +2214,7 @@ export declare class Miniflare {
1872
2214
  export declare class MiniflareCoreError extends MiniflareError<MiniflareCoreErrorCode> {
1873
2215
  }
1874
2216
 
1875
- 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";
2217
+ 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";
1876
2218
 
1877
2219
  export declare class MiniflareError<Code extends string | number = string | number> extends Error {
1878
2220
  readonly code: Code;
@@ -1887,15 +2229,15 @@ export declare type MiniflareOptions = SharedOptions & (WorkerOptions | {
1887
2229
  export declare type ModuleDefinition = z.infer<typeof ModuleDefinitionSchema>;
1888
2230
 
1889
2231
  export declare const ModuleDefinitionSchema: z.ZodObject<{
1890
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2232
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1891
2233
  path: z.ZodEffects<z.ZodString, string, string>;
1892
2234
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
1893
2235
  }, "strip", z.ZodTypeAny, {
1894
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2236
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1895
2237
  path: string;
1896
2238
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1897
2239
  }, {
1898
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2240
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1899
2241
  path: string;
1900
2242
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
1901
2243
  }>;
@@ -1903,22 +2245,22 @@ export declare const ModuleDefinitionSchema: z.ZodObject<{
1903
2245
  export declare type ModuleRule = z.infer<typeof ModuleRuleSchema>;
1904
2246
 
1905
2247
  export declare const ModuleRuleSchema: z.ZodObject<{
1906
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2248
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1907
2249
  include: z.ZodArray<z.ZodString, "many">;
1908
2250
  fallthrough: z.ZodOptional<z.ZodBoolean>;
1909
2251
  }, "strip", z.ZodTypeAny, {
1910
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2252
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1911
2253
  include: string[];
1912
2254
  fallthrough?: boolean | undefined;
1913
2255
  }, {
1914
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2256
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
1915
2257
  include: string[];
1916
2258
  fallthrough?: boolean | undefined;
1917
2259
  }>;
1918
2260
 
1919
2261
  export declare type ModuleRuleType = z.infer<typeof ModuleRuleTypeSchema>;
1920
2262
 
1921
- export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2263
+ export declare const ModuleRuleTypeSchema: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
1922
2264
 
1923
2265
  export declare class Mutex {
1924
2266
  private locked;
@@ -1973,7 +2315,82 @@ export declare type OptionalZodTypeOf<T extends z.ZodTypeAny | undefined> = T ex
1973
2315
 
1974
2316
  export declare type OverloadReplaceWorkersTypes<T> = T extends (...args: any[]) => any ? UnionToIntersection<ReplaceWorkersTypes<OverloadUnion<T>>> : ReplaceWorkersTypes<T>;
1975
2317
 
1976
- export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion9<T>;
2318
+ export declare type OverloadUnion<T extends (...args: any[]) => any> = Parameters<T> extends [] ? T : OverloadUnion14<T>;
2319
+
2320
+ export declare type OverloadUnion10<T> = T extends {
2321
+ (...args: infer P1): infer R1;
2322
+ (...args: infer P2): infer R2;
2323
+ (...args: infer P3): infer R3;
2324
+ (...args: infer P4): infer R4;
2325
+ (...args: infer P5): infer R5;
2326
+ (...args: infer P6): infer R6;
2327
+ (...args: infer P7): infer R7;
2328
+ (...args: infer P8): infer R8;
2329
+ (...args: infer P9): infer R9;
2330
+ (...args: infer P10): infer R10;
2331
+ } ? ((...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>;
2332
+
2333
+ export declare type OverloadUnion11<T> = T extends {
2334
+ (...args: infer P1): infer R1;
2335
+ (...args: infer P2): infer R2;
2336
+ (...args: infer P3): infer R3;
2337
+ (...args: infer P4): infer R4;
2338
+ (...args: infer P5): infer R5;
2339
+ (...args: infer P6): infer R6;
2340
+ (...args: infer P7): infer R7;
2341
+ (...args: infer P8): infer R8;
2342
+ (...args: infer P9): infer R9;
2343
+ (...args: infer P10): infer R10;
2344
+ (...args: infer P11): infer R11;
2345
+ } ? ((...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>;
2346
+
2347
+ export declare type OverloadUnion12<T> = T extends {
2348
+ (...args: infer P1): infer R1;
2349
+ (...args: infer P2): infer R2;
2350
+ (...args: infer P3): infer R3;
2351
+ (...args: infer P4): infer R4;
2352
+ (...args: infer P5): infer R5;
2353
+ (...args: infer P6): infer R6;
2354
+ (...args: infer P7): infer R7;
2355
+ (...args: infer P8): infer R8;
2356
+ (...args: infer P9): infer R9;
2357
+ (...args: infer P10): infer R10;
2358
+ (...args: infer P11): infer R11;
2359
+ (...args: infer P12): infer R12;
2360
+ } ? ((...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>;
2361
+
2362
+ export declare type OverloadUnion13<T> = T extends {
2363
+ (...args: infer P1): infer R1;
2364
+ (...args: infer P2): infer R2;
2365
+ (...args: infer P3): infer R3;
2366
+ (...args: infer P4): infer R4;
2367
+ (...args: infer P5): infer R5;
2368
+ (...args: infer P6): infer R6;
2369
+ (...args: infer P7): infer R7;
2370
+ (...args: infer P8): infer R8;
2371
+ (...args: infer P9): infer R9;
2372
+ (...args: infer P10): infer R10;
2373
+ (...args: infer P11): infer R11;
2374
+ (...args: infer P12): infer R12;
2375
+ (...args: infer P13): infer R13;
2376
+ } ? ((...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>;
2377
+
2378
+ export declare type OverloadUnion14<T> = T extends {
2379
+ (...args: infer P1): infer R1;
2380
+ (...args: infer P2): infer R2;
2381
+ (...args: infer P3): infer R3;
2382
+ (...args: infer P4): infer R4;
2383
+ (...args: infer P5): infer R5;
2384
+ (...args: infer P6): infer R6;
2385
+ (...args: infer P7): infer R7;
2386
+ (...args: infer P8): infer R8;
2387
+ (...args: infer P9): infer R9;
2388
+ (...args: infer P10): infer R10;
2389
+ (...args: infer P11): infer R11;
2390
+ (...args: infer P12): infer R12;
2391
+ (...args: infer P13): infer R13;
2392
+ (...args: infer P14): infer R14;
2393
+ } ? ((...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>;
1977
2394
 
1978
2395
  export declare type OverloadUnion2<T> = T extends {
1979
2396
  (...args: infer P1): infer R1;
@@ -2111,29 +2528,29 @@ export declare interface PluginBase<Options extends z.ZodType, SharedOptions ext
2111
2528
  export declare const PLUGINS: {
2112
2529
  core: Plugin_2<z.ZodEffects<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2113
2530
  modules: z.ZodArray<z.ZodObject<{
2114
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2531
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2115
2532
  path: z.ZodEffects<z.ZodString, string, string>;
2116
2533
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
2117
2534
  }, "strip", z.ZodTypeAny, {
2118
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2535
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2119
2536
  path: string;
2120
2537
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2121
2538
  }, {
2122
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2539
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2123
2540
  path: string;
2124
2541
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2125
2542
  }>, "many">;
2126
2543
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2127
2544
  }, "strip", z.ZodTypeAny, {
2128
2545
  modules: {
2129
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2546
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2130
2547
  path: string;
2131
2548
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2132
2549
  }[];
2133
2550
  modulesRoot?: string | undefined;
2134
2551
  }, {
2135
2552
  modules: {
2136
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2553
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2137
2554
  path: string;
2138
2555
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2139
2556
  }[];
@@ -2143,15 +2560,15 @@ export declare const PLUGINS: {
2143
2560
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2144
2561
  modules: z.ZodOptional<z.ZodBoolean>;
2145
2562
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2146
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2563
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2147
2564
  include: z.ZodArray<z.ZodString, "many">;
2148
2565
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2149
2566
  }, "strip", z.ZodTypeAny, {
2150
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2567
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2151
2568
  include: string[];
2152
2569
  fallthrough?: boolean | undefined;
2153
2570
  }, {
2154
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2571
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2155
2572
  include: string[];
2156
2573
  fallthrough?: boolean | undefined;
2157
2574
  }>, "many">>;
@@ -2161,7 +2578,7 @@ export declare const PLUGINS: {
2161
2578
  scriptPath?: string | undefined;
2162
2579
  modules?: boolean | undefined;
2163
2580
  modulesRules?: {
2164
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2581
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2165
2582
  include: string[];
2166
2583
  fallthrough?: boolean | undefined;
2167
2584
  }[] | undefined;
@@ -2171,7 +2588,7 @@ export declare const PLUGINS: {
2171
2588
  scriptPath?: string | undefined;
2172
2589
  modules?: boolean | undefined;
2173
2590
  modulesRules?: {
2174
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2591
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2175
2592
  include: string[];
2176
2593
  fallthrough?: boolean | undefined;
2177
2594
  }[] | undefined;
@@ -2180,15 +2597,15 @@ export declare const PLUGINS: {
2180
2597
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
2181
2598
  modules: z.ZodOptional<z.ZodBoolean>;
2182
2599
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
2183
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2600
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
2184
2601
  include: z.ZodArray<z.ZodString, "many">;
2185
2602
  fallthrough: z.ZodOptional<z.ZodBoolean>;
2186
2603
  }, "strip", z.ZodTypeAny, {
2187
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2604
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2188
2605
  include: string[];
2189
2606
  fallthrough?: boolean | undefined;
2190
2607
  }, {
2191
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2608
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2192
2609
  include: string[];
2193
2610
  fallthrough?: boolean | undefined;
2194
2611
  }>, "many">>;
@@ -2197,7 +2614,7 @@ export declare const PLUGINS: {
2197
2614
  scriptPath: string;
2198
2615
  modules?: boolean | undefined;
2199
2616
  modulesRules?: {
2200
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2617
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2201
2618
  include: string[];
2202
2619
  fallthrough?: boolean | undefined;
2203
2620
  }[] | undefined;
@@ -2206,7 +2623,7 @@ export declare const PLUGINS: {
2206
2623
  scriptPath: string;
2207
2624
  modules?: boolean | undefined;
2208
2625
  modulesRules?: {
2209
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2626
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2210
2627
  include: string[];
2211
2628
  fallthrough?: boolean | undefined;
2212
2629
  }[] | undefined;
@@ -2216,6 +2633,7 @@ export declare const PLUGINS: {
2216
2633
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
2217
2634
  compatibilityDate: z.ZodOptional<z.ZodString>;
2218
2635
  compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2636
+ unsafeInspectorProxy: z.ZodOptional<z.ZodBoolean>;
2219
2637
  routes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2220
2638
  bindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<Json_2, z.ZodTypeDef, Json_2>>>;
2221
2639
  wasmBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>>;
@@ -2224,12 +2642,15 @@ export declare const PLUGINS: {
2224
2642
  serviceBindings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2225
2643
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2226
2644
  entrypoint: z.ZodOptional<z.ZodString>;
2645
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2227
2646
  }, "strip", z.ZodTypeAny, {
2228
2647
  name: string | kCurrentWorker_2;
2229
2648
  entrypoint?: string | undefined;
2649
+ props?: Record<string, unknown> | undefined;
2230
2650
  }, {
2231
2651
  name: string | kCurrentWorker_2;
2232
2652
  entrypoint?: string | undefined;
2653
+ props?: Record<string, unknown> | undefined;
2233
2654
  }>, z.ZodObject<{
2234
2655
  network: z.ZodObject<{
2235
2656
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2383,12 +2804,15 @@ export declare const PLUGINS: {
2383
2804
  outboundService: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>, z.ZodObject<{
2384
2805
  name: z.ZodUnion<[z.ZodString, z.ZodLiteral<kCurrentWorker_2>]>;
2385
2806
  entrypoint: z.ZodOptional<z.ZodString>;
2807
+ props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2386
2808
  }, "strip", z.ZodTypeAny, {
2387
2809
  name: string | kCurrentWorker_2;
2388
2810
  entrypoint?: string | undefined;
2811
+ props?: Record<string, unknown> | undefined;
2389
2812
  }, {
2390
2813
  name: string | kCurrentWorker_2;
2391
2814
  entrypoint?: string | undefined;
2815
+ props?: Record<string, unknown> | undefined;
2392
2816
  }>, z.ZodObject<{
2393
2817
  network: z.ZodObject<{
2394
2818
  allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2547,12 +2971,12 @@ export declare const PLUGINS: {
2547
2971
  unsafeEvalBinding: z.ZodOptional<z.ZodString>;
2548
2972
  unsafeUseModuleFallbackService: z.ZodOptional<z.ZodBoolean>;
2549
2973
  hasAssetsAndIsVitest: z.ZodOptional<z.ZodBoolean>;
2550
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
2551
2974
  }, "strip", z.ZodTypeAny, {
2552
2975
  name?: string | undefined;
2553
2976
  rootPath?: undefined;
2554
2977
  compatibilityDate?: string | undefined;
2555
2978
  compatibilityFlags?: string[] | undefined;
2979
+ unsafeInspectorProxy?: boolean | undefined;
2556
2980
  routes?: string[] | undefined;
2557
2981
  bindings?: Record<string, Json_2> | undefined;
2558
2982
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2561,6 +2985,7 @@ export declare const PLUGINS: {
2561
2985
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2562
2986
  name: string | kCurrentWorker_2;
2563
2987
  entrypoint?: string | undefined;
2988
+ props?: Record<string, unknown> | undefined;
2564
2989
  } | {
2565
2990
  network: {
2566
2991
  allow?: string[] | undefined;
@@ -2593,6 +3018,7 @@ export declare const PLUGINS: {
2593
3018
  outboundService?: string | kCurrentWorker_2 | {
2594
3019
  name: string | kCurrentWorker_2;
2595
3020
  entrypoint?: string | undefined;
3021
+ props?: Record<string, unknown> | undefined;
2596
3022
  } | {
2597
3023
  network: {
2598
3024
  allow?: string[] | undefined;
@@ -2628,12 +3054,12 @@ export declare const PLUGINS: {
2628
3054
  unsafeEvalBinding?: string | undefined;
2629
3055
  unsafeUseModuleFallbackService?: boolean | undefined;
2630
3056
  hasAssetsAndIsVitest?: boolean | undefined;
2631
- unsafeEnableAssetsRpc?: boolean | undefined;
2632
3057
  }, {
2633
3058
  name?: string | undefined;
2634
3059
  rootPath?: string | undefined;
2635
3060
  compatibilityDate?: string | undefined;
2636
3061
  compatibilityFlags?: string[] | undefined;
3062
+ unsafeInspectorProxy?: boolean | undefined;
2637
3063
  routes?: string[] | undefined;
2638
3064
  bindings?: Record<string, Json_2> | undefined;
2639
3065
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2642,6 +3068,7 @@ export declare const PLUGINS: {
2642
3068
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2643
3069
  name: string | kCurrentWorker_2;
2644
3070
  entrypoint?: string | undefined;
3071
+ props?: Record<string, unknown> | undefined;
2645
3072
  } | {
2646
3073
  network: {
2647
3074
  allow?: string[] | undefined;
@@ -2674,6 +3101,7 @@ export declare const PLUGINS: {
2674
3101
  outboundService?: string | kCurrentWorker_2 | {
2675
3102
  name: string | kCurrentWorker_2;
2676
3103
  entrypoint?: string | undefined;
3104
+ props?: Record<string, unknown> | undefined;
2677
3105
  } | {
2678
3106
  network: {
2679
3107
  allow?: string[] | undefined;
@@ -2709,10 +3137,9 @@ export declare const PLUGINS: {
2709
3137
  unsafeEvalBinding?: string | undefined;
2710
3138
  unsafeUseModuleFallbackService?: boolean | undefined;
2711
3139
  hasAssetsAndIsVitest?: boolean | undefined;
2712
- unsafeEnableAssetsRpc?: boolean | undefined;
2713
3140
  }>>, ({
2714
3141
  modules: {
2715
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3142
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2716
3143
  path: string;
2717
3144
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2718
3145
  }[];
@@ -2722,6 +3149,7 @@ export declare const PLUGINS: {
2722
3149
  rootPath?: undefined;
2723
3150
  compatibilityDate?: string | undefined;
2724
3151
  compatibilityFlags?: string[] | undefined;
3152
+ unsafeInspectorProxy?: boolean | undefined;
2725
3153
  routes?: string[] | undefined;
2726
3154
  bindings?: Record<string, Json_2> | undefined;
2727
3155
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2730,6 +3158,7 @@ export declare const PLUGINS: {
2730
3158
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2731
3159
  name: string | kCurrentWorker_2;
2732
3160
  entrypoint?: string | undefined;
3161
+ props?: Record<string, unknown> | undefined;
2733
3162
  } | {
2734
3163
  network: {
2735
3164
  allow?: string[] | undefined;
@@ -2762,6 +3191,7 @@ export declare const PLUGINS: {
2762
3191
  outboundService?: string | kCurrentWorker_2 | {
2763
3192
  name: string | kCurrentWorker_2;
2764
3193
  entrypoint?: string | undefined;
3194
+ props?: Record<string, unknown> | undefined;
2765
3195
  } | {
2766
3196
  network: {
2767
3197
  allow?: string[] | undefined;
@@ -2797,13 +3227,12 @@ export declare const PLUGINS: {
2797
3227
  unsafeEvalBinding?: string | undefined;
2798
3228
  unsafeUseModuleFallbackService?: boolean | undefined;
2799
3229
  hasAssetsAndIsVitest?: boolean | undefined;
2800
- unsafeEnableAssetsRpc?: boolean | undefined;
2801
3230
  }) | ({
2802
3231
  script: string;
2803
3232
  scriptPath?: string | undefined;
2804
3233
  modules?: boolean | undefined;
2805
3234
  modulesRules?: {
2806
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3235
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2807
3236
  include: string[];
2808
3237
  fallthrough?: boolean | undefined;
2809
3238
  }[] | undefined;
@@ -2813,6 +3242,7 @@ export declare const PLUGINS: {
2813
3242
  rootPath?: undefined;
2814
3243
  compatibilityDate?: string | undefined;
2815
3244
  compatibilityFlags?: string[] | undefined;
3245
+ unsafeInspectorProxy?: boolean | undefined;
2816
3246
  routes?: string[] | undefined;
2817
3247
  bindings?: Record<string, Json_2> | undefined;
2818
3248
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2821,6 +3251,7 @@ export declare const PLUGINS: {
2821
3251
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2822
3252
  name: string | kCurrentWorker_2;
2823
3253
  entrypoint?: string | undefined;
3254
+ props?: Record<string, unknown> | undefined;
2824
3255
  } | {
2825
3256
  network: {
2826
3257
  allow?: string[] | undefined;
@@ -2853,6 +3284,7 @@ export declare const PLUGINS: {
2853
3284
  outboundService?: string | kCurrentWorker_2 | {
2854
3285
  name: string | kCurrentWorker_2;
2855
3286
  entrypoint?: string | undefined;
3287
+ props?: Record<string, unknown> | undefined;
2856
3288
  } | {
2857
3289
  network: {
2858
3290
  allow?: string[] | undefined;
@@ -2888,12 +3320,11 @@ export declare const PLUGINS: {
2888
3320
  unsafeEvalBinding?: string | undefined;
2889
3321
  unsafeUseModuleFallbackService?: boolean | undefined;
2890
3322
  hasAssetsAndIsVitest?: boolean | undefined;
2891
- unsafeEnableAssetsRpc?: boolean | undefined;
2892
3323
  }) | ({
2893
3324
  scriptPath: string;
2894
3325
  modules?: boolean | undefined;
2895
3326
  modulesRules?: {
2896
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3327
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2897
3328
  include: string[];
2898
3329
  fallthrough?: boolean | undefined;
2899
3330
  }[] | undefined;
@@ -2903,6 +3334,7 @@ export declare const PLUGINS: {
2903
3334
  rootPath?: undefined;
2904
3335
  compatibilityDate?: string | undefined;
2905
3336
  compatibilityFlags?: string[] | undefined;
3337
+ unsafeInspectorProxy?: boolean | undefined;
2906
3338
  routes?: string[] | undefined;
2907
3339
  bindings?: Record<string, Json_2> | undefined;
2908
3340
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -2911,6 +3343,7 @@ export declare const PLUGINS: {
2911
3343
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
2912
3344
  name: string | kCurrentWorker_2;
2913
3345
  entrypoint?: string | undefined;
3346
+ props?: Record<string, unknown> | undefined;
2914
3347
  } | {
2915
3348
  network: {
2916
3349
  allow?: string[] | undefined;
@@ -2943,6 +3376,7 @@ export declare const PLUGINS: {
2943
3376
  outboundService?: string | kCurrentWorker_2 | {
2944
3377
  name: string | kCurrentWorker_2;
2945
3378
  entrypoint?: string | undefined;
3379
+ props?: Record<string, unknown> | undefined;
2946
3380
  } | {
2947
3381
  network: {
2948
3382
  allow?: string[] | undefined;
@@ -2978,10 +3412,9 @@ export declare const PLUGINS: {
2978
3412
  unsafeEvalBinding?: string | undefined;
2979
3413
  unsafeUseModuleFallbackService?: boolean | undefined;
2980
3414
  hasAssetsAndIsVitest?: boolean | undefined;
2981
- unsafeEnableAssetsRpc?: boolean | undefined;
2982
3415
  }), ({
2983
3416
  modules: {
2984
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3417
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2985
3418
  path: string;
2986
3419
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
2987
3420
  }[];
@@ -2991,7 +3424,7 @@ export declare const PLUGINS: {
2991
3424
  scriptPath?: string | undefined;
2992
3425
  modules?: boolean | undefined;
2993
3426
  modulesRules?: {
2994
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3427
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
2995
3428
  include: string[];
2996
3429
  fallthrough?: boolean | undefined;
2997
3430
  }[] | undefined;
@@ -3000,7 +3433,7 @@ export declare const PLUGINS: {
3000
3433
  scriptPath: string;
3001
3434
  modules?: boolean | undefined;
3002
3435
  modulesRules?: {
3003
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3436
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
3004
3437
  include: string[];
3005
3438
  fallthrough?: boolean | undefined;
3006
3439
  }[] | undefined;
@@ -3010,6 +3443,7 @@ export declare const PLUGINS: {
3010
3443
  rootPath?: string | undefined;
3011
3444
  compatibilityDate?: string | undefined;
3012
3445
  compatibilityFlags?: string[] | undefined;
3446
+ unsafeInspectorProxy?: boolean | undefined;
3013
3447
  routes?: string[] | undefined;
3014
3448
  bindings?: Record<string, Json_2> | undefined;
3015
3449
  wasmBindings?: Record<string, string | Uint8Array<ArrayBuffer>> | undefined;
@@ -3018,6 +3452,7 @@ export declare const PLUGINS: {
3018
3452
  serviceBindings?: Record<string, string | kCurrentWorker_2 | {
3019
3453
  name: string | kCurrentWorker_2;
3020
3454
  entrypoint?: string | undefined;
3455
+ props?: Record<string, unknown> | undefined;
3021
3456
  } | {
3022
3457
  network: {
3023
3458
  allow?: string[] | undefined;
@@ -3050,6 +3485,7 @@ export declare const PLUGINS: {
3050
3485
  outboundService?: string | kCurrentWorker_2 | {
3051
3486
  name: string | kCurrentWorker_2;
3052
3487
  entrypoint?: string | undefined;
3488
+ props?: Record<string, unknown> | undefined;
3053
3489
  } | {
3054
3490
  network: {
3055
3491
  allow?: string[] | undefined;
@@ -3085,7 +3521,6 @@ export declare const PLUGINS: {
3085
3521
  unsafeEvalBinding?: string | undefined;
3086
3522
  unsafeUseModuleFallbackService?: boolean | undefined;
3087
3523
  hasAssetsAndIsVitest?: boolean | undefined;
3088
- unsafeEnableAssetsRpc?: boolean | undefined;
3089
3524
  }>, z.ZodObject<{
3090
3525
  rootPath: z.ZodOptional<z.ZodEffects<z.ZodString, undefined, string>>;
3091
3526
  host: z.ZodOptional<z.ZodString>;
@@ -3105,8 +3540,10 @@ export declare const PLUGINS: {
3105
3540
  unsafeProxySharedSecret: z.ZodOptional<z.ZodString>;
3106
3541
  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>>>;
3107
3542
  unsafeStickyBlobs: z.ZodOptional<z.ZodBoolean>;
3108
- unsafeEnableAssetsRpc: z.ZodOptional<z.ZodBoolean>;
3543
+ unsafeTriggerHandlers: z.ZodOptional<z.ZodBoolean>;
3544
+ logRequests: z.ZodDefault<z.ZodBoolean>;
3109
3545
  }, "strip", z.ZodTypeAny, {
3546
+ logRequests: boolean;
3110
3547
  rootPath?: undefined;
3111
3548
  host?: string | undefined;
3112
3549
  port?: number | undefined;
@@ -3125,7 +3562,7 @@ export declare const PLUGINS: {
3125
3562
  unsafeProxySharedSecret?: string | undefined;
3126
3563
  unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3127
3564
  unsafeStickyBlobs?: boolean | undefined;
3128
- unsafeEnableAssetsRpc?: boolean | undefined;
3565
+ unsafeTriggerHandlers?: boolean | undefined;
3129
3566
  }, {
3130
3567
  rootPath?: string | undefined;
3131
3568
  host?: string | undefined;
@@ -3145,7 +3582,8 @@ export declare const PLUGINS: {
3145
3582
  unsafeProxySharedSecret?: string | undefined;
3146
3583
  unsafeModuleFallbackService?: ((request: Request_6, mf: Miniflare_3) => Awaitable_2<Response_6>) | undefined;
3147
3584
  unsafeStickyBlobs?: boolean | undefined;
3148
- unsafeEnableAssetsRpc?: boolean | undefined;
3585
+ unsafeTriggerHandlers?: boolean | undefined;
3586
+ logRequests?: boolean | undefined;
3149
3587
  }>>;
3150
3588
  cache: Plugin_2<z.ZodObject<{
3151
3589
  cache: z.ZodOptional<z.ZodBoolean>;
@@ -3381,40 +3819,153 @@ export declare const PLUGINS: {
3381
3819
  routerConfig: z.ZodOptional<z.ZodObject<{
3382
3820
  account_id: z.ZodOptional<z.ZodNumber>;
3383
3821
  script_id: z.ZodOptional<z.ZodNumber>;
3822
+ debug: z.ZodOptional<z.ZodBoolean>;
3384
3823
  invoke_user_worker_ahead_of_assets: z.ZodOptional<z.ZodBoolean>;
3385
3824
  has_user_worker: z.ZodOptional<z.ZodBoolean>;
3386
3825
  }, "strip", z.ZodTypeAny, {
3387
3826
  account_id?: number;
3388
3827
  script_id?: number;
3828
+ debug?: boolean;
3389
3829
  invoke_user_worker_ahead_of_assets?: boolean;
3390
3830
  has_user_worker?: boolean;
3391
3831
  }, {
3392
3832
  account_id?: number;
3393
3833
  script_id?: number;
3834
+ debug?: boolean;
3394
3835
  invoke_user_worker_ahead_of_assets?: boolean;
3395
3836
  has_user_worker?: boolean;
3396
3837
  }>>;
3397
- assetConfig: z.ZodOptional<z.ZodObject<{
3838
+ assetConfig: z.ZodOptional<z.ZodObject<Omit<{
3398
3839
  account_id: z.ZodOptional<z.ZodNumber>;
3399
3840
  script_id: z.ZodOptional<z.ZodNumber>;
3841
+ debug: z.ZodOptional<z.ZodBoolean>;
3400
3842
  compatibility_date: z.ZodOptional<z.ZodString>;
3401
3843
  compatibility_flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3402
3844
  html_handling: z.ZodOptional<z.ZodEnum<["auto-trailing-slash", "force-trailing-slash", "drop-trailing-slash", "none"]>>;
3403
3845
  not_found_handling: z.ZodOptional<z.ZodEnum<["single-page-application", "404-page", "none"]>>;
3846
+ redirects: z.ZodOptional<z.ZodObject<{
3847
+ version: z.ZodLiteral<1>;
3848
+ staticRules: z.ZodRecord<z.ZodString, z.ZodObject<{
3849
+ status: z.ZodNumber;
3850
+ to: z.ZodString;
3851
+ lineNumber: z.ZodNumber;
3404
3852
  }, "strip", z.ZodTypeAny, {
3405
- account_id?: number;
3406
- script_id?: number;
3407
- compatibility_date?: string;
3408
- compatibility_flags?: string[];
3409
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3410
- not_found_handling?: "none" | "single-page-application" | "404-page";
3853
+ status?: number;
3854
+ to?: string;
3855
+ lineNumber?: number;
3411
3856
  }, {
3412
- account_id?: number;
3413
- script_id?: number;
3414
- compatibility_date?: string;
3415
- compatibility_flags?: string[];
3416
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3417
- not_found_handling?: "none" | "single-page-application" | "404-page";
3857
+ status?: number;
3858
+ to?: string;
3859
+ lineNumber?: number;
3860
+ }>>;
3861
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
3862
+ status: z.ZodNumber;
3863
+ to: z.ZodString;
3864
+ }, "strip", z.ZodTypeAny, {
3865
+ status?: number;
3866
+ to?: string;
3867
+ }, {
3868
+ status?: number;
3869
+ to?: string;
3870
+ }>>;
3871
+ }, "strip", z.ZodTypeAny, {
3872
+ version?: 1;
3873
+ staticRules?: Record<string, {
3874
+ status?: number;
3875
+ to?: string;
3876
+ lineNumber?: number;
3877
+ }>;
3878
+ rules?: Record<string, {
3879
+ status?: number;
3880
+ to?: string;
3881
+ }>;
3882
+ }, {
3883
+ version?: 1;
3884
+ staticRules?: Record<string, {
3885
+ status?: number;
3886
+ to?: string;
3887
+ lineNumber?: number;
3888
+ }>;
3889
+ rules?: Record<string, {
3890
+ status?: number;
3891
+ to?: string;
3892
+ }>;
3893
+ }>>;
3894
+ headers: z.ZodOptional<z.ZodObject<{
3895
+ version: z.ZodLiteral<2>;
3896
+ rules: z.ZodRecord<z.ZodString, z.ZodObject<{
3897
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3898
+ unset: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3899
+ }, "strip", z.ZodTypeAny, {
3900
+ set?: Record<string, string>;
3901
+ unset?: string[];
3902
+ }, {
3903
+ set?: Record<string, string>;
3904
+ unset?: string[];
3905
+ }>>;
3906
+ }, "strip", z.ZodTypeAny, {
3907
+ version?: 2;
3908
+ rules?: Record<string, {
3909
+ set?: Record<string, string>;
3910
+ unset?: string[];
3911
+ }>;
3912
+ }, {
3913
+ version?: 2;
3914
+ rules?: Record<string, {
3915
+ set?: Record<string, string>;
3916
+ unset?: string[];
3917
+ }>;
3918
+ }>>;
3919
+ }, "compatibility_date" | "compatibility_flags">, "strip", z.ZodTypeAny, {
3920
+ headers?: {
3921
+ version?: 2;
3922
+ rules?: Record<string, {
3923
+ set?: Record<string, string>;
3924
+ unset?: string[];
3925
+ }>;
3926
+ } | undefined;
3927
+ debug?: boolean | undefined;
3928
+ account_id?: number | undefined;
3929
+ script_id?: number | undefined;
3930
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3931
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3932
+ redirects?: {
3933
+ version?: 1;
3934
+ staticRules?: Record<string, {
3935
+ status?: number;
3936
+ to?: string;
3937
+ lineNumber?: number;
3938
+ }>;
3939
+ rules?: Record<string, {
3940
+ status?: number;
3941
+ to?: string;
3942
+ }>;
3943
+ } | undefined;
3944
+ }, {
3945
+ headers?: {
3946
+ version?: 2;
3947
+ rules?: Record<string, {
3948
+ set?: Record<string, string>;
3949
+ unset?: string[];
3950
+ }>;
3951
+ } | undefined;
3952
+ debug?: boolean | undefined;
3953
+ account_id?: number | undefined;
3954
+ script_id?: number | undefined;
3955
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3956
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3957
+ redirects?: {
3958
+ version?: 1;
3959
+ staticRules?: Record<string, {
3960
+ status?: number;
3961
+ to?: string;
3962
+ lineNumber?: number;
3963
+ }>;
3964
+ rules?: Record<string, {
3965
+ status?: number;
3966
+ to?: string;
3967
+ }>;
3968
+ } | undefined;
3418
3969
  }>>;
3419
3970
  }, "strip", z.ZodTypeAny, {
3420
3971
  directory: string;
@@ -3423,16 +3974,35 @@ export declare const PLUGINS: {
3423
3974
  routerConfig?: {
3424
3975
  account_id?: number;
3425
3976
  script_id?: number;
3977
+ debug?: boolean;
3426
3978
  invoke_user_worker_ahead_of_assets?: boolean;
3427
3979
  has_user_worker?: boolean;
3428
3980
  } | undefined;
3429
3981
  assetConfig?: {
3430
- account_id?: number;
3431
- script_id?: number;
3432
- compatibility_date?: string;
3433
- compatibility_flags?: string[];
3434
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3435
- not_found_handling?: "none" | "single-page-application" | "404-page";
3982
+ headers?: {
3983
+ version?: 2;
3984
+ rules?: Record<string, {
3985
+ set?: Record<string, string>;
3986
+ unset?: string[];
3987
+ }>;
3988
+ } | undefined;
3989
+ debug?: boolean | undefined;
3990
+ account_id?: number | undefined;
3991
+ script_id?: number | undefined;
3992
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
3993
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
3994
+ redirects?: {
3995
+ version?: 1;
3996
+ staticRules?: Record<string, {
3997
+ status?: number;
3998
+ to?: string;
3999
+ lineNumber?: number;
4000
+ }>;
4001
+ rules?: Record<string, {
4002
+ status?: number;
4003
+ to?: string;
4004
+ }>;
4005
+ } | undefined;
3436
4006
  } | undefined;
3437
4007
  }, {
3438
4008
  directory: string;
@@ -3441,18 +4011,39 @@ export declare const PLUGINS: {
3441
4011
  routerConfig?: {
3442
4012
  account_id?: number;
3443
4013
  script_id?: number;
4014
+ debug?: boolean;
3444
4015
  invoke_user_worker_ahead_of_assets?: boolean;
3445
4016
  has_user_worker?: boolean;
3446
4017
  } | undefined;
3447
4018
  assetConfig?: {
3448
- account_id?: number;
3449
- script_id?: number;
3450
- compatibility_date?: string;
3451
- compatibility_flags?: string[];
3452
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3453
- not_found_handling?: "none" | "single-page-application" | "404-page";
4019
+ headers?: {
4020
+ version?: 2;
4021
+ rules?: Record<string, {
4022
+ set?: Record<string, string>;
4023
+ unset?: string[];
4024
+ }>;
4025
+ } | undefined;
4026
+ debug?: boolean | undefined;
4027
+ account_id?: number | undefined;
4028
+ script_id?: number | undefined;
4029
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
4030
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
4031
+ redirects?: {
4032
+ version?: 1;
4033
+ staticRules?: Record<string, {
4034
+ status?: number;
4035
+ to?: string;
4036
+ lineNumber?: number;
4037
+ }>;
4038
+ rules?: Record<string, {
4039
+ status?: number;
4040
+ to?: string;
4041
+ }>;
4042
+ } | undefined;
3454
4043
  } | undefined;
3455
4044
  }>>;
4045
+ compatibilityDate: z.ZodOptional<z.ZodString>;
4046
+ compatibilityFlags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3456
4047
  }, "strip", z.ZodTypeAny, {
3457
4048
  assets?: {
3458
4049
  directory: string;
@@ -3461,18 +4052,39 @@ export declare const PLUGINS: {
3461
4052
  routerConfig?: {
3462
4053
  account_id?: number;
3463
4054
  script_id?: number;
4055
+ debug?: boolean;
3464
4056
  invoke_user_worker_ahead_of_assets?: boolean;
3465
4057
  has_user_worker?: boolean;
3466
4058
  } | undefined;
3467
4059
  assetConfig?: {
3468
- account_id?: number;
3469
- script_id?: number;
3470
- compatibility_date?: string;
3471
- compatibility_flags?: string[];
3472
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3473
- not_found_handling?: "none" | "single-page-application" | "404-page";
4060
+ headers?: {
4061
+ version?: 2;
4062
+ rules?: Record<string, {
4063
+ set?: Record<string, string>;
4064
+ unset?: string[];
4065
+ }>;
4066
+ } | undefined;
4067
+ debug?: boolean | undefined;
4068
+ account_id?: number | undefined;
4069
+ script_id?: number | undefined;
4070
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
4071
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
4072
+ redirects?: {
4073
+ version?: 1;
4074
+ staticRules?: Record<string, {
4075
+ status?: number;
4076
+ to?: string;
4077
+ lineNumber?: number;
4078
+ }>;
4079
+ rules?: Record<string, {
4080
+ status?: number;
4081
+ to?: string;
4082
+ }>;
3474
4083
  } | undefined;
3475
4084
  } | undefined;
4085
+ } | undefined;
4086
+ compatibilityDate?: string | undefined;
4087
+ compatibilityFlags?: string[] | undefined;
3476
4088
  }, {
3477
4089
  assets?: {
3478
4090
  directory: string;
@@ -3481,18 +4093,39 @@ export declare const PLUGINS: {
3481
4093
  routerConfig?: {
3482
4094
  account_id?: number;
3483
4095
  script_id?: number;
4096
+ debug?: boolean;
3484
4097
  invoke_user_worker_ahead_of_assets?: boolean;
3485
4098
  has_user_worker?: boolean;
3486
4099
  } | undefined;
3487
4100
  assetConfig?: {
3488
- account_id?: number;
3489
- script_id?: number;
3490
- compatibility_date?: string;
3491
- compatibility_flags?: string[];
3492
- html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash";
3493
- not_found_handling?: "none" | "single-page-application" | "404-page";
4101
+ headers?: {
4102
+ version?: 2;
4103
+ rules?: Record<string, {
4104
+ set?: Record<string, string>;
4105
+ unset?: string[];
4106
+ }>;
4107
+ } | undefined;
4108
+ debug?: boolean | undefined;
4109
+ account_id?: number | undefined;
4110
+ script_id?: number | undefined;
4111
+ html_handling?: "none" | "auto-trailing-slash" | "force-trailing-slash" | "drop-trailing-slash" | undefined;
4112
+ not_found_handling?: "none" | "single-page-application" | "404-page" | undefined;
4113
+ redirects?: {
4114
+ version?: 1;
4115
+ staticRules?: Record<string, {
4116
+ status?: number;
4117
+ to?: string;
4118
+ lineNumber?: number;
4119
+ }>;
4120
+ rules?: Record<string, {
4121
+ status?: number;
4122
+ to?: string;
4123
+ }>;
4124
+ } | undefined;
3494
4125
  } | undefined;
3495
4126
  } | undefined;
4127
+ compatibilityDate?: string | undefined;
4128
+ compatibilityFlags?: string[] | undefined;
3496
4129
  }>>;
3497
4130
  workflows: Plugin_2<z.ZodObject<{
3498
4131
  workflows: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -3534,6 +4167,130 @@ export declare const PLUGINS: {
3534
4167
  }, {
3535
4168
  pipelines?: string[] | Record<string, string> | undefined;
3536
4169
  }>>;
4170
+ "secrets-store": Plugin_2<z.ZodObject<{
4171
+ secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4172
+ store_id: z.ZodString;
4173
+ secret_name: z.ZodString;
4174
+ }, "strip", z.ZodTypeAny, {
4175
+ store_id: string;
4176
+ secret_name: string;
4177
+ }, {
4178
+ store_id: string;
4179
+ secret_name: string;
4180
+ }>>>;
4181
+ }, "strip", z.ZodTypeAny, {
4182
+ secretsStoreSecrets?: Record<string, {
4183
+ store_id: string;
4184
+ secret_name: string;
4185
+ }> | undefined;
4186
+ }, {
4187
+ secretsStoreSecrets?: Record<string, {
4188
+ store_id: string;
4189
+ secret_name: string;
4190
+ }> | undefined;
4191
+ }>, z.ZodObject<{
4192
+ secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
4193
+ }, "strip", z.ZodTypeAny, {
4194
+ secretsStorePersist?: string | boolean | undefined;
4195
+ }, {
4196
+ secretsStorePersist?: string | boolean | undefined;
4197
+ }>>;
4198
+ email: Plugin_2<z.ZodObject<{
4199
+ email: z.ZodOptional<z.ZodObject<{
4200
+ send_email: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
4201
+ name: z.ZodString;
4202
+ }, "strip", z.ZodTypeAny, {
4203
+ name: string;
4204
+ }, {
4205
+ name: string;
4206
+ }>, z.ZodUnion<[z.ZodObject<{
4207
+ destination_address: z.ZodOptional<z.ZodString>;
4208
+ allowed_destination_addresses: z.ZodOptional<z.ZodNever>;
4209
+ }, "strip", z.ZodTypeAny, {
4210
+ destination_address?: string | undefined;
4211
+ allowed_destination_addresses?: undefined;
4212
+ }, {
4213
+ destination_address?: string | undefined;
4214
+ allowed_destination_addresses?: undefined;
4215
+ }>, z.ZodObject<{
4216
+ allowed_destination_addresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4217
+ destination_address: z.ZodOptional<z.ZodNever>;
4218
+ }, "strip", z.ZodTypeAny, {
4219
+ allowed_destination_addresses?: string[] | undefined;
4220
+ destination_address?: undefined;
4221
+ }, {
4222
+ allowed_destination_addresses?: string[] | undefined;
4223
+ destination_address?: undefined;
4224
+ }>]>>, "many">>;
4225
+ }, "strip", z.ZodTypeAny, {
4226
+ send_email?: ({
4227
+ name: string;
4228
+ } & ({
4229
+ destination_address?: string | undefined;
4230
+ allowed_destination_addresses?: undefined;
4231
+ } | {
4232
+ allowed_destination_addresses?: string[] | undefined;
4233
+ destination_address?: undefined;
4234
+ }))[] | undefined;
4235
+ }, {
4236
+ send_email?: ({
4237
+ name: string;
4238
+ } & ({
4239
+ destination_address?: string | undefined;
4240
+ allowed_destination_addresses?: undefined;
4241
+ } | {
4242
+ allowed_destination_addresses?: string[] | undefined;
4243
+ destination_address?: undefined;
4244
+ }))[] | undefined;
4245
+ }>>;
4246
+ }, "strip", z.ZodTypeAny, {
4247
+ email?: {
4248
+ send_email?: ({
4249
+ name: string;
4250
+ } & ({
4251
+ destination_address?: string | undefined;
4252
+ allowed_destination_addresses?: undefined;
4253
+ } | {
4254
+ allowed_destination_addresses?: string[] | undefined;
4255
+ destination_address?: undefined;
4256
+ }))[] | undefined;
4257
+ } | undefined;
4258
+ }, {
4259
+ email?: {
4260
+ send_email?: ({
4261
+ name: string;
4262
+ } & ({
4263
+ destination_address?: string | undefined;
4264
+ allowed_destination_addresses?: undefined;
4265
+ } | {
4266
+ allowed_destination_addresses?: string[] | undefined;
4267
+ destination_address?: undefined;
4268
+ }))[] | undefined;
4269
+ } | undefined;
4270
+ }>>;
4271
+ "analytics-engine": Plugin_2<z.ZodObject<{
4272
+ analyticsEngineDatasets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4273
+ dataset: z.ZodString;
4274
+ }, "strip", z.ZodTypeAny, {
4275
+ dataset: string;
4276
+ }, {
4277
+ dataset: string;
4278
+ }>>>;
4279
+ }, "strip", z.ZodTypeAny, {
4280
+ analyticsEngineDatasets?: Record<string, {
4281
+ dataset: string;
4282
+ }> | undefined;
4283
+ }, {
4284
+ analyticsEngineDatasets?: Record<string, {
4285
+ dataset: string;
4286
+ }> | undefined;
4287
+ }>, z.ZodObject<{
4288
+ analyticsEngineDatasetsPersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
4289
+ }, "strip", z.ZodTypeAny, {
4290
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
4291
+ }, {
4292
+ analyticsEngineDatasetsPersist?: string | boolean | undefined;
4293
+ }>>;
3537
4294
  };
3538
4295
 
3539
4296
  export declare type Plugins = typeof PLUGINS;
@@ -3554,7 +4311,6 @@ export declare interface PluginServicesOptions<Options extends z.ZodType, Shared
3554
4311
  unsafeEphemeralDurableObjects: boolean;
3555
4312
  queueProducers: QueueProducers;
3556
4313
  queueConsumers: QueueConsumers;
3557
- unsafeEnableAssetsRpc: boolean;
3558
4314
  }
3559
4315
 
3560
4316
  export declare function prefixError(prefix: string, e: any): Error;
@@ -4103,6 +4859,41 @@ export declare interface RuntimeOptions {
4103
4859
 
4104
4860
  export declare function sanitisePath(unsafe: string): string;
4105
4861
 
4862
+ export declare const SECRET_STORE_PLUGIN: Plugin<typeof SecretsStoreSecretsOptionsSchema, typeof SecretsStoreSecretsSharedOptionsSchema>;
4863
+
4864
+ export declare const SECRET_STORE_PLUGIN_NAME = "secrets-store";
4865
+
4866
+ export declare const SecretsStoreSecretsOptionsSchema: z.ZodObject<{
4867
+ secretsStoreSecrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4868
+ store_id: z.ZodString;
4869
+ secret_name: z.ZodString;
4870
+ }, "strip", z.ZodTypeAny, {
4871
+ store_id: string;
4872
+ secret_name: string;
4873
+ }, {
4874
+ store_id: string;
4875
+ secret_name: string;
4876
+ }>>>;
4877
+ }, "strip", z.ZodTypeAny, {
4878
+ secretsStoreSecrets?: Record<string, {
4879
+ store_id: string;
4880
+ secret_name: string;
4881
+ }> | undefined;
4882
+ }, {
4883
+ secretsStoreSecrets?: Record<string, {
4884
+ store_id: string;
4885
+ secret_name: string;
4886
+ }> | undefined;
4887
+ }>;
4888
+
4889
+ export declare const SecretsStoreSecretsSharedOptionsSchema: z.ZodObject<{
4890
+ secretsStorePersist: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodEffects<z.ZodString, string, string>]>>;
4891
+ }, "strip", z.ZodTypeAny, {
4892
+ secretsStorePersist?: string | boolean | undefined;
4893
+ }, {
4894
+ secretsStorePersist?: string | boolean | undefined;
4895
+ }>;
4896
+
4106
4897
  export declare interface SerialisableMatcherRegExps {
4107
4898
  include: string[];
4108
4899
  exclude: string[];
@@ -4138,6 +4929,9 @@ export declare const SERVICE_LOOPBACK = "loopback";
4138
4929
  export declare interface ServiceDesignator {
4139
4930
  name?: string;
4140
4931
  entrypoint?: string;
4932
+ props?: {
4933
+ json: string;
4934
+ };
4141
4935
  }
4142
4936
 
4143
4937
  export declare interface ServicesExtensions {
@@ -4158,7 +4952,7 @@ export declare const SharedHeaders: {
4158
4952
  readonly LOG_LEVEL: "MF-Log-Level";
4159
4953
  };
4160
4954
 
4161
- 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>;
4955
+ 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>;
4162
4956
 
4163
4957
  export declare const SiteBindings: {
4164
4958
  readonly KV_NAMESPACE_SITE: "__STATIC_CONTENT";
@@ -4200,29 +4994,29 @@ export declare type SourceOptions = z.infer<typeof SourceOptionsSchema>;
4200
4994
 
4201
4995
  export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4202
4996
  modules: z.ZodArray<z.ZodObject<{
4203
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4997
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4204
4998
  path: z.ZodEffects<z.ZodString, string, string>;
4205
4999
  contents: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<Uint8Array<ArrayBuffer>, z.ZodTypeDef, Uint8Array<ArrayBuffer>>]>>;
4206
5000
  }, "strip", z.ZodTypeAny, {
4207
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5001
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4208
5002
  path: string;
4209
5003
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4210
5004
  }, {
4211
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5005
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4212
5006
  path: string;
4213
5007
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4214
5008
  }>, "many">;
4215
5009
  modulesRoot: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4216
5010
  }, "strip", z.ZodTypeAny, {
4217
5011
  modules: {
4218
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5012
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4219
5013
  path: string;
4220
5014
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4221
5015
  }[];
4222
5016
  modulesRoot?: string | undefined;
4223
5017
  }, {
4224
5018
  modules: {
4225
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5019
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4226
5020
  path: string;
4227
5021
  contents?: string | Uint8Array<ArrayBuffer> | undefined;
4228
5022
  }[];
@@ -4232,15 +5026,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4232
5026
  scriptPath: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4233
5027
  modules: z.ZodOptional<z.ZodBoolean>;
4234
5028
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4235
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
5029
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4236
5030
  include: z.ZodArray<z.ZodString, "many">;
4237
5031
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4238
5032
  }, "strip", z.ZodTypeAny, {
4239
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5033
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4240
5034
  include: string[];
4241
5035
  fallthrough?: boolean | undefined;
4242
5036
  }, {
4243
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5037
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4244
5038
  include: string[];
4245
5039
  fallthrough?: boolean | undefined;
4246
5040
  }>, "many">>;
@@ -4250,7 +5044,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4250
5044
  scriptPath?: string | undefined;
4251
5045
  modules?: boolean | undefined;
4252
5046
  modulesRules?: {
4253
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5047
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4254
5048
  include: string[];
4255
5049
  fallthrough?: boolean | undefined;
4256
5050
  }[] | undefined;
@@ -4260,7 +5054,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4260
5054
  scriptPath?: string | undefined;
4261
5055
  modules?: boolean | undefined;
4262
5056
  modulesRules?: {
4263
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5057
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4264
5058
  include: string[];
4265
5059
  fallthrough?: boolean | undefined;
4266
5060
  }[] | undefined;
@@ -4269,15 +5063,15 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4269
5063
  scriptPath: z.ZodEffects<z.ZodString, string, string>;
4270
5064
  modules: z.ZodOptional<z.ZodBoolean>;
4271
5065
  modulesRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
4272
- type: z.ZodEnum<["ESModule", "CommonJS", "NodeJsCompatModule", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
5066
+ type: z.ZodEnum<["ESModule", "CommonJS", "Text", "Data", "CompiledWasm", "PythonModule", "PythonRequirement"]>;
4273
5067
  include: z.ZodArray<z.ZodString, "many">;
4274
5068
  fallthrough: z.ZodOptional<z.ZodBoolean>;
4275
5069
  }, "strip", z.ZodTypeAny, {
4276
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5070
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4277
5071
  include: string[];
4278
5072
  fallthrough?: boolean | undefined;
4279
5073
  }, {
4280
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5074
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4281
5075
  include: string[];
4282
5076
  fallthrough?: boolean | undefined;
4283
5077
  }>, "many">>;
@@ -4286,7 +5080,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4286
5080
  scriptPath: string;
4287
5081
  modules?: boolean | undefined;
4288
5082
  modulesRules?: {
4289
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5083
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4290
5084
  include: string[];
4291
5085
  fallthrough?: boolean | undefined;
4292
5086
  }[] | undefined;
@@ -4295,7 +5089,7 @@ export declare const SourceOptionsSchema: z.ZodUnion<[z.ZodObject<{
4295
5089
  scriptPath: string;
4296
5090
  modules?: boolean | undefined;
4297
5091
  modulesRules?: {
4298
- type: "ESModule" | "CommonJS" | "NodeJsCompatModule" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
5092
+ type: "ESModule" | "CommonJS" | "Text" | "Data" | "CompiledWasm" | "PythonModule" | "PythonRequirement";
4299
5093
  include: string[];
4300
5094
  fallthrough?: boolean | undefined;
4301
5095
  }[] | undefined;
@@ -4601,15 +5395,13 @@ export declare type Worker_Module = {
4601
5395
  wasm?: Uint8Array;
4602
5396
  } | {
4603
5397
  json?: string;
4604
- } | {
4605
- nodeJsCompatModule?: string;
4606
5398
  } | {
4607
5399
  pythonModule?: string;
4608
5400
  } | {
4609
5401
  pythonRequirement?: string;
4610
5402
  });
4611
5403
 
4612
- 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>;
5404
+ 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>;
4613
5405
 
4614
5406
  export declare interface WorkerRoute {
4615
5407
  target: string;