@cloudflare/vite-plugin 1.54.1 → 1.54.3
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.
- package/dist/experimental-config.d.mts +27 -21
- package/dist/experimental-config.d.mts.map +1 -1
- package/dist/index.mjs +51823 -98442
- package/dist/index.mjs.map +1 -1
- package/dist/{open-PBXRGS4R-rCTko7Ic.mjs → open-PBXRGS4R-HMkvHv1N.mjs} +6 -6
- package/dist/{open-PBXRGS4R-rCTko7Ic.mjs.map → open-PBXRGS4R-HMkvHv1N.mjs.map} +1 -1
- package/dist/{package-C9YPmEf_.mjs → package-CLSgA-1D.mjs} +2 -2
- package/dist/{package-C9YPmEf_.mjs.map → package-CLSgA-1D.mjs.map} +1 -1
- package/package.json +12 -12
- package/dist/chunk-Q72B4Q5Z-CeVNOsQb-C-Fq2PKw.mjs +0 -48
- package/dist/chunk-Q72B4Q5Z-CeVNOsQb-C-Fq2PKw.mjs.map +0 -1
- package/dist/open-PBXRGS4R-DmJH7r1k-rXrDiJei.mjs +0 -529
- package/dist/open-PBXRGS4R-DmJH7r1k-rXrDiJei.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Pipeline, PipelineRecord } from "cloudflare:pipelines";
|
|
2
2
|
|
|
3
|
-
//#region ../config/dist/public-
|
|
3
|
+
//#region ../config/dist/public-DZgNmLyp.d.mts
|
|
4
4
|
|
|
5
5
|
//#region src/utils.d.ts
|
|
6
6
|
/**
|
|
@@ -143,7 +143,7 @@ interface DispatchNamespaceBindingOptions {
|
|
|
143
143
|
/** Details about the outbound Worker which will handle outbound requests from your namespace. */
|
|
144
144
|
outbound?: {
|
|
145
145
|
/** Name of the Worker handling the outbound requests. */
|
|
146
|
-
|
|
146
|
+
worker: string;
|
|
147
147
|
/** (Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler. */
|
|
148
148
|
parameters?: string[];
|
|
149
149
|
};
|
|
@@ -160,12 +160,12 @@ interface DispatchNamespaceBinding extends DispatchNamespaceBindingOptions {
|
|
|
160
160
|
}
|
|
161
161
|
interface DurableObjectBindingOptions {
|
|
162
162
|
/** The name of the Worker that defines the Durable Object class. */
|
|
163
|
-
|
|
163
|
+
worker: string;
|
|
164
164
|
/** The exported class name of the Durable Object. */
|
|
165
165
|
exportName: string;
|
|
166
166
|
}
|
|
167
167
|
/**
|
|
168
|
-
* Binding to a Durable Object class. `
|
|
168
|
+
* Binding to a Durable Object class. `worker` is the name of the Worker
|
|
169
169
|
* that defines the class; `exportName` is the exported class name.
|
|
170
170
|
*
|
|
171
171
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
@@ -174,13 +174,13 @@ interface DurableObjectBinding extends DurableObjectBindingOptions {
|
|
|
174
174
|
type: "durable-object";
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* Binding to a Durable Object class. `
|
|
177
|
+
* Binding to a Durable Object class. `worker` is the name of the Worker
|
|
178
178
|
* that defines the class; `exportName` is the exported class name.
|
|
179
179
|
*
|
|
180
180
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
181
181
|
*/
|
|
182
182
|
interface TypedDurableObjectBinding<TConfig$1, TExportName$1 extends string> extends DurableObjectBinding {
|
|
183
|
-
|
|
183
|
+
worker: string;
|
|
184
184
|
exportName: TExportName$1;
|
|
185
185
|
/** @internal Carries the config type for inference */
|
|
186
186
|
__config: TConfig$1;
|
|
@@ -510,7 +510,7 @@ interface WebSearchBinding extends WebSearchBindingOptions {
|
|
|
510
510
|
}
|
|
511
511
|
interface WorkerBindingOptions {
|
|
512
512
|
/** The name of the bound Worker. */
|
|
513
|
-
|
|
513
|
+
worker: string;
|
|
514
514
|
/** The named export to bind to (defaults to the default export). */
|
|
515
515
|
exportName?: string;
|
|
516
516
|
/** Optional properties that will be made available to the service via `ctx.props`. */
|
|
@@ -519,7 +519,7 @@ interface WorkerBindingOptions {
|
|
|
519
519
|
dev?: BindingDevOptions;
|
|
520
520
|
}
|
|
521
521
|
/**
|
|
522
|
-
* Service binding (Worker-to-Worker). `
|
|
522
|
+
* Service binding (Worker-to-Worker). `worker` is the name of the bound
|
|
523
523
|
* Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
|
|
524
524
|
* the default export).
|
|
525
525
|
*
|
|
@@ -529,14 +529,14 @@ interface WorkerBinding extends WorkerBindingOptions {
|
|
|
529
529
|
type: "worker";
|
|
530
530
|
}
|
|
531
531
|
/**
|
|
532
|
-
* Service binding (Worker-to-Worker). `
|
|
532
|
+
* Service binding (Worker-to-Worker). `worker` is the name of the bound
|
|
533
533
|
* Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
|
|
534
534
|
* the default export).
|
|
535
535
|
*
|
|
536
536
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
|
|
537
537
|
*/
|
|
538
538
|
interface TypedWorkerBinding<TConfig$1, TExportName$1 extends string> extends WorkerBinding {
|
|
539
|
-
|
|
539
|
+
worker: string;
|
|
540
540
|
exportName: TExportName$1;
|
|
541
541
|
/** @internal Carries the config type for inference */
|
|
542
542
|
__config: TConfig$1;
|
|
@@ -547,23 +547,23 @@ interface WorkerLoaderBinding {
|
|
|
547
547
|
}
|
|
548
548
|
interface WorkflowBindingOptions {
|
|
549
549
|
/** The name of the Worker that defines the Workflow. */
|
|
550
|
-
|
|
550
|
+
worker: string;
|
|
551
551
|
/** The exported class name of the Workflow. */
|
|
552
552
|
exportName: string;
|
|
553
553
|
}
|
|
554
554
|
/**
|
|
555
|
-
* Binding to a Workflow. `
|
|
555
|
+
* Binding to a Workflow. `worker` is the name of the Worker that defines
|
|
556
556
|
* the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.
|
|
557
557
|
*/
|
|
558
558
|
interface WorkflowBinding extends WorkflowBindingOptions {
|
|
559
559
|
type: "workflow";
|
|
560
560
|
}
|
|
561
561
|
/**
|
|
562
|
-
* Binding to a Workflow. `
|
|
562
|
+
* Binding to a Workflow. `worker` is the name of the Worker that defines
|
|
563
563
|
* the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.
|
|
564
564
|
*/
|
|
565
565
|
interface TypedWorkflowBinding<TConfig$1, TExportName$1 extends string> extends WorkflowBinding {
|
|
566
|
-
|
|
566
|
+
worker: string;
|
|
567
567
|
exportName: TExportName$1;
|
|
568
568
|
/** @internal Carries the config type for inference */
|
|
569
569
|
__config: TConfig$1;
|
|
@@ -626,7 +626,7 @@ interface Bindings {
|
|
|
626
626
|
*/
|
|
627
627
|
dispatchNamespace(options?: DispatchNamespaceBindingOptions): DispatchNamespaceBinding;
|
|
628
628
|
/**
|
|
629
|
-
* Binding to a Durable Object class. `
|
|
629
|
+
* Binding to a Durable Object class. `worker` is the name of the Worker
|
|
630
630
|
* that defines the class; `exportName` is the exported class name.
|
|
631
631
|
*
|
|
632
632
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
@@ -729,7 +729,7 @@ interface Bindings {
|
|
|
729
729
|
*/
|
|
730
730
|
webSearch(options?: WebSearchBindingOptions): WebSearchBinding;
|
|
731
731
|
/**
|
|
732
|
-
* Service binding (Worker-to-Worker). `
|
|
732
|
+
* Service binding (Worker-to-Worker). `worker` is the name of the bound
|
|
733
733
|
* Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
|
|
734
734
|
* the default export).
|
|
735
735
|
*
|
|
@@ -1200,7 +1200,7 @@ interface WorkerConfig {
|
|
|
1200
1200
|
*/
|
|
1201
1201
|
tailConsumers?: Array<{
|
|
1202
1202
|
/** The name of the service tail events will be forwarded to. */
|
|
1203
|
-
|
|
1203
|
+
worker: string;
|
|
1204
1204
|
/** Whether to stream tail events in real time. */
|
|
1205
1205
|
streaming?: boolean;
|
|
1206
1206
|
}>;
|
|
@@ -1262,6 +1262,12 @@ interface WorkerConfig {
|
|
|
1262
1262
|
enabled?: boolean;
|
|
1263
1263
|
/** The sampling rate. */
|
|
1264
1264
|
headSamplingRate?: number;
|
|
1265
|
+
/**
|
|
1266
|
+
* Whether query strings are removed from request URLs in logs and traces.
|
|
1267
|
+
*
|
|
1268
|
+
* @default false
|
|
1269
|
+
*/
|
|
1270
|
+
redactQueryString?: boolean;
|
|
1265
1271
|
logs?: {
|
|
1266
1272
|
enabled?: boolean;
|
|
1267
1273
|
/** The sampling rate. */
|
|
@@ -1412,24 +1418,24 @@ interface WorkerDefinition<TConfig$1 extends WorkerConfig = WorkerConfig> extend
|
|
|
1412
1418
|
*/
|
|
1413
1419
|
interface TypedWorkerDefinition<TConfig$1 extends WorkerConfig, TWorkerName extends string = InferWorkerName<TConfig$1>> extends WorkerDefinition<TConfig$1> {
|
|
1414
1420
|
/**
|
|
1415
|
-
* Binding to a Durable Object class. `
|
|
1421
|
+
* Binding to a Durable Object class. `worker` is the name of the Worker
|
|
1416
1422
|
* that defines the class; `exportName` is the exported class name.
|
|
1417
1423
|
*
|
|
1418
1424
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
1419
1425
|
*/
|
|
1420
1426
|
durableObject<TExportName$1 extends InferDurableNamespaces<TConfig$1>>(options: {
|
|
1421
|
-
|
|
1427
|
+
worker: TWorkerName;
|
|
1422
1428
|
exportName: TExportName$1;
|
|
1423
1429
|
}): TypedDurableObjectBinding<TConfig$1, TExportName$1>;
|
|
1424
1430
|
/**
|
|
1425
|
-
* Service binding (Worker-to-Worker). `
|
|
1431
|
+
* Service binding (Worker-to-Worker). `worker` is the name of the bound
|
|
1426
1432
|
* Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to
|
|
1427
1433
|
* the default export).
|
|
1428
1434
|
*
|
|
1429
1435
|
* For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
|
|
1430
1436
|
*/
|
|
1431
1437
|
worker<TExportName$1 extends InferWorkerEntrypointExports<TConfig$1> | undefined = undefined>(options: {
|
|
1432
|
-
|
|
1438
|
+
worker: TWorkerName;
|
|
1433
1439
|
exportName?: TExportName$1;
|
|
1434
1440
|
props?: Record<string, unknown>;
|
|
1435
1441
|
dev?: BindingDevOptions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental-config.d.mts","names":["Pipeline","PipelineRecord","Json","BindingDevOptions","AgentMemoryBindingOptions","AgentMemoryBinding","AiBindingOptions","AiBinding","TypedAiBinding","TAiModelList","AiModelListType","AiModels","AiSearchBindingOptions","AiSearchBinding","AiSearchNamespaceBindingOptions","AiSearchNamespaceBinding","AnalyticsEngineDatasetBindingOptions","AnalyticsEngineDatasetBinding","ArtifactsBindingOptions","ArtifactsBinding","AssetsBinding","BrowserBindingOptions","BrowserBinding","D1BindingOptions","D1Binding","DispatchNamespaceBindingOptions","DispatchNamespaceBinding","DurableObjectBindingOptions","DurableObjectBinding","TypedDurableObjectBinding","TConfig$1","TExportName$1","FlagshipBindingOptions","FlagshipBinding","HyperdriveBindingOptions","HyperdriveBinding","ImagesBindingOptions","ImagesBinding$1","JsonBinding","T$1","KvBindingOptions","KvBinding","TypedKvBinding","TKey","LogfwdrBindingOptions","LogfwdrBinding","MediaBindingOptions","MediaBinding$1","MtlsCertificateBindingOptions","MtlsCertificateBinding","PipelineBindingOptions","PipelineBinding","TypedPipelineBinding","TRecord","QueueBindingOptions","QueueBinding","TypedQueueBinding","TBody","R2BindingOptions","R2Binding","RateLimitBindingOptions","RateLimitBinding","SecretBinding","SecretsStoreSecretBindingOptions","SecretsStoreSecretBinding","SendEmailDestinationOptions","SendEmailBindingOptions","SendEmailBinding","StreamBindingOptions","StreamBinding$1","TextBinding","UnsafeBindingOptions","Record","UnsafeBinding","VectorizeBindingOptions","VectorizeBinding","VersionMetadataBinding","VpcNetworkBindingOptions","VpcNetworkBinding","VpcServiceBindingOptions","VpcServiceBinding","WebSearchBindingOptions","WebSearchBinding","WorkerBindingOptions","WorkerBinding","TypedWorkerBinding","WorkerLoaderBinding","WorkflowBindingOptions","WorkflowBinding","TypedWorkflowBinding","Bindings","bindings","FetchTriggerOptions","FetchTrigger","QueueConsumerTriggerOptions","QueueConsumerTrigger","ScheduledTriggerOptions","ScheduledTrigger","EmailTriggerOptions","EmailTrigger","ConnectTriggerOptions","ConnectTrigger","Triggers","triggers","DurableObjectStorageOptions","DurableObjectCreatedExportOptions","DurableObjectDeletedExportOptions","DurableObjectRenamedExportOptions","DurableObjectTransferredExportOptions","DurableObjectExpectingTransferExportOptions","DurableObjectCreatedExport","DurableObjectDeletedExport","DurableObjectRenamedExport","DurableObjectTransferredExport","DurableObjectExpectingTransferExport","DurableObjectExportOptions","DurableObjectExports","WorkerEntrypointExportOptions","WorkerEntrypointExport","Exports","exports","ConfigContext","DEFINITION","ConfigInput","Promise","resolveExportDefinition","Binding","Trigger","Export","WorkerConfig","WorkerModule","Array","SettingsConfig","WorkerDefinition","Omit","Pick","TypedWorkerDefinition","TWorkerName","InferWorkerName","InferDurableNamespaces","InferWorkerEntrypointExports","WorkerConfigExport","WorkerConfigInput","defineWorker","DefaultModule","ExportedHandler","Rpc","WorkerEntrypointBranded","Constructor","DurableObjectBranded","WorkflowEntrypointBranded","TInstance","ExtractInstance","InstanceType","BindingTypeMap","TBinding","T","Ai","KVNamespace","Queue","AgentMemoryNamespace","AiSearchInstance","AiSearchNamespace","AnalyticsEngineDataset","Artifacts","Fetcher","BrowserRun","D1Database","DispatchNamespace","DurableObjectNamespace","Flagship","Hyperdrive","ImagesBinding","MediaBinding","RateLimit","R2Bucket","SecretsStoreSecret","SendEmail","StreamBinding","VectorizeIndex","WorkerVersionMetadata","WebSearch","WorkerLoader","Workflow","InferBindingType","TConfig","InferMainModule","TExportName","TModule","TWorkflow","P","K","TUnwrappedConfig$1","TName","InferExportsByType","TExportType","TExports","Exclude","UnwrapConfig","TUnwrappedConfig","InferEnv","TEnv","SettingsConfigInput","SettingsDefinition","defineSettings","$","A","B","C","Ct","D","E","F","G","H","I","J","L","M","N","O","Q","R","S","St","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","gt","h","ht","i","it","j","k","l","lt","m","mt","n","nt","o","ot","p","pt","q","r","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z"],"sources":["../../config/dist/public-C3uXDKsB.d.mts"],"sourcesContent":["import { Pipeline, PipelineRecord } from \"cloudflare:pipelines\";\n\n//#region src/utils.d.ts\n/**\n * Represents any valid JSON value.\n */\ntype Json = string | number | boolean | null | Json[] | {\n [key: string]: Json;\n};\n//#endregion\n//#region src/bindings.d.ts\n/** Options that control a binding during local development. */\ninterface BindingDevOptions {\n /** Whether the binding should connect to the remote resource. */\n remote?: boolean;\n}\ninterface AgentMemoryBindingOptions {\n /** The user-chosen namespace name. Must exist in Cloudflare at deploy time. */\n namespace: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Agent Memory namespace binding. Each binding is scoped to a namespace and\n * allows agents to persist and recall memory.\n */\ninterface AgentMemoryBinding extends AgentMemoryBindingOptions {\n type: \"agent-memory\";\n}\ninterface AiBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to the Workers AI project.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai\n */\ninterface AiBinding extends AiBindingOptions {\n type: \"ai\";\n}\n/**\n * Binding to the Workers AI project.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai\n */\ninterface TypedAiBinding<TAiModelList extends AiModelListType = AiModels> extends AiBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TAiModelList];\n}\ninterface AiSearchBindingOptions {\n /** The user-chosen instance name. Must exist in Cloudflare at deploy time. */\n name: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * AI Search instance binding. Each binding is bound directly to a single\n * pre-existing instance within the \"default\" namespace.\n */\ninterface AiSearchBinding extends AiSearchBindingOptions {\n type: \"ai-search\";\n}\ninterface AiSearchNamespaceBindingOptions {\n /** The user-chosen namespace name. Must exist in Cloudflare at deploy time. */\n namespace: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * AI Search namespace binding. Each binding is scoped to a namespace and\n * allows dynamic instance CRUD within it.\n */\ninterface AiSearchNamespaceBinding extends AiSearchNamespaceBindingOptions {\n type: \"ai-search-namespace\";\n}\ninterface AnalyticsEngineDatasetBindingOptions {\n /** The name of this dataset to write to. */\n name?: string;\n}\n/**\n * Binding to an Analytics Engine dataset.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#analytics-engine-datasets\n */\ninterface AnalyticsEngineDatasetBinding extends AnalyticsEngineDatasetBindingOptions {\n type: \"analytics-engine-dataset\";\n}\ninterface ArtifactsBindingOptions {\n /** The namespace to use. */\n namespace: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to an Artifacts instance. Artifacts provides git-compatible file\n * storage on Cloudflare Workers.\n */\ninterface ArtifactsBinding extends ArtifactsBindingOptions {\n type: \"artifacts\";\n}\n/**\n * Binding to the Worker's static assets.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#assets\n */\ninterface AssetsBinding {\n type: \"assets\";\n}\ninterface BrowserBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a headless browser usable from the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering\n */\ninterface BrowserBinding extends BrowserBindingOptions {\n type: \"browser\";\n}\ninterface D1BindingOptions {\n /** The UUID of this D1 database (not required). */\n id?: string;\n /** The name of this D1 database. */\n name?: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a D1 database.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases\n */\ninterface D1Binding extends D1BindingOptions {\n type: \"d1\";\n}\ninterface DispatchNamespaceBindingOptions {\n /** The namespace to bind to. */\n namespace?: string;\n /** Details about the outbound Worker which will handle outbound requests from your namespace. */\n outbound?: {\n /** Name of the Worker handling the outbound requests. */\n workerName: string;\n /** (Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler. */\n parameters?: string[];\n };\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a Workers for Platforms dispatch namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms\n */\ninterface DispatchNamespaceBinding extends DispatchNamespaceBindingOptions {\n type: \"dispatch-namespace\";\n}\ninterface DurableObjectBindingOptions {\n /** The name of the Worker that defines the Durable Object class. */\n workerName: string;\n /** The exported class name of the Durable Object. */\n exportName: string;\n}\n/**\n * Binding to a Durable Object class. `workerName` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\ninterface DurableObjectBinding extends DurableObjectBindingOptions {\n type: \"durable-object\";\n}\n/**\n * Binding to a Durable Object class. `workerName` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\ninterface TypedDurableObjectBinding<TConfig$1, TExportName$1 extends string> extends DurableObjectBinding {\n workerName: string;\n exportName: TExportName$1;\n /** @internal Carries the config type for inference */\n __config: TConfig$1;\n}\ninterface FlagshipBindingOptions {\n /** The Flagship app ID to bind to. */\n id?: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to a Flagship feature-flag service. */\ninterface FlagshipBinding extends FlagshipBindingOptions {\n type: \"flagship\";\n}\ninterface HyperdriveBindingOptions {\n /** The ID of the Hyperdrive configuration. */\n id: string;\n /** Options that only apply during local development. */\n dev?: {\n /** The database connection string used during local development. */\n connectionString?: string;\n };\n}\n/**\n * Binding to a Hyperdrive configuration.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#hyperdrive\n */\ninterface HyperdriveBinding extends HyperdriveBindingOptions {\n type: \"hyperdrive\";\n}\ninterface ImagesBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to Cloudflare Images.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#images\n */\ninterface ImagesBinding$1 extends ImagesBindingOptions {\n type: \"images\";\n}\n/**\n * Inline JSON value made available to the Worker on `env` under the\n * binding name.\n */\ninterface JsonBinding<T$1 extends Json = Json> {\n type: \"json\";\n /** The JSON value made available to the Worker. */\n value: T$1;\n}\ninterface KvBindingOptions {\n /** The ID of the KV namespace. */\n id?: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a Workers KV namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces\n */\ninterface KvBinding extends KvBindingOptions {\n type: \"kv\";\n}\n/**\n * Binding to a Workers KV namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces\n */\ninterface TypedKvBinding<TKey extends string = string> extends KvBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TKey];\n}\ninterface LogfwdrBindingOptions {\n /** The destination for this logged message. */\n destination: string;\n}\n/** Binding for forwarding logs to logfwdr. */\ninterface LogfwdrBinding extends LogfwdrBindingOptions {\n type: \"logfwdr\";\n}\ninterface MediaBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to Cloudflare Media Transformations. */\ninterface MediaBinding$1 extends MediaBindingOptions {\n type: \"media\";\n}\ninterface MtlsCertificateBindingOptions {\n /** The UUID of the uploaded mTLS certificate. */\n id: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to an uploaded mTLS certificate.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates\n */\ninterface MtlsCertificateBinding extends MtlsCertificateBindingOptions {\n type: \"mtls-certificate\";\n}\ninterface PipelineBindingOptions {\n /** Name of the Pipeline to bind. */\n name: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to a Cloudflare Pipeline. */\ninterface PipelineBinding extends PipelineBindingOptions {\n type: \"pipeline\";\n}\n/** Binding to a Cloudflare Pipeline. */\ninterface TypedPipelineBinding<TRecord extends PipelineRecord = PipelineRecord> extends PipelineBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TRecord];\n}\ninterface QueueBindingOptions {\n /** The name of this Queue. */\n name?: string;\n /** The number of seconds to wait before delivering a message. */\n deliveryDelay?: number;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Producer binding to a Cloudflare Queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\ninterface QueueBinding extends QueueBindingOptions {\n type: \"queue\";\n}\n/**\n * Producer binding to a Cloudflare Queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\ninterface TypedQueueBinding<TBody = unknown> extends QueueBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TBody];\n}\ninterface R2BindingOptions {\n /** The name of this R2 bucket at the edge. */\n name?: string;\n /** The jurisdiction that the bucket exists in. Default if not present. */\n jurisdiction?: string;\n /** Settings that only apply to local development. */\n dev?: BindingDevOptions & {\n /** EXPERIMENTAL: credentials for the local S3-compatible endpoint. */\n experimentalS3Credentials?: {\n accessKeyId: string;\n secretAccessKey: string;\n };\n };\n}\n/**\n * Binding to an R2 bucket.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets\n */\ninterface R2Binding extends R2BindingOptions {\n type: \"r2\";\n}\ninterface RateLimitBindingOptions {\n /** The namespace ID for this rate limiter. */\n namespace: string;\n /** Simple rate limiting configuration. */\n simple: {\n /** The maximum number of requests allowed in the time period. */\n limit: number;\n /** The time period in seconds (10 for ten seconds, 60 for one minute). */\n period: 10 | 60;\n };\n}\n/** Binding to a rate limiter. */\ninterface RateLimitBinding extends RateLimitBindingOptions {\n type: \"rate-limit\";\n}\n/**\n * Declares a secret that is required by your Worker, exposed on `env` under\n * the binding name.\n *\n * When defined, this binding:\n * - Replaces .dev.vars/.env/process.env inference for type generation\n * - Enables local dev validation with warnings for missing secrets\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#secrets-configuration-property\n */\ninterface SecretBinding {\n type: \"secret\";\n}\ninterface SecretsStoreSecretBindingOptions {\n /** ID of the secret store. */\n storeId: string;\n /** Name of the secret. */\n secretName: string;\n}\n/** Binding to a Secrets Store secret. */\ninterface SecretsStoreSecretBinding extends SecretsStoreSecretBindingOptions {\n type: \"secrets-store-secret\";\n}\ntype SendEmailDestinationOptions = {\n /** If this binding should be restricted to a specific verified address. */\n destinationAddress: string;\n allowedDestinationAddresses?: never;\n} | {\n destinationAddress?: never;\n /** If this binding should be restricted to a set of verified addresses. */\n allowedDestinationAddresses: string[];\n} | {\n destinationAddress?: never;\n allowedDestinationAddresses?: never;\n};\ntype SendEmailBindingOptions = SendEmailDestinationOptions & {\n /** If this binding should be restricted to a set of sender addresses. */\n allowedSenderAddresses?: string[];\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n};\n/**\n * Binding for sending email from inside the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#email-bindings\n */\ntype SendEmailBinding = SendEmailBindingOptions & {\n type: \"send-email\";\n};\ninterface StreamBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to Cloudflare Stream. */\ninterface StreamBinding$1 extends StreamBindingOptions {\n type: \"stream\";\n}\n/**\n * Inline string value made available to the Worker on `env` under the\n * binding name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables\n */\ninterface TextBinding<T$1 extends string = string> {\n type: \"text\";\n /** The string value made available to the Worker. */\n value: T$1;\n}\ninterface UnsafeBindingOptions {\n /** Local-dev plugin configuration for this unsafe binding. */\n dev?: {\n /** The plugin package that provides the binding's local-dev implementation. */\n plugin: {\n package: string;\n name: string;\n };\n /** Plugin-specific options. */\n options?: Record<string, unknown>;\n };\n [key: string]: unknown;\n}\n/**\n * Escape-hatch binding for runtime features that aren't directly supported\n * by this configuration. Included in the Worker's upload metadata without\n * changes.\n */\ninterface UnsafeBinding extends UnsafeBindingOptions {\n type: `unsafe:${string}`;\n}\ninterface VectorizeBindingOptions {\n /** The name of the Vectorize index. */\n name: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a Vectorize index.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes\n */\ninterface VectorizeBinding extends VectorizeBindingOptions {\n type: \"vectorize\";\n}\n/** Binding to the Worker version's metadata. */\ninterface VersionMetadataBinding {\n type: \"version-metadata\";\n}\ntype VpcNetworkBindingOptions = {\n /** The tunnel ID of the Cloudflare Tunnel to route traffic through. Mutually exclusive with `networkId`. */\n tunnelId: string;\n networkId?: never;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n} | {\n tunnelId?: never;\n /** The network ID to route traffic through. Mutually exclusive with `tunnelId`. */\n networkId: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n};\n/** Binding to a VPC network. */\ntype VpcNetworkBinding = VpcNetworkBindingOptions & {\n type: \"vpc-network\";\n};\ninterface VpcServiceBindingOptions {\n /** The service ID of the VPC connectivity service. */\n id: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to a VPC service. */\ninterface VpcServiceBinding extends VpcServiceBindingOptions {\n type: \"vpc-service\";\n}\ninterface WebSearchBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Cloudflare Web Search binding. There is exactly one shared web corpus, so\n * the binding is zero-config — only the variable name is required.\n */\ninterface WebSearchBinding extends WebSearchBindingOptions {\n type: \"web-search\";\n}\ninterface WorkerBindingOptions {\n /** The name of the bound Worker. */\n workerName: string;\n /** The named export to bind to (defaults to the default export). */\n exportName?: string;\n /** Optional properties that will be made available to the service via `ctx.props`. */\n props?: Record<string, unknown>;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Service binding (Worker-to-Worker). `workerName` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\ninterface WorkerBinding extends WorkerBindingOptions {\n type: \"worker\";\n}\n/**\n * Service binding (Worker-to-Worker). `workerName` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\ninterface TypedWorkerBinding<TConfig$1, TExportName$1 extends string> extends WorkerBinding {\n workerName: string;\n exportName: TExportName$1;\n /** @internal Carries the config type for inference */\n __config: TConfig$1;\n}\n/** Binding to a Worker Loader. */\ninterface WorkerLoaderBinding {\n type: \"worker-loader\";\n}\ninterface WorkflowBindingOptions {\n /** The name of the Worker that defines the Workflow. */\n workerName: string;\n /** The exported class name of the Workflow. */\n exportName: string;\n}\n/**\n * Binding to a Workflow. `workerName` is the name of the Worker that defines\n * the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.\n */\ninterface WorkflowBinding extends WorkflowBindingOptions {\n type: \"workflow\";\n}\n/**\n * Binding to a Workflow. `workerName` is the name of the Worker that defines\n * the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.\n */\ninterface TypedWorkflowBinding<TConfig$1, TExportName$1 extends string> extends WorkflowBinding {\n workerName: string;\n exportName: TExportName$1;\n /** @internal Carries the config type for inference */\n __config: TConfig$1;\n}\ninterface Bindings {\n /**\n * Agent Memory namespace binding. Each binding is scoped to a namespace and\n * allows agents to persist and recall memory.\n */\n agentMemory(options: AgentMemoryBindingOptions): AgentMemoryBinding;\n /**\n * Binding to the Workers AI project.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai\n */\n ai<TAiModelList extends AiModelListType = AiModels>(options?: AiBindingOptions): TypedAiBinding<TAiModelList>;\n /**\n * AI Search instance binding. Each binding is bound directly to a single\n * pre-existing instance within the \"default\" namespace.\n */\n aiSearch(options: AiSearchBindingOptions): AiSearchBinding;\n /**\n * AI Search namespace binding. Each binding is scoped to a namespace and\n * allows dynamic instance CRUD within it.\n */\n aiSearchNamespace(options: AiSearchNamespaceBindingOptions): AiSearchNamespaceBinding;\n /**\n * Binding to an Analytics Engine dataset.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#analytics-engine-datasets\n */\n analyticsEngineDataset(options?: AnalyticsEngineDatasetBindingOptions): AnalyticsEngineDatasetBinding;\n /**\n * Binding to an Artifacts instance. Artifacts provides git-compatible file\n * storage on Cloudflare Workers.\n */\n artifacts(options: ArtifactsBindingOptions): ArtifactsBinding;\n /**\n * Binding to the Worker's static assets.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#assets\n */\n assets(): AssetsBinding;\n /**\n * Binding to a headless browser usable from the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering\n */\n browser(options?: BrowserBindingOptions): BrowserBinding;\n /**\n * Binding to a D1 database.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases\n */\n d1(options?: D1BindingOptions): D1Binding;\n /**\n * Binding to a Workers for Platforms dispatch namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms\n */\n dispatchNamespace(options?: DispatchNamespaceBindingOptions): DispatchNamespaceBinding;\n /**\n * Binding to a Durable Object class. `workerName` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\n durableObject(options: DurableObjectBindingOptions): DurableObjectBinding;\n /** Binding to a Flagship feature-flag service. */\n flagship(options?: FlagshipBindingOptions): FlagshipBinding;\n /**\n * Binding to a Hyperdrive configuration.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#hyperdrive\n */\n hyperdrive(options: HyperdriveBindingOptions): HyperdriveBinding;\n /**\n * Binding to Cloudflare Images.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#images\n */\n images(options?: ImagesBindingOptions): ImagesBinding$1;\n /**\n * Inline JSON value made available to the Worker on `env` under the\n * binding name.\n */\n json<T$1 extends Json>(value: T$1): JsonBinding<T$1>;\n /**\n * Binding to a Workers KV namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces\n */\n kv<TKey extends string = string>(options?: KvBindingOptions): TypedKvBinding<TKey>;\n /** Binding for forwarding logs to logfwdr. */\n logfwdr(options: LogfwdrBindingOptions): LogfwdrBinding;\n /** Binding to Cloudflare Media Transformations. */\n media(options?: MediaBindingOptions): MediaBinding$1;\n /**\n * Binding to an uploaded mTLS certificate.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates\n */\n mtlsCertificate(options: MtlsCertificateBindingOptions): MtlsCertificateBinding;\n /** Binding to a Cloudflare Pipeline. */\n pipeline<TRecord extends PipelineRecord = PipelineRecord>(options: PipelineBindingOptions): TypedPipelineBinding<TRecord>;\n /**\n * Producer binding to a Cloudflare Queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\n queue<TBody = unknown>(options?: QueueBindingOptions): TypedQueueBinding<TBody>;\n /**\n * Binding to an R2 bucket.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets\n */\n r2(options?: R2BindingOptions): R2Binding;\n /** Binding to a rate limiter. */\n rateLimit(options: RateLimitBindingOptions): RateLimitBinding;\n /**\n * Declares a secret that is required by your Worker, exposed on `env` under\n * the binding name.\n *\n * When defined, this binding:\n * - Replaces .dev.vars/.env/process.env inference for type generation\n * - Enables local dev validation with warnings for missing secrets\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#secrets-configuration-property\n */\n secret(): SecretBinding;\n /** Binding to a Secrets Store secret. */\n secretsStoreSecret(options: SecretsStoreSecretBindingOptions): SecretsStoreSecretBinding;\n /**\n * Binding for sending email from inside the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#email-bindings\n */\n sendEmail(options?: SendEmailBindingOptions): SendEmailBinding;\n /** Binding to Cloudflare Stream. */\n stream(options?: StreamBindingOptions): StreamBinding$1;\n /**\n * Inline string value made available to the Worker on `env` under the\n * binding name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables\n */\n text<T$1 extends string>(value: T$1): TextBinding<T$1>;\n /**\n * Binding to a Vectorize index.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes\n */\n vectorize(options: VectorizeBindingOptions): VectorizeBinding;\n /** Binding to the Worker version's metadata. */\n versionMetadata(): VersionMetadataBinding;\n /** Binding to a VPC network. */\n vpcNetwork(options: VpcNetworkBindingOptions): VpcNetworkBinding;\n /** Binding to a VPC service. */\n vpcService(options: VpcServiceBindingOptions): VpcServiceBinding;\n /**\n * Cloudflare Web Search binding. There is exactly one shared web corpus, so\n * the binding is zero-config — only the variable name is required.\n */\n webSearch(options?: WebSearchBindingOptions): WebSearchBinding;\n /**\n * Service binding (Worker-to-Worker). `workerName` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\n worker(options: WorkerBindingOptions): WorkerBinding;\n /** Binding to a Worker Loader. */\n workerLoader(): WorkerLoaderBinding;\n}\ndeclare const bindings: Bindings;\n//#endregion\n//#region src/triggers.d.ts\ninterface FetchTriggerOptions {\n /**\n * A route that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\n pattern: string;\n /**\n * The DNS zone the pattern is attached to. Required when the\n * pattern is ambiguous.\n */\n zone?: string;\n}\n/**\n * Fetch trigger — a route that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\ninterface FetchTrigger extends FetchTriggerOptions {\n type: \"fetch\";\n}\ninterface QueueConsumerTriggerOptions {\n /** The name of the queue from which this consumer should consume. */\n name: string;\n /** The queue to send messages that failed to be consumed. */\n deadLetterQueue?: string;\n /** The maximum number of messages per batch. */\n maxBatchSize?: number;\n /** The maximum number of seconds to wait to fill a batch with messages. */\n maxBatchTimeout?: number;\n /**\n * The maximum number of concurrent consumer Worker invocations.\n * Leaving this unset will allow your consumer to scale to the\n * maximum concurrency needed to keep up with the message backlog.\n */\n maxConcurrency?: number | null;\n /** The maximum number of retries for each message. */\n maxRetries?: number;\n /** The number of seconds to wait before retrying a message. */\n retryDelay?: number;\n /** The number of milliseconds to wait for pulled messages to become visible again. */\n visibilityTimeoutMs?: number;\n}\n/**\n * Queue consumer trigger — invokes this Worker when messages arrive on the\n * named queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\ninterface QueueConsumerTrigger extends QueueConsumerTriggerOptions {\n type: \"queue\";\n}\ninterface ScheduledTriggerOptions {\n /**\n * A \"cron\" definition to trigger a Worker's \"scheduled\" function.\n *\n * Lets you call Workers periodically, much like a cron job.\n *\n * More details here https://developers.cloudflare.com/workers/platform/cron-triggers\n */\n schedule: string;\n}\n/**\n * Scheduled (cron) trigger — invokes this Worker on the given schedules.\n *\n * More details here https://developers.cloudflare.com/workers/platform/cron-triggers\n */\ninterface ScheduledTrigger extends ScheduledTriggerOptions {\n type: \"scheduled\";\n}\ninterface EmailTriggerOptions {\n /**\n * Inbound Email Routing addresses handled by this Worker.\n *\n * Each entry is a literal recipient address (e.g. `\"support@example.com\"`)\n * or a `*@domain` catch-all (e.g. `\"*@example.com\"`).\n */\n addresses: string[];\n}\n/**\n * Email trigger — invokes this Worker for the configured Email Routing\n * addresses.\n */\ninterface EmailTrigger extends EmailTriggerOptions {\n type: \"email\";\n}\ninterface ConnectTriggerOptions {\n /** The transport protocol to listen for. */\n protocol: \"tcp\";\n /** The port to listen on. */\n port: number;\n /** The address to bind to. Defaults to `127.0.0.1`. */\n address?: string;\n}\n/**\n * Connect trigger — invokes this Worker's `connect(socket, env, ctx)`\n * handler for raw socket connections received on the configured\n * protocol/port.\n */\ninterface ConnectTrigger extends ConnectTriggerOptions {\n type: \"connect\";\n}\n/**\n * Event triggers — fetch routes, queue consumers, cron schedules, Email\n * Routing addresses, and raw sockets — that invoke this Worker.\n * Construct entries with `triggers.fetch(...)`, `triggers.queue(...)`,\n * `triggers.scheduled(...)`, `triggers.email(...)`, or `triggers.connect(...)`.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#triggers\n */\ninterface Triggers {\n /**\n * Fetch trigger — a route that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\n fetch(options: FetchTriggerOptions): FetchTrigger;\n /**\n * Queue consumer trigger — invokes this Worker when messages arrive on the\n * named queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\n queue(options: QueueConsumerTriggerOptions): QueueConsumerTrigger;\n /**\n * Scheduled (cron) trigger — invokes this Worker on the given schedules.\n *\n * More details here https://developers.cloudflare.com/workers/platform/cron-triggers\n */\n scheduled(options: ScheduledTriggerOptions): ScheduledTrigger;\n /**\n * Email trigger — invokes this Worker for the configured Email Routing\n * addresses.\n */\n email(options: EmailTriggerOptions): EmailTrigger;\n /**\n * Connect trigger — invokes this Worker's `connect(socket, env, ctx)`\n * handler for raw socket connections received on the configured\n * protocol/port.\n */\n connect(options: ConnectTriggerOptions): ConnectTrigger;\n}\n/**\n * Triggers builder for configuring event triggers.\n *\n * @example\n * ```typescript\n * import { defineWorker, triggers } from \"@cloudflare/config\";\n *\n * export default defineWorker({\n * triggers: [\n * triggers.fetch({ pattern: \"example.com/*\", zone: \"example.com\" }),\n * triggers.queue({ name: \"my-queue\" }),\n * triggers.scheduled({ schedule: \"0 * * * *\" }),\n * triggers.scheduled({ schedule: \"30 0 * * *\" }),\n * triggers.email({ addresses: [\"support@example.com\"] }),\n * triggers.connect({ protocol: \"tcp\", port: 5432 }),\n * ],\n * });\n * ```\n */\ndeclare const triggers: Triggers;\n//#endregion\n//#region src/exports.d.ts\n/**\n * Storage backend for the Durable Object.\n *\n * Containers are only supported on the SQLite storage engine, so `container` is\n * only offered alongside `storage: \"sqlite\"`.\n */\ntype DurableObjectStorageOptions = {\n /**\n * Selects the SQLite-backed storage engine (recommended for new\n * classes).\n */\n storage: \"sqlite\";\n /**\n * Attach a container to this Durable Object, by container name. The\n * name must match an entry in the top level `containers` array.\n */\n container?: string;\n} | {\n /** Selects the legacy key-value storage engine. */\n storage: \"legacy-kv\";\n};\n/**\n * Declares a provisioned Durable Object class exported from this Worker.\n *\n * For more information about Durable Objects, see the documentation at\n * https://developers.cloudflare.com/workers/learning/using-durable-objects\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\ntype DurableObjectCreatedExportOptions = {\n state?: \"created\";\n} & DurableObjectStorageOptions;\n/**\n * Retire a provisioned Durable Object namespace whose class has\n * been removed from code.\n *\n * During deploy, the class must not be exported in the uploaded code, and no\n * other Worker may hold a `durableObject` binding to the namespace.\n */\ninterface DurableObjectDeletedExportOptions {\n state: \"deleted\";\n}\n/**\n * Rename a provisioned Durable Object namespace's class. The\n * `renamedTo` value must also appear as a live (`state: \"created\"`)\n * `durableObject` entry in the same `exports` map.\n */\ninterface DurableObjectRenamedExportOptions {\n state: \"renamed\";\n /**\n * The destination class name. Must be a valid JavaScript identifier and\n * must appear as a live (`state: \"created\"`) `durableObject` entry in the\n * same `exports` map.\n */\n renamedTo: string;\n}\n/**\n * Transfer ownership of a Durable Object namespace to another Worker in the same account.\n * The target Worker must first deploy an `expectingTransfer` entry naming this Worker via `transferFrom`.\n */\ninterface DurableObjectTransferredExportOptions {\n state: \"transferred\";\n /**\n * The destination Worker. Must reference a Worker in the same account.\n */\n transferredTo: string;\n}\n/**\n * Prepare to receive cross-Worker Durable Object transfer.\n * Once the source Worker's `transferred` export is deployed, this entry becomes a normal live `durable-object` export.\n */\ntype DurableObjectExpectingTransferExportOptions = {\n state: \"expecting-transfer\";\n /**\n * The source Worker for the two-phase cross-Worker transfer.\n */\n transferFrom: string;\n} & DurableObjectStorageOptions;\ntype DurableObjectCreatedExport = DurableObjectCreatedExportOptions & {\n type: \"durable-object\";\n};\ninterface DurableObjectDeletedExport extends DurableObjectDeletedExportOptions {\n type: \"durable-object\";\n}\ninterface DurableObjectRenamedExport extends DurableObjectRenamedExportOptions {\n type: \"durable-object\";\n}\ninterface DurableObjectTransferredExport extends DurableObjectTransferredExportOptions {\n type: \"durable-object\";\n}\ntype DurableObjectExpectingTransferExport = DurableObjectExpectingTransferExportOptions & {\n type: \"durable-object\";\n};\ntype DurableObjectExportOptions = DurableObjectCreatedExportOptions | DurableObjectDeletedExportOptions | DurableObjectRenamedExportOptions | DurableObjectTransferredExportOptions | DurableObjectExpectingTransferExportOptions;\ntype DurableObjectExports = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport;\ninterface WorkerEntrypointExportOptions {\n cache?: {\n /** Whether cache is enabled for this entrypoint. */\n enabled: boolean;\n };\n}\ninterface WorkerEntrypointExport extends WorkerEntrypointExportOptions {\n type: \"worker\";\n}\n/**\n * Configuration for named exports declared by the Worker. Each entry's\n * key is the exported class name; the value configures the export.\n */\ninterface Exports {\n /**\n * Declares a Durable Object class defined by this Worker.\n *\n * For more information about Durable Objects, see the documentation at\n * https://developers.cloudflare.com/workers/learning/using-durable-objects\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\n durableObject(options: DurableObjectCreatedExportOptions): DurableObjectCreatedExport;\n /**\n * Retire a provisioned Durable Object namespace whose class has been removed from code.\n */\n durableObject(options: DurableObjectDeletedExportOptions): DurableObjectDeletedExport;\n /**\n * Rename a provisioned Durable Object namespace's class.\n */\n durableObject(options: DurableObjectRenamedExportOptions): DurableObjectRenamedExport;\n /**\n * Transfer ownership of a Durable Object namespace to another Worker in the same account.\n */\n durableObject(options: DurableObjectTransferredExportOptions): DurableObjectTransferredExport;\n /**\n * Prepare to receive cross-Worker Durable Object transfer.\n * The source Worker must follow up with a deployment containing a `transferred` export to commit the transfer.\n */\n durableObject(options: DurableObjectExpectingTransferExportOptions): DurableObjectExpectingTransferExport;\n durableObject(options: DurableObjectExportOptions): DurableObjectExports;\n /** Declares a WorkerEntrypoint export defined by this Worker. */\n worker(options?: WorkerEntrypointExportOptions): WorkerEntrypointExport;\n}\n/**\n * Exports builder for configuring Worker exports.\n *\n * @example\n * ```typescript\n * import { defineWorker, exports } from \"@cloudflare/config\";\n *\n * export default defineWorker({\n * exports: {\n * MyDurableObject: exports.durableObject({ storage: \"sqlite\" }),\n * MyContainerDO: exports.durableObject({ storage: \"sqlite\", container: \"my-container\" }),\n * OldClass: exports.durableObject({ state: \"deleted\" }),\n * OldName: exports.durableObject({ state: \"renamed\", renamedTo: \"NewName\" }),\n * Outgoing: exports.durableObject({ state: \"transferred\", transferredTo: \"target-worker\" }),\n * Incoming: exports.durableObject({ state: \"expecting-transfer\", storage: \"sqlite\", transferFrom: \"source-worker\" }),\n * },\n * });\n * ```\n */\ndeclare const exports: Exports;\n//#endregion\n//#region src/definition.d.ts\ninterface ConfigContext {\n /**\n * The mode the config is being evaluated in.\n * Set via the `--mode` CLI flag.\n * In Vite the mode defaults to `development` in `vite dev` and `production` in `vite build` ([more info](https://vite.dev/guide/env-and-mode.html#modes)).\n * In Wrangler the mode defaults to `undefined`.\n */\n mode: string | undefined;\n}\ndeclare const DEFINITION: unique symbol;\n/**\n * The authored config in any of its supported shapes: a plain value, a promise,\n * or a function of {@link ConfigContext}.\n */\ntype ConfigInput<T$1> = T$1 | Promise<T$1> | ((ctx: ConfigContext) => T$1 | Promise<T$1>);\n/**\n * Resolve any `cloudflare.config.ts` export to its plain config value.\n *\n * A `define*` helper stores its authored config plus `type` under the\n * {@link DEFINITION} symbol; here we unwrap the config and stamp `type` back on.\n * Every other export — a raw object/promise/function — is unwrapped as-is and\n * already carries its own `type`. Discrimination happens afterwards via `type`.\n */\ndeclare function resolveExportDefinition(def: unknown, ctx: ConfigContext): Promise<unknown>;\n//#endregion\n//#region src/types.d.ts\n/**\n * Union of all binding definitions accepted in `env`.\n */\ntype Binding = AgentMemoryBinding | AiBinding | AiSearchBinding | AiSearchNamespaceBinding | AnalyticsEngineDatasetBinding | ArtifactsBinding | AssetsBinding | BrowserBinding | D1Binding | DispatchNamespaceBinding | DurableObjectBinding | FlagshipBinding | HyperdriveBinding | ImagesBinding$1 | JsonBinding | KvBinding | LogfwdrBinding | MediaBinding$1 | MtlsCertificateBinding | PipelineBinding | QueueBinding | R2Binding | RateLimitBinding | SecretBinding | SecretsStoreSecretBinding | SendEmailBinding | StreamBinding$1 | TextBinding | UnsafeBinding | VectorizeBinding | VersionMetadataBinding | VpcNetworkBinding | VpcServiceBinding | WebSearchBinding | WorkerBinding | WorkerLoaderBinding;\n/**\n * Union of all trigger definitions accepted in `triggers`.\n */\ntype Trigger = ConnectTrigger | EmailTrigger | FetchTrigger | QueueConsumerTrigger | ScheduledTrigger;\n/**\n * Union of all export definitions accepted in `exports`. Worker entries\n * configure WorkerEntrypoint exports. Durable Object entries configure live\n * classes and tombstone lifecycle operations.\n */\ntype Export = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport | WorkerEntrypointExport;\n/**\n * Worker configuration. This is the input shape passed to\n * [`defineWorker`](https://developers.cloudflare.com/workers/wrangler/configuration/).\n *\n * Fields are validated at runtime by `InputWorkerSchema` and normalised before\n * being passed to downstream tooling.\n */\ninterface WorkerConfig {\n /**\n * Discriminates this config as a Worker config.\n *\n * Injected automatically by `defineWorker`; only needs to be written by\n * hand when authoring a raw config object without the helper.\n */\n type: \"worker\";\n /**\n * The name of your Worker.\n */\n name: string;\n /**\n * A date in the form yyyy-mm-dd, which will be used to determine\n * which version of the Workers runtime is used.\n *\n * More details at https://developers.cloudflare.com/workers/configuration/compatibility-dates\n */\n compatibilityDate: string;\n /**\n * A list of flags that enable features from upcoming features of\n * the Workers runtime, usually used together with `compatibilityDate`.\n *\n * More details at https://developers.cloudflare.com/workers/configuration/compatibility-flags/\n *\n * @default []\n */\n compatibilityFlags?: string[];\n /**\n * The entrypoint module that will be executed.\n *\n * May be either a path string (e.g. `\"./src/index.ts\"`) or a module\n * namespace imported with the `cf-worker` import attribute.\n *\n * @example\n * ```ts\n * import * as entrypoint from \"./src\" with { type: \"cf-worker\" };\n * export default defineWorker({ entrypoint });\n * ```\n */\n entrypoint?: string | WorkerModule;\n /**\n * Specify the directory of static assets to deploy/serve.\n *\n * More details at https://developers.cloudflare.com/workers/frameworks/\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#assets\n */\n assets?: {\n /** How to handle HTML requests. */\n htmlHandling?: \"auto-trailing-slash\" | \"drop-trailing-slash\" | \"force-trailing-slash\" | \"none\";\n /** How to handle requests that do not match an asset. */\n notFoundHandling?: \"single-page-application\" | \"404-page\" | \"none\";\n /**\n * Matches will be routed to the User Worker, and matches to negative rules will go to the Asset Worker.\n *\n * Can also be `true`, indicating that every request should be routed to the User Worker.\n */\n runWorkerFirst?: string[] | boolean;\n };\n /**\n * Custom domains that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\n domains?: string[];\n /**\n * Event triggers — fetch routes, queue consumers, cron schedules, Email\n * Routing addresses, and raw sockets — that invoke this Worker.\n * Construct entries with `triggers.fetch(...)`, `triggers.queue(...)`,\n * `triggers.scheduled(...)`, `triggers.email(...)`, or\n * `triggers.connect(...)`.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#triggers\n */\n triggers?: Trigger[];\n /**\n * A list of Tail Workers that are bound to this Worker.\n *\n * `@cloudflare/config` unifies regular and streaming tail consumers under\n * a single field; pass `streaming: true` to forward streaming tail events.\n *\n * @default []\n */\n tailConsumers?: Array<{\n /** The name of the service tail events will be forwarded to. */\n workerName: string;\n /** Whether to stream tail events in real time. */\n streaming?: boolean;\n }>;\n /**\n * Specify the cache behavior of the Worker.\n */\n cache?: {\n /** If cache is enabled for this Worker. */\n enabled: boolean;\n /** Whether cached assets may be reused across Worker versions. */\n crossVersionCache?: boolean;\n };\n /**\n * Specify how the Worker should be located to minimize round-trip time.\n *\n * More details: https://developers.cloudflare.com/workers/platform/smart-placement/\n */\n placement?: {\n mode: \"off\" | \"smart\";\n hint?: string;\n } | {\n mode?: \"targeted\";\n region: string;\n } | {\n mode?: \"targeted\";\n host: string;\n } | {\n mode?: \"targeted\";\n hostname: string;\n };\n /**\n * Specify limits for runtime behavior.\n * Only supported for the \"standard\" Usage Model.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#limits\n */\n limits?: {\n /** Maximum allowed CPU time for a Worker's invocation in milliseconds. */\n cpuMs?: number;\n /** Maximum allowed number of fetch requests that a Worker's invocation can execute. */\n subrequests?: number;\n };\n /**\n * Send Trace Events from this Worker to Workers Logpush.\n *\n * This will not configure a corresponding Logpush job automatically.\n *\n * For more information about Workers Logpush, see:\n * https://blog.cloudflare.com/logpush-for-workers/\n */\n logpush?: boolean;\n /**\n * Specify the observability behavior of the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability\n */\n observability?: {\n /** If observability is enabled for this Worker. */\n enabled?: boolean;\n /** The sampling rate. */\n headSamplingRate?: number;\n logs?: {\n enabled?: boolean;\n /** The sampling rate. */\n headSamplingRate?: number;\n /** Set to false to disable invocation logs. */\n invocationLogs?: boolean;\n /**\n * If logs should be persisted to the Cloudflare observability platform where they can be queried in the dashboard.\n *\n * @default true\n */\n persist?: boolean;\n /**\n * What destinations logs emitted from the Worker should be sent to.\n *\n * @default []\n */\n destinations?: string[];\n };\n traces?: {\n enabled?: boolean;\n /** The sampling rate. */\n headSamplingRate?: number;\n /**\n * If traces should be persisted to the Cloudflare observability platform where they can be queried in the dashboard.\n *\n * @default true\n */\n persist?: boolean;\n /**\n * What destinations traces emitted from the Worker should be sent to.\n *\n * @default []\n */\n destinations?: string[];\n };\n };\n /**\n * Whether we use `<name>.<subdomain>.workers.dev` to\n * test and deploy your Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workersdev\n *\n * @default true\n */\n workersDev?: boolean;\n /**\n * Whether we use `<version>-<name>.<subdomain>.workers.dev` to\n * serve Preview URLs for your Worker.\n *\n * @default false\n */\n previewUrls?: boolean;\n /**\n * Designates this Worker as an internal-only \"first-party\" Worker.\n *\n * @internal\n */\n firstPartyWorker?: boolean;\n /**\n * \"Unsafe\" tables for runtime features that aren't directly supported by\n * this configuration. Values are forwarded verbatim in the Worker's\n * upload metadata.\n *\n * @default {}\n */\n unsafe?: {\n /**\n * Arbitrary key/value pairs that will be included in the uploaded metadata. Values specified\n * here will always be applied to metadata last, so can add new or override existing fields.\n */\n metadata?: Record<string, unknown>;\n /**\n * Used for internal capnp uploads for the Workers runtime.\n */\n capnp?: {\n basePath: string;\n sourceSchemas: string[];\n compiledSchema?: never;\n } | {\n basePath?: never;\n sourceSchemas?: never;\n compiledSchema: string;\n };\n };\n /**\n * Bindings exposed on the Worker's `env` object. Construct entries with\n * `bindings.kv(...)`, `bindings.r2(...)`, etc.\n */\n env?: Record<string, Binding>;\n /**\n * Configuration for named exports declared by the Worker. Each entry's\n * key is the exported class name; the value configures the export.\n *\n * Only one export kind is currently supported:\n *\n * - Construct entries with `exports.durableObject(...)`.\n * - Declares Durable Object classes exported from this Worker.\n * For more information about Durable Objects, see the documentation at\n * https://developers.cloudflare.com/workers/learning/using-durable-objects.\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects.\n */\n exports?: Record<string, Export>;\n}\n/**\n * Settings shared by the other exports.\n * Authored as a named `settings` export via\n * `defineSettings`.\n */\ninterface SettingsConfig {\n /**\n * Discriminates this config as a settings config.\n *\n * Injected automatically by `defineSettings`; only needs to be written by\n * hand when authoring a raw config object without the helper.\n */\n type: \"settings\";\n /**\n * This is the ID of the account associated with your zone.\n * You might have more than one account, so make sure to use\n * the ID of the account associated with the zone/route you\n * provide, if you provide one. It can also be specified through\n * the CLOUDFLARE_ACCOUNT_ID environment variable.\n */\n accountId?: string;\n /**\n * Specify the compliance region mode of the Worker.\n *\n * Although if the user does not specify a compliance region, the default is `public`,\n * it can be set to `undefined` in configuration to delegate to the CLOUDFLARE_COMPLIANCE_REGION environment variable.\n */\n complianceRegion?: \"public\" | \"fedramp-high\";\n}\n//#endregion\n//#region src/worker-definition.d.ts\n/**\n * Base shape of a Worker definition. Carries the authored config (under\n * {@link DEFINITION}) and the untyped cross-worker binding helpers.\n */\ninterface WorkerDefinition<TConfig$1 extends WorkerConfig = WorkerConfig> extends Pick<Bindings, \"durableObject\" | \"worker\"> {\n [DEFINITION]: {\n config: ConfigInput<Omit<TConfig$1, \"type\">>;\n type: \"worker\";\n };\n}\n/**\n * Worker definition with typed cross-worker binding helpers.\n */\ninterface TypedWorkerDefinition<TConfig$1 extends WorkerConfig, TWorkerName extends string = InferWorkerName<TConfig$1>> extends WorkerDefinition<TConfig$1> {\n /**\n * Binding to a Durable Object class. `workerName` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\n durableObject<TExportName$1 extends InferDurableNamespaces<TConfig$1>>(options: {\n workerName: TWorkerName;\n exportName: TExportName$1;\n }): TypedDurableObjectBinding<TConfig$1, TExportName$1>;\n /**\n * Service binding (Worker-to-Worker). `workerName` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\n worker<TExportName$1 extends InferWorkerEntrypointExports<TConfig$1> | undefined = undefined>(options: {\n workerName: TWorkerName;\n exportName?: TExportName$1;\n props?: Record<string, unknown>;\n dev?: BindingDevOptions;\n }): TypedWorkerBinding<TConfig$1, TExportName$1 extends string ? TExportName$1 : \"default\">;\n}\ntype WorkerConfigExport<T$1 extends WorkerConfig = WorkerConfig> = ConfigInput<T$1>;\n/**\n * Authored Worker config shape — {@link WorkerConfig} without the `type`\n * discriminant, which `defineWorker` injects.\n */\ntype WorkerConfigInput = Omit<WorkerConfig, \"type\">;\ndeclare function defineWorker<const T$1 extends WorkerConfigInput>(config: (ctx: ConfigContext) => (WorkerConfigInput & T$1) | Promise<WorkerConfigInput & T$1>): TypedWorkerDefinition<T$1 & {\n type: \"worker\";\n}>;\ndeclare function defineWorker<const T$1 extends WorkerConfigInput>(config: (WorkerConfigInput & T$1) | Promise<WorkerConfigInput & T$1>): TypedWorkerDefinition<T$1 & {\n type: \"worker\";\n}>;\n//#endregion\n//#region src/inference.d.ts\n/**\n * The Worker's entry module, imported with the `{ type: \"cf-worker\" }` import attribute\n * @example\n * ```ts\n * import * as entrypoint from \"./src\" with { type: \"cf-worker\" };\n * ```\n */\ntype WorkerModule = Record<string, any>;\n/**\n * Default module type representing an unknown Worker's exports.\n * - default export can be `ExportedHandler` or a `WorkerEntrypoint` class constructor\n * - named exports can be `WorkerEntrypoint`, `DurableObject`, or `WorkflowEntrypoint` class constructors\n */\ninterface DefaultModule {\n default?: ExportedHandler | Constructor<Rpc.WorkerEntrypointBranded>;\n [key: string]: ExportedHandler | Constructor<Rpc.WorkerEntrypointBranded> | Constructor<Rpc.DurableObjectBranded> | Constructor<Rpc.WorkflowEntrypointBranded> | undefined;\n}\n/**\n * Represents a class constructor that creates instances of TInstance.\n */\ntype Constructor<TInstance> = new (...args: any[]) => TInstance;\n/**\n * Extracts the instance type from a class constructor if it extends `TInstance`.\n */\ntype ExtractInstance<T$1, TInstance> = T$1 extends Constructor<TInstance> ? InstanceType<T$1> : never;\n/**\n * Mapping from binding type literals to Cloudflare runtime types.\n *\n * Entries fall into two groups:\n * - Parameterized bindings (ai, json, kv, pipeline, queue, text) refine their\n * runtime type from the binding instance via nominal matches against the\n * `Typed*Binding` / `JsonBinding` / `TextBinding` interfaces from\n * `./bindings`. When `TBinding` does not match, the entry falls back to the\n * unparameterized runtime type.\n * - Non-parameterized bindings map their type literal directly to a runtime\n * type and ignore `TBinding`.\n *\n * IMPORTANT: The right-hand-side identifiers in this map (e.g. `KVNamespace`,\n * `ImagesBinding`, `Fetcher`) must resolve to the ambient runtime types from\n * `@cloudflare/workers-types`, not to local config interfaces. Several local\n * binding interfaces in `./bindings.ts` (`ImagesBinding`, `MediaBinding`,\n * `StreamBinding`) share names with ambient globals — importing those local\n * types into this file silently shadows the globals and breaks `InferEnv`.\n * Only import the `Typed*Binding`, `JsonBinding`, and `TextBinding` interfaces\n * from `./bindings` (their names do not collide with ambient globals); never\n * widen the import to a wildcard or to the plain `*Binding` interfaces.\n */\ninterface BindingTypeMap<TBinding> {\n ai: TBinding extends TypedAiBinding<infer T> ? Ai<T> : Ai;\n json: TBinding extends JsonBinding<infer T> ? T : never;\n kv: TBinding extends TypedKvBinding<infer T> ? KVNamespace<T> : KVNamespace;\n pipeline: TBinding extends TypedPipelineBinding<infer T> ? Pipeline<T> : Pipeline;\n queue: TBinding extends TypedQueueBinding<infer T> ? Queue<T> : Queue;\n text: TBinding extends TextBinding<infer T> ? T : never;\n \"agent-memory\": AgentMemoryNamespace;\n \"ai-search\": AiSearchInstance;\n \"ai-search-namespace\": AiSearchNamespace;\n \"analytics-engine-dataset\": AnalyticsEngineDataset;\n artifacts: Artifacts;\n assets: Fetcher;\n browser: BrowserRun;\n d1: D1Database;\n \"dispatch-namespace\": DispatchNamespace;\n \"durable-object\": DurableObjectNamespace;\n flagship: Flagship;\n hyperdrive: Hyperdrive;\n images: ImagesBinding;\n logfwdr: any;\n media: MediaBinding;\n \"mtls-certificate\": Fetcher;\n \"rate-limit\": RateLimit;\n r2: R2Bucket;\n secret: string;\n \"secrets-store-secret\": SecretsStoreSecret;\n \"send-email\": SendEmail;\n stream: StreamBinding;\n vectorize: VectorizeIndex;\n \"version-metadata\": WorkerVersionMetadata;\n \"vpc-service\": Fetcher;\n \"vpc-network\": Fetcher;\n \"web-search\": WebSearch;\n worker: Fetcher;\n \"worker-loader\": WorkerLoader;\n workflow: Workflow;\n}\ntype InferBindingType<TBinding> = TBinding extends TypedWorkerBinding<infer TConfig, infer TExportName extends string> ? InferMainModule<TConfig> extends infer TModule extends WorkerModule ? TExportName extends keyof TModule ? TModule[TExportName] extends Constructor<any> ? Fetcher<ExtractInstance<TModule[TExportName], Rpc.WorkerEntrypointBranded>> : Fetcher : never : never : TBinding extends TypedDurableObjectBinding<infer TConfig, infer TExportName extends string> ? InferMainModule<TConfig> extends infer TModule extends WorkerModule ? TExportName extends keyof TModule ? DurableObjectNamespace<ExtractInstance<TModule[TExportName], Rpc.DurableObjectBranded>> : never : never : TBinding extends TypedWorkflowBinding<infer TConfig, infer TExportName extends string> ? InferMainModule<TConfig> extends infer TModule extends WorkerModule ? TExportName extends keyof TModule ? ExtractInstance<TModule[TExportName], Rpc.WorkflowEntrypointBranded> extends infer TWorkflow ? TWorkflow extends {\n run(event: {\n payload: infer P;\n }, step: any): any;\n} ? Workflow<P> : Workflow : Workflow : never : never : TBinding extends {\n type: `unsafe:${string}`;\n} ? any : TBinding extends {\n type: infer K extends keyof BindingTypeMap<TBinding>;\n} ? BindingTypeMap<TBinding>[K] : never;\n/**\n * Infer the Worker name from a config.\n *\n * @example\n * ```typescript\n * import { defineWorker } from \"@cloudflare/config\";\n * import type { InferDurableNamespaces, UnwrapConfig } from \"@cloudflare/config\";\n *\n * const config = defineWorker({ name: \"my-worker\", ... });\n *\n * type WorkerConfig = UnwrapConfig<typeof config>;\n * // Inferred as: \"my-worker\"\n * type Name = InferWorkerName<WorkerConfig>;\n * ```\n */\ntype InferWorkerName<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n name: infer TName extends string;\n} ? TName : never;\n/**\n * Infer export names from a config's exports, optionally filtered by type.\n * When TExportType is `string` (default), returns all export names.\n * When TExportType is a specific literal like `\"durable-object\"` or `\"workflow\"`,\n * returns only exports of that type.\n */\ntype InferExportsByType<TUnwrappedConfig$1, TExportType extends string = string> = TUnwrappedConfig$1 extends {\n exports: infer TExports extends Record<string, {\n type: string;\n }>;\n} ? { [K in keyof TExports]: TExports[K] extends {\n type: TExportType;\n} ? K & string : never }[keyof TExports] : never;\n/**\n * Infer `WorkerEntrypoint` export names from a config.\n * Returns named module exports that are not declared as type `\"durable-object\"` or `\"workflow\"` in `exports`.\n * Excludes `\"default\"` since `exportName` should only be provided for named exports.\n */\ntype InferWorkerEntrypointExports<TUnwrappedConfig$1> = Exclude<keyof InferMainModule<TUnwrappedConfig$1> & string, \"default\" | InferExportsByType<TUnwrappedConfig$1, \"durable-object\" | \"workflow\">>;\n/**\n * Unwrap function and promise types to get the underlying config.\n * Use this to normalize a config before passing it to other inference utilities.\n */\ntype UnwrapConfig<TConfig$1> = TConfig$1 extends WorkerDefinition<infer TUnwrappedConfig> ? TUnwrappedConfig : TConfig$1 extends WorkerConfigExport<infer TUnwrappedConfig> ? TUnwrappedConfig : never;\n/**\n * Infer the `Env` interface type from a Worker config.\n *\n * Transforms a config object's `env` bindings into their\n * corresponding Cloudflare runtime types.\n *\n * @example\n * ```typescript\n * import { defineWorker, bindings } from \"@cloudflare/config\";\n * import type { InferEnv, UnwrapConfig } from \"@cloudflare/config\";\n *\n * const config = defineWorker({\n * env: {\n * MY_JSON: bindings.json({ id: string }),\n * MY_KV: bindings.kv(),\n * },\n * });\n *\n * type WorkerConfig = UnwrapConfig<typeof config>;\n * // Inferred as: { MY_JSON: { id: string }; MY_KV: KVNamespace }\n * export type Env = InferEnv<WorkerConfig>;\n * ```\n */\ntype InferEnv<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n env: infer TEnv extends Record<string, any>;\n} ? { [K in keyof TEnv]: InferBindingType<TEnv[K]> } : never;\n/**\n * Infer the Durable Object namespace names from a Worker config's exports.\n * Returns a union of export names that declare a *live* Durable Object —\n * `type: \"durable-object\"` with `state` either omitted, `\"created\"`, or\n * `\"expecting-transfer\"`. Tombstone entries (`deleted`, `renamed`,\n * `transferred`) are excluded because they retire the namespace and a\n * binding to a tombstoned class would fail at deploy time.\n *\n * @example\n * ```typescript\n * import { defineWorker } from \"@cloudflare/config\";\n * import type { InferDurableNamespaces, UnwrapConfig } from \"@cloudflare/config\";\n *\n * const config = defineWorker({\n * exports: {\n * MyDurableObject: { type: \"durable-object\", storage: \"sqlite\" },\n * OldGone: { type: \"durable-object\", state: \"deleted\" },\n * },\n * });\n *\n * type WorkerConfig = UnwrapConfig<typeof config>;\n * // Inferred as: \"MyDurableObject\" (the deleted tombstone is excluded)\n * type DurableNamespaces = InferDurableNamespaces<WorkerConfig>;\n * ```\n */\ntype InferDurableNamespaces<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n exports: infer TExports extends Record<string, {\n type: string;\n }>;\n} ? { [K in keyof TExports]: TExports[K] extends {\n type: \"durable-object\";\n} ? TExports[K] extends {\n state: \"deleted\" | \"renamed\" | \"transferred\";\n} ? never : K & string : never }[keyof TExports] : never;\n/**\n * Infer the main module type from a Worker config's entrypoint.\n * If entrypoint is a module namespace object, returns that type.\n * If entrypoint is a `string` or not present, returns `DefaultModule` as a fallback.\n */\ntype InferMainModule<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n entrypoint: infer TModule extends WorkerModule;\n} ? TModule : DefaultModule;\n//#endregion\n//#region src/settings-definition.d.ts\n/**\n * Authored settings config shape — {@link SettingsConfig} without the `type`\n * discriminant, which `defineSettings` injects.\n */\ntype SettingsConfigInput = Omit<SettingsConfig, \"type\">;\n/**\n * A settings definition created by {@link defineSettings}.\n */\ninterface SettingsDefinition {\n [DEFINITION]: {\n config: ConfigInput<SettingsConfigInput>;\n type: \"settings\";\n };\n}\n/**\n * Declare shared settings.\n * Authored as a named `settings` export.\n */\ndeclare function defineSettings(config: ConfigInput<SettingsConfigInput>): SettingsDefinition;\n//#endregion\nexport { PipelineBinding as $, Triggers as A, Bindings as B, WorkerEntrypointExportOptions as C, WorkflowBinding as Ct, FetchTrigger as D, EmailTrigger as E, AiSearchNamespaceBinding as F, FlagshipBinding as G, D1Binding as H, AnalyticsEngineDatasetBinding as I, JsonBinding as J, HyperdriveBinding as K, ArtifactsBinding as L, AgentMemoryBinding as M, AiBinding as N, QueueConsumerTrigger as O, AiSearchBinding as P, MtlsCertificateBinding as Q, AssetsBinding as R, WorkerEntrypointExport as S, WorkerLoaderBinding as St, ConnectTrigger as T, DispatchNamespaceBinding as U, BrowserBinding as V, DurableObjectBinding as W, LogfwdrBinding as X, KvBinding as Y, MediaBinding$1 as Z, DurableObjectDeletedExport as _, VersionMetadataBinding as _t, InferEnv as a, SendEmailBinding as at, DurableObjectTransferredExport as b, WebSearchBinding as bt, TypedWorkerDefinition as c, TypedAiBinding as ct, defineWorker as d, TypedPipelineBinding as dt, QueueBinding as et, SettingsConfig as f, TypedQueueBinding as ft, DurableObjectCreatedExport as g, VectorizeBinding as gt, resolveExportDefinition as h, UnsafeBinding as ht, InferDurableNamespaces as i, SecretsStoreSecretBinding as it, triggers as j, ScheduledTrigger as k, WorkerConfigExport as l, TypedDurableObjectBinding as lt, ConfigContext as m, TypedWorkflowBinding as mt, SettingsDefinition as n, RateLimitBinding as nt, InferMainModule as o, StreamBinding$1 as ot, WorkerConfig as p, TypedWorkerBinding as pt, ImagesBinding$1 as q, defineSettings as r, SecretBinding as rt, UnwrapConfig as s, TextBinding as st, SettingsConfigInput as t, R2Binding as tt, WorkerConfigInput as u, TypedKvBinding as ut, DurableObjectExpectingTransferExport as v, VpcNetworkBinding as vt, exports as w, bindings as wt, Exports as x, WorkerBinding as xt, DurableObjectRenamedExport as y, VpcServiceBinding as yt, BindingDevOptions as z };"],"mappings":";;;;;AAA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|
+
{"version":3,"file":"experimental-config.d.mts","names":["Pipeline","PipelineRecord","Json","BindingDevOptions","AgentMemoryBindingOptions","AgentMemoryBinding","AiBindingOptions","AiBinding","TypedAiBinding","TAiModelList","AiModelListType","AiModels","AiSearchBindingOptions","AiSearchBinding","AiSearchNamespaceBindingOptions","AiSearchNamespaceBinding","AnalyticsEngineDatasetBindingOptions","AnalyticsEngineDatasetBinding","ArtifactsBindingOptions","ArtifactsBinding","AssetsBinding","BrowserBindingOptions","BrowserBinding","D1BindingOptions","D1Binding","DispatchNamespaceBindingOptions","DispatchNamespaceBinding","DurableObjectBindingOptions","DurableObjectBinding","TypedDurableObjectBinding","TConfig$1","TExportName$1","FlagshipBindingOptions","FlagshipBinding","HyperdriveBindingOptions","HyperdriveBinding","ImagesBindingOptions","ImagesBinding$1","JsonBinding","T$1","KvBindingOptions","KvBinding","TypedKvBinding","TKey","LogfwdrBindingOptions","LogfwdrBinding","MediaBindingOptions","MediaBinding$1","MtlsCertificateBindingOptions","MtlsCertificateBinding","PipelineBindingOptions","PipelineBinding","TypedPipelineBinding","TRecord","QueueBindingOptions","QueueBinding","TypedQueueBinding","TBody","R2BindingOptions","R2Binding","RateLimitBindingOptions","RateLimitBinding","SecretBinding","SecretsStoreSecretBindingOptions","SecretsStoreSecretBinding","SendEmailDestinationOptions","SendEmailBindingOptions","SendEmailBinding","StreamBindingOptions","StreamBinding$1","TextBinding","UnsafeBindingOptions","Record","UnsafeBinding","VectorizeBindingOptions","VectorizeBinding","VersionMetadataBinding","VpcNetworkBindingOptions","VpcNetworkBinding","VpcServiceBindingOptions","VpcServiceBinding","WebSearchBindingOptions","WebSearchBinding","WorkerBindingOptions","WorkerBinding","TypedWorkerBinding","WorkerLoaderBinding","WorkflowBindingOptions","WorkflowBinding","TypedWorkflowBinding","Bindings","bindings","FetchTriggerOptions","FetchTrigger","QueueConsumerTriggerOptions","QueueConsumerTrigger","ScheduledTriggerOptions","ScheduledTrigger","EmailTriggerOptions","EmailTrigger","ConnectTriggerOptions","ConnectTrigger","Triggers","triggers","DurableObjectStorageOptions","DurableObjectCreatedExportOptions","DurableObjectDeletedExportOptions","DurableObjectRenamedExportOptions","DurableObjectTransferredExportOptions","DurableObjectExpectingTransferExportOptions","DurableObjectCreatedExport","DurableObjectDeletedExport","DurableObjectRenamedExport","DurableObjectTransferredExport","DurableObjectExpectingTransferExport","DurableObjectExportOptions","DurableObjectExports","WorkerEntrypointExportOptions","WorkerEntrypointExport","Exports","exports","ConfigContext","DEFINITION","ConfigInput","Promise","resolveExportDefinition","Binding","Trigger","Export","WorkerConfig","WorkerModule","Array","SettingsConfig","WorkerDefinition","Omit","Pick","TypedWorkerDefinition","TWorkerName","InferWorkerName","InferDurableNamespaces","InferWorkerEntrypointExports","WorkerConfigExport","WorkerConfigInput","defineWorker","DefaultModule","ExportedHandler","Rpc","WorkerEntrypointBranded","Constructor","DurableObjectBranded","WorkflowEntrypointBranded","TInstance","ExtractInstance","InstanceType","BindingTypeMap","TBinding","T","Ai","KVNamespace","Queue","AgentMemoryNamespace","AiSearchInstance","AiSearchNamespace","AnalyticsEngineDataset","Artifacts","Fetcher","BrowserRun","D1Database","DispatchNamespace","DurableObjectNamespace","Flagship","Hyperdrive","ImagesBinding","MediaBinding","RateLimit","R2Bucket","SecretsStoreSecret","SendEmail","StreamBinding","VectorizeIndex","WorkerVersionMetadata","WebSearch","WorkerLoader","Workflow","InferBindingType","TConfig","InferMainModule","TExportName","TModule","TWorkflow","P","K","TUnwrappedConfig$1","TName","InferExportsByType","TExportType","TExports","Exclude","UnwrapConfig","TUnwrappedConfig","InferEnv","TEnv","SettingsConfigInput","SettingsDefinition","defineSettings","$","A","B","C","Ct","D","E","F","G","H","I","J","L","M","N","O","Q","R","S","St","U","V","W","X","Y","Z","_","_t","a","at","b","bt","c","ct","d","dt","et","f","ft","g","gt","h","ht","i","it","j","k","l","lt","m","mt","n","nt","o","ot","p","pt","q","r","rt","s","st","t","tt","u","ut","v","vt","w","wt","x","xt","y","yt","z"],"sources":["../../config/dist/public-DZgNmLyp.d.mts"],"sourcesContent":["import { Pipeline, PipelineRecord } from \"cloudflare:pipelines\";\n\n//#region src/utils.d.ts\n/**\n * Represents any valid JSON value.\n */\ntype Json = string | number | boolean | null | Json[] | {\n [key: string]: Json;\n};\n//#endregion\n//#region src/bindings.d.ts\n/** Options that control a binding during local development. */\ninterface BindingDevOptions {\n /** Whether the binding should connect to the remote resource. */\n remote?: boolean;\n}\ninterface AgentMemoryBindingOptions {\n /** The user-chosen namespace name. Must exist in Cloudflare at deploy time. */\n namespace: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Agent Memory namespace binding. Each binding is scoped to a namespace and\n * allows agents to persist and recall memory.\n */\ninterface AgentMemoryBinding extends AgentMemoryBindingOptions {\n type: \"agent-memory\";\n}\ninterface AiBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to the Workers AI project.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai\n */\ninterface AiBinding extends AiBindingOptions {\n type: \"ai\";\n}\n/**\n * Binding to the Workers AI project.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai\n */\ninterface TypedAiBinding<TAiModelList extends AiModelListType = AiModels> extends AiBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TAiModelList];\n}\ninterface AiSearchBindingOptions {\n /** The user-chosen instance name. Must exist in Cloudflare at deploy time. */\n name: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * AI Search instance binding. Each binding is bound directly to a single\n * pre-existing instance within the \"default\" namespace.\n */\ninterface AiSearchBinding extends AiSearchBindingOptions {\n type: \"ai-search\";\n}\ninterface AiSearchNamespaceBindingOptions {\n /** The user-chosen namespace name. Must exist in Cloudflare at deploy time. */\n namespace: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * AI Search namespace binding. Each binding is scoped to a namespace and\n * allows dynamic instance CRUD within it.\n */\ninterface AiSearchNamespaceBinding extends AiSearchNamespaceBindingOptions {\n type: \"ai-search-namespace\";\n}\ninterface AnalyticsEngineDatasetBindingOptions {\n /** The name of this dataset to write to. */\n name?: string;\n}\n/**\n * Binding to an Analytics Engine dataset.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#analytics-engine-datasets\n */\ninterface AnalyticsEngineDatasetBinding extends AnalyticsEngineDatasetBindingOptions {\n type: \"analytics-engine-dataset\";\n}\ninterface ArtifactsBindingOptions {\n /** The namespace to use. */\n namespace: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to an Artifacts instance. Artifacts provides git-compatible file\n * storage on Cloudflare Workers.\n */\ninterface ArtifactsBinding extends ArtifactsBindingOptions {\n type: \"artifacts\";\n}\n/**\n * Binding to the Worker's static assets.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#assets\n */\ninterface AssetsBinding {\n type: \"assets\";\n}\ninterface BrowserBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a headless browser usable from the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering\n */\ninterface BrowserBinding extends BrowserBindingOptions {\n type: \"browser\";\n}\ninterface D1BindingOptions {\n /** The UUID of this D1 database (not required). */\n id?: string;\n /** The name of this D1 database. */\n name?: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a D1 database.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases\n */\ninterface D1Binding extends D1BindingOptions {\n type: \"d1\";\n}\ninterface DispatchNamespaceBindingOptions {\n /** The namespace to bind to. */\n namespace?: string;\n /** Details about the outbound Worker which will handle outbound requests from your namespace. */\n outbound?: {\n /** Name of the Worker handling the outbound requests. */\n worker: string;\n /** (Optional) List of parameter names, for sending context from your dispatch Worker to the outbound handler. */\n parameters?: string[];\n };\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a Workers for Platforms dispatch namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms\n */\ninterface DispatchNamespaceBinding extends DispatchNamespaceBindingOptions {\n type: \"dispatch-namespace\";\n}\ninterface DurableObjectBindingOptions {\n /** The name of the Worker that defines the Durable Object class. */\n worker: string;\n /** The exported class name of the Durable Object. */\n exportName: string;\n}\n/**\n * Binding to a Durable Object class. `worker` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\ninterface DurableObjectBinding extends DurableObjectBindingOptions {\n type: \"durable-object\";\n}\n/**\n * Binding to a Durable Object class. `worker` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\ninterface TypedDurableObjectBinding<TConfig$1, TExportName$1 extends string> extends DurableObjectBinding {\n worker: string;\n exportName: TExportName$1;\n /** @internal Carries the config type for inference */\n __config: TConfig$1;\n}\ninterface FlagshipBindingOptions {\n /** The Flagship app ID to bind to. */\n id?: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to a Flagship feature-flag service. */\ninterface FlagshipBinding extends FlagshipBindingOptions {\n type: \"flagship\";\n}\ninterface HyperdriveBindingOptions {\n /** The ID of the Hyperdrive configuration. */\n id: string;\n /** Options that only apply during local development. */\n dev?: {\n /** The database connection string used during local development. */\n connectionString?: string;\n };\n}\n/**\n * Binding to a Hyperdrive configuration.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#hyperdrive\n */\ninterface HyperdriveBinding extends HyperdriveBindingOptions {\n type: \"hyperdrive\";\n}\ninterface ImagesBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to Cloudflare Images.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#images\n */\ninterface ImagesBinding$1 extends ImagesBindingOptions {\n type: \"images\";\n}\n/**\n * Inline JSON value made available to the Worker on `env` under the\n * binding name.\n */\ninterface JsonBinding<T$1 extends Json = Json> {\n type: \"json\";\n /** The JSON value made available to the Worker. */\n value: T$1;\n}\ninterface KvBindingOptions {\n /** The ID of the KV namespace. */\n id?: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a Workers KV namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces\n */\ninterface KvBinding extends KvBindingOptions {\n type: \"kv\";\n}\n/**\n * Binding to a Workers KV namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces\n */\ninterface TypedKvBinding<TKey extends string = string> extends KvBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TKey];\n}\ninterface LogfwdrBindingOptions {\n /** The destination for this logged message. */\n destination: string;\n}\n/** Binding for forwarding logs to logfwdr. */\ninterface LogfwdrBinding extends LogfwdrBindingOptions {\n type: \"logfwdr\";\n}\ninterface MediaBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to Cloudflare Media Transformations. */\ninterface MediaBinding$1 extends MediaBindingOptions {\n type: \"media\";\n}\ninterface MtlsCertificateBindingOptions {\n /** The UUID of the uploaded mTLS certificate. */\n id: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to an uploaded mTLS certificate.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates\n */\ninterface MtlsCertificateBinding extends MtlsCertificateBindingOptions {\n type: \"mtls-certificate\";\n}\ninterface PipelineBindingOptions {\n /** Name of the Pipeline to bind. */\n name: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to a Cloudflare Pipeline. */\ninterface PipelineBinding extends PipelineBindingOptions {\n type: \"pipeline\";\n}\n/** Binding to a Cloudflare Pipeline. */\ninterface TypedPipelineBinding<TRecord extends PipelineRecord = PipelineRecord> extends PipelineBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TRecord];\n}\ninterface QueueBindingOptions {\n /** The name of this Queue. */\n name?: string;\n /** The number of seconds to wait before delivering a message. */\n deliveryDelay?: number;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Producer binding to a Cloudflare Queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\ninterface QueueBinding extends QueueBindingOptions {\n type: \"queue\";\n}\n/**\n * Producer binding to a Cloudflare Queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\ninterface TypedQueueBinding<TBody = unknown> extends QueueBinding {\n /** @internal Carries type parameters for inference */\n __typeParams: [TBody];\n}\ninterface R2BindingOptions {\n /** The name of this R2 bucket at the edge. */\n name?: string;\n /** The jurisdiction that the bucket exists in. Default if not present. */\n jurisdiction?: string;\n /** Settings that only apply to local development. */\n dev?: BindingDevOptions & {\n /** EXPERIMENTAL: credentials for the local S3-compatible endpoint. */\n experimentalS3Credentials?: {\n accessKeyId: string;\n secretAccessKey: string;\n };\n };\n}\n/**\n * Binding to an R2 bucket.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets\n */\ninterface R2Binding extends R2BindingOptions {\n type: \"r2\";\n}\ninterface RateLimitBindingOptions {\n /** The namespace ID for this rate limiter. */\n namespace: string;\n /** Simple rate limiting configuration. */\n simple: {\n /** The maximum number of requests allowed in the time period. */\n limit: number;\n /** The time period in seconds (10 for ten seconds, 60 for one minute). */\n period: 10 | 60;\n };\n}\n/** Binding to a rate limiter. */\ninterface RateLimitBinding extends RateLimitBindingOptions {\n type: \"rate-limit\";\n}\n/**\n * Declares a secret that is required by your Worker, exposed on `env` under\n * the binding name.\n *\n * When defined, this binding:\n * - Replaces .dev.vars/.env/process.env inference for type generation\n * - Enables local dev validation with warnings for missing secrets\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#secrets-configuration-property\n */\ninterface SecretBinding {\n type: \"secret\";\n}\ninterface SecretsStoreSecretBindingOptions {\n /** ID of the secret store. */\n storeId: string;\n /** Name of the secret. */\n secretName: string;\n}\n/** Binding to a Secrets Store secret. */\ninterface SecretsStoreSecretBinding extends SecretsStoreSecretBindingOptions {\n type: \"secrets-store-secret\";\n}\ntype SendEmailDestinationOptions = {\n /** If this binding should be restricted to a specific verified address. */\n destinationAddress: string;\n allowedDestinationAddresses?: never;\n} | {\n destinationAddress?: never;\n /** If this binding should be restricted to a set of verified addresses. */\n allowedDestinationAddresses: string[];\n} | {\n destinationAddress?: never;\n allowedDestinationAddresses?: never;\n};\ntype SendEmailBindingOptions = SendEmailDestinationOptions & {\n /** If this binding should be restricted to a set of sender addresses. */\n allowedSenderAddresses?: string[];\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n};\n/**\n * Binding for sending email from inside the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#email-bindings\n */\ntype SendEmailBinding = SendEmailBindingOptions & {\n type: \"send-email\";\n};\ninterface StreamBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to Cloudflare Stream. */\ninterface StreamBinding$1 extends StreamBindingOptions {\n type: \"stream\";\n}\n/**\n * Inline string value made available to the Worker on `env` under the\n * binding name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables\n */\ninterface TextBinding<T$1 extends string = string> {\n type: \"text\";\n /** The string value made available to the Worker. */\n value: T$1;\n}\ninterface UnsafeBindingOptions {\n /** Local-dev plugin configuration for this unsafe binding. */\n dev?: {\n /** The plugin package that provides the binding's local-dev implementation. */\n plugin: {\n package: string;\n name: string;\n };\n /** Plugin-specific options. */\n options?: Record<string, unknown>;\n };\n [key: string]: unknown;\n}\n/**\n * Escape-hatch binding for runtime features that aren't directly supported\n * by this configuration. Included in the Worker's upload metadata without\n * changes.\n */\ninterface UnsafeBinding extends UnsafeBindingOptions {\n type: `unsafe:${string}`;\n}\ninterface VectorizeBindingOptions {\n /** The name of the Vectorize index. */\n name: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Binding to a Vectorize index.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes\n */\ninterface VectorizeBinding extends VectorizeBindingOptions {\n type: \"vectorize\";\n}\n/** Binding to the Worker version's metadata. */\ninterface VersionMetadataBinding {\n type: \"version-metadata\";\n}\ntype VpcNetworkBindingOptions = {\n /** The tunnel ID of the Cloudflare Tunnel to route traffic through. Mutually exclusive with `networkId`. */\n tunnelId: string;\n networkId?: never;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n} | {\n tunnelId?: never;\n /** The network ID to route traffic through. Mutually exclusive with `tunnelId`. */\n networkId: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n};\n/** Binding to a VPC network. */\ntype VpcNetworkBinding = VpcNetworkBindingOptions & {\n type: \"vpc-network\";\n};\ninterface VpcServiceBindingOptions {\n /** The service ID of the VPC connectivity service. */\n id: string;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/** Binding to a VPC service. */\ninterface VpcServiceBinding extends VpcServiceBindingOptions {\n type: \"vpc-service\";\n}\ninterface WebSearchBindingOptions {\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Cloudflare Web Search binding. There is exactly one shared web corpus, so\n * the binding is zero-config — only the variable name is required.\n */\ninterface WebSearchBinding extends WebSearchBindingOptions {\n type: \"web-search\";\n}\ninterface WorkerBindingOptions {\n /** The name of the bound Worker. */\n worker: string;\n /** The named export to bind to (defaults to the default export). */\n exportName?: string;\n /** Optional properties that will be made available to the service via `ctx.props`. */\n props?: Record<string, unknown>;\n /** Options that only apply during local development. */\n dev?: BindingDevOptions;\n}\n/**\n * Service binding (Worker-to-Worker). `worker` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\ninterface WorkerBinding extends WorkerBindingOptions {\n type: \"worker\";\n}\n/**\n * Service binding (Worker-to-Worker). `worker` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\ninterface TypedWorkerBinding<TConfig$1, TExportName$1 extends string> extends WorkerBinding {\n worker: string;\n exportName: TExportName$1;\n /** @internal Carries the config type for inference */\n __config: TConfig$1;\n}\n/** Binding to a Worker Loader. */\ninterface WorkerLoaderBinding {\n type: \"worker-loader\";\n}\ninterface WorkflowBindingOptions {\n /** The name of the Worker that defines the Workflow. */\n worker: string;\n /** The exported class name of the Workflow. */\n exportName: string;\n}\n/**\n * Binding to a Workflow. `worker` is the name of the Worker that defines\n * the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.\n */\ninterface WorkflowBinding extends WorkflowBindingOptions {\n type: \"workflow\";\n}\n/**\n * Binding to a Workflow. `worker` is the name of the Worker that defines\n * the Workflow; `exportName` is the exported `WorkflowEntrypoint` class name.\n */\ninterface TypedWorkflowBinding<TConfig$1, TExportName$1 extends string> extends WorkflowBinding {\n worker: string;\n exportName: TExportName$1;\n /** @internal Carries the config type for inference */\n __config: TConfig$1;\n}\ninterface Bindings {\n /**\n * Agent Memory namespace binding. Each binding is scoped to a namespace and\n * allows agents to persist and recall memory.\n */\n agentMemory(options: AgentMemoryBindingOptions): AgentMemoryBinding;\n /**\n * Binding to the Workers AI project.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai\n */\n ai<TAiModelList extends AiModelListType = AiModels>(options?: AiBindingOptions): TypedAiBinding<TAiModelList>;\n /**\n * AI Search instance binding. Each binding is bound directly to a single\n * pre-existing instance within the \"default\" namespace.\n */\n aiSearch(options: AiSearchBindingOptions): AiSearchBinding;\n /**\n * AI Search namespace binding. Each binding is scoped to a namespace and\n * allows dynamic instance CRUD within it.\n */\n aiSearchNamespace(options: AiSearchNamespaceBindingOptions): AiSearchNamespaceBinding;\n /**\n * Binding to an Analytics Engine dataset.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#analytics-engine-datasets\n */\n analyticsEngineDataset(options?: AnalyticsEngineDatasetBindingOptions): AnalyticsEngineDatasetBinding;\n /**\n * Binding to an Artifacts instance. Artifacts provides git-compatible file\n * storage on Cloudflare Workers.\n */\n artifacts(options: ArtifactsBindingOptions): ArtifactsBinding;\n /**\n * Binding to the Worker's static assets.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#assets\n */\n assets(): AssetsBinding;\n /**\n * Binding to a headless browser usable from the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering\n */\n browser(options?: BrowserBindingOptions): BrowserBinding;\n /**\n * Binding to a D1 database.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases\n */\n d1(options?: D1BindingOptions): D1Binding;\n /**\n * Binding to a Workers for Platforms dispatch namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms\n */\n dispatchNamespace(options?: DispatchNamespaceBindingOptions): DispatchNamespaceBinding;\n /**\n * Binding to a Durable Object class. `worker` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\n durableObject(options: DurableObjectBindingOptions): DurableObjectBinding;\n /** Binding to a Flagship feature-flag service. */\n flagship(options?: FlagshipBindingOptions): FlagshipBinding;\n /**\n * Binding to a Hyperdrive configuration.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#hyperdrive\n */\n hyperdrive(options: HyperdriveBindingOptions): HyperdriveBinding;\n /**\n * Binding to Cloudflare Images.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#images\n */\n images(options?: ImagesBindingOptions): ImagesBinding$1;\n /**\n * Inline JSON value made available to the Worker on `env` under the\n * binding name.\n */\n json<T$1 extends Json>(value: T$1): JsonBinding<T$1>;\n /**\n * Binding to a Workers KV namespace.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces\n */\n kv<TKey extends string = string>(options?: KvBindingOptions): TypedKvBinding<TKey>;\n /** Binding for forwarding logs to logfwdr. */\n logfwdr(options: LogfwdrBindingOptions): LogfwdrBinding;\n /** Binding to Cloudflare Media Transformations. */\n media(options?: MediaBindingOptions): MediaBinding$1;\n /**\n * Binding to an uploaded mTLS certificate.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates\n */\n mtlsCertificate(options: MtlsCertificateBindingOptions): MtlsCertificateBinding;\n /** Binding to a Cloudflare Pipeline. */\n pipeline<TRecord extends PipelineRecord = PipelineRecord>(options: PipelineBindingOptions): TypedPipelineBinding<TRecord>;\n /**\n * Producer binding to a Cloudflare Queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\n queue<TBody = unknown>(options?: QueueBindingOptions): TypedQueueBinding<TBody>;\n /**\n * Binding to an R2 bucket.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets\n */\n r2(options?: R2BindingOptions): R2Binding;\n /** Binding to a rate limiter. */\n rateLimit(options: RateLimitBindingOptions): RateLimitBinding;\n /**\n * Declares a secret that is required by your Worker, exposed on `env` under\n * the binding name.\n *\n * When defined, this binding:\n * - Replaces .dev.vars/.env/process.env inference for type generation\n * - Enables local dev validation with warnings for missing secrets\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#secrets-configuration-property\n */\n secret(): SecretBinding;\n /** Binding to a Secrets Store secret. */\n secretsStoreSecret(options: SecretsStoreSecretBindingOptions): SecretsStoreSecretBinding;\n /**\n * Binding for sending email from inside the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#email-bindings\n */\n sendEmail(options?: SendEmailBindingOptions): SendEmailBinding;\n /** Binding to Cloudflare Stream. */\n stream(options?: StreamBindingOptions): StreamBinding$1;\n /**\n * Inline string value made available to the Worker on `env` under the\n * binding name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables\n */\n text<T$1 extends string>(value: T$1): TextBinding<T$1>;\n /**\n * Binding to a Vectorize index.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes\n */\n vectorize(options: VectorizeBindingOptions): VectorizeBinding;\n /** Binding to the Worker version's metadata. */\n versionMetadata(): VersionMetadataBinding;\n /** Binding to a VPC network. */\n vpcNetwork(options: VpcNetworkBindingOptions): VpcNetworkBinding;\n /** Binding to a VPC service. */\n vpcService(options: VpcServiceBindingOptions): VpcServiceBinding;\n /**\n * Cloudflare Web Search binding. There is exactly one shared web corpus, so\n * the binding is zero-config — only the variable name is required.\n */\n webSearch(options?: WebSearchBindingOptions): WebSearchBinding;\n /**\n * Service binding (Worker-to-Worker). `worker` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\n worker(options: WorkerBindingOptions): WorkerBinding;\n /** Binding to a Worker Loader. */\n workerLoader(): WorkerLoaderBinding;\n}\ndeclare const bindings: Bindings;\n//#endregion\n//#region src/triggers.d.ts\ninterface FetchTriggerOptions {\n /**\n * A route that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\n pattern: string;\n /**\n * The DNS zone the pattern is attached to. Required when the\n * pattern is ambiguous.\n */\n zone?: string;\n}\n/**\n * Fetch trigger — a route that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\ninterface FetchTrigger extends FetchTriggerOptions {\n type: \"fetch\";\n}\ninterface QueueConsumerTriggerOptions {\n /** The name of the queue from which this consumer should consume. */\n name: string;\n /** The queue to send messages that failed to be consumed. */\n deadLetterQueue?: string;\n /** The maximum number of messages per batch. */\n maxBatchSize?: number;\n /** The maximum number of seconds to wait to fill a batch with messages. */\n maxBatchTimeout?: number;\n /**\n * The maximum number of concurrent consumer Worker invocations.\n * Leaving this unset will allow your consumer to scale to the\n * maximum concurrency needed to keep up with the message backlog.\n */\n maxConcurrency?: number | null;\n /** The maximum number of retries for each message. */\n maxRetries?: number;\n /** The number of seconds to wait before retrying a message. */\n retryDelay?: number;\n /** The number of milliseconds to wait for pulled messages to become visible again. */\n visibilityTimeoutMs?: number;\n}\n/**\n * Queue consumer trigger — invokes this Worker when messages arrive on the\n * named queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\ninterface QueueConsumerTrigger extends QueueConsumerTriggerOptions {\n type: \"queue\";\n}\ninterface ScheduledTriggerOptions {\n /**\n * A \"cron\" definition to trigger a Worker's \"scheduled\" function.\n *\n * Lets you call Workers periodically, much like a cron job.\n *\n * More details here https://developers.cloudflare.com/workers/platform/cron-triggers\n */\n schedule: string;\n}\n/**\n * Scheduled (cron) trigger — invokes this Worker on the given schedules.\n *\n * More details here https://developers.cloudflare.com/workers/platform/cron-triggers\n */\ninterface ScheduledTrigger extends ScheduledTriggerOptions {\n type: \"scheduled\";\n}\ninterface EmailTriggerOptions {\n /**\n * Inbound Email Routing addresses handled by this Worker.\n *\n * Each entry is a literal recipient address (e.g. `\"support@example.com\"`)\n * or a `*@domain` catch-all (e.g. `\"*@example.com\"`).\n */\n addresses: string[];\n}\n/**\n * Email trigger — invokes this Worker for the configured Email Routing\n * addresses.\n */\ninterface EmailTrigger extends EmailTriggerOptions {\n type: \"email\";\n}\ninterface ConnectTriggerOptions {\n /** The transport protocol to listen for. */\n protocol: \"tcp\";\n /** The port to listen on. */\n port: number;\n /** The address to bind to. Defaults to `127.0.0.1`. */\n address?: string;\n}\n/**\n * Connect trigger — invokes this Worker's `connect(socket, env, ctx)`\n * handler for raw socket connections received on the configured\n * protocol/port.\n */\ninterface ConnectTrigger extends ConnectTriggerOptions {\n type: \"connect\";\n}\n/**\n * Event triggers — fetch routes, queue consumers, cron schedules, Email\n * Routing addresses, and raw sockets — that invoke this Worker.\n * Construct entries with `triggers.fetch(...)`, `triggers.queue(...)`,\n * `triggers.scheduled(...)`, `triggers.email(...)`, or `triggers.connect(...)`.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#triggers\n */\ninterface Triggers {\n /**\n * Fetch trigger — a route that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\n fetch(options: FetchTriggerOptions): FetchTrigger;\n /**\n * Queue consumer trigger — invokes this Worker when messages arrive on the\n * named queue.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#queues\n */\n queue(options: QueueConsumerTriggerOptions): QueueConsumerTrigger;\n /**\n * Scheduled (cron) trigger — invokes this Worker on the given schedules.\n *\n * More details here https://developers.cloudflare.com/workers/platform/cron-triggers\n */\n scheduled(options: ScheduledTriggerOptions): ScheduledTrigger;\n /**\n * Email trigger — invokes this Worker for the configured Email Routing\n * addresses.\n */\n email(options: EmailTriggerOptions): EmailTrigger;\n /**\n * Connect trigger — invokes this Worker's `connect(socket, env, ctx)`\n * handler for raw socket connections received on the configured\n * protocol/port.\n */\n connect(options: ConnectTriggerOptions): ConnectTrigger;\n}\n/**\n * Triggers builder for configuring event triggers.\n *\n * @example\n * ```typescript\n * import { defineWorker, triggers } from \"@cloudflare/config\";\n *\n * export default defineWorker({\n * triggers: [\n * triggers.fetch({ pattern: \"example.com/*\", zone: \"example.com\" }),\n * triggers.queue({ name: \"my-queue\" }),\n * triggers.scheduled({ schedule: \"0 * * * *\" }),\n * triggers.scheduled({ schedule: \"30 0 * * *\" }),\n * triggers.email({ addresses: [\"support@example.com\"] }),\n * triggers.connect({ protocol: \"tcp\", port: 5432 }),\n * ],\n * });\n * ```\n */\ndeclare const triggers: Triggers;\n//#endregion\n//#region src/exports.d.ts\n/**\n * Storage backend for the Durable Object.\n *\n * Containers are only supported on the SQLite storage engine, so `container` is\n * only offered alongside `storage: \"sqlite\"`.\n */\ntype DurableObjectStorageOptions = {\n /**\n * Selects the SQLite-backed storage engine (recommended for new\n * classes).\n */\n storage: \"sqlite\";\n /**\n * Attach a container to this Durable Object, by container name. The\n * name must match an entry in the top level `containers` array.\n */\n container?: string;\n} | {\n /** Selects the legacy key-value storage engine. */\n storage: \"legacy-kv\";\n};\n/**\n * Declares a provisioned Durable Object class exported from this Worker.\n *\n * For more information about Durable Objects, see the documentation at\n * https://developers.cloudflare.com/workers/learning/using-durable-objects\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\ntype DurableObjectCreatedExportOptions = {\n state?: \"created\";\n} & DurableObjectStorageOptions;\n/**\n * Retire a provisioned Durable Object namespace whose class has\n * been removed from code.\n *\n * During deploy, the class must not be exported in the uploaded code, and no\n * other Worker may hold a `durableObject` binding to the namespace.\n */\ninterface DurableObjectDeletedExportOptions {\n state: \"deleted\";\n}\n/**\n * Rename a provisioned Durable Object namespace's class. The\n * `renamedTo` value must also appear as a live (`state: \"created\"`)\n * `durableObject` entry in the same `exports` map.\n */\ninterface DurableObjectRenamedExportOptions {\n state: \"renamed\";\n /**\n * The destination class name. Must be a valid JavaScript identifier and\n * must appear as a live (`state: \"created\"`) `durableObject` entry in the\n * same `exports` map.\n */\n renamedTo: string;\n}\n/**\n * Transfer ownership of a Durable Object namespace to another Worker in the same account.\n * The target Worker must first deploy an `expectingTransfer` entry naming this Worker via `transferFrom`.\n */\ninterface DurableObjectTransferredExportOptions {\n state: \"transferred\";\n /**\n * The destination Worker. Must reference a Worker in the same account.\n */\n transferredTo: string;\n}\n/**\n * Prepare to receive cross-Worker Durable Object transfer.\n * Once the source Worker's `transferred` export is deployed, this entry becomes a normal live `durable-object` export.\n */\ntype DurableObjectExpectingTransferExportOptions = {\n state: \"expecting-transfer\";\n /**\n * The source Worker for the two-phase cross-Worker transfer.\n */\n transferFrom: string;\n} & DurableObjectStorageOptions;\ntype DurableObjectCreatedExport = DurableObjectCreatedExportOptions & {\n type: \"durable-object\";\n};\ninterface DurableObjectDeletedExport extends DurableObjectDeletedExportOptions {\n type: \"durable-object\";\n}\ninterface DurableObjectRenamedExport extends DurableObjectRenamedExportOptions {\n type: \"durable-object\";\n}\ninterface DurableObjectTransferredExport extends DurableObjectTransferredExportOptions {\n type: \"durable-object\";\n}\ntype DurableObjectExpectingTransferExport = DurableObjectExpectingTransferExportOptions & {\n type: \"durable-object\";\n};\ntype DurableObjectExportOptions = DurableObjectCreatedExportOptions | DurableObjectDeletedExportOptions | DurableObjectRenamedExportOptions | DurableObjectTransferredExportOptions | DurableObjectExpectingTransferExportOptions;\ntype DurableObjectExports = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport;\ninterface WorkerEntrypointExportOptions {\n cache?: {\n /** Whether cache is enabled for this entrypoint. */\n enabled: boolean;\n };\n}\ninterface WorkerEntrypointExport extends WorkerEntrypointExportOptions {\n type: \"worker\";\n}\n/**\n * Configuration for named exports declared by the Worker. Each entry's\n * key is the exported class name; the value configures the export.\n */\ninterface Exports {\n /**\n * Declares a Durable Object class defined by this Worker.\n *\n * For more information about Durable Objects, see the documentation at\n * https://developers.cloudflare.com/workers/learning/using-durable-objects\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\n durableObject(options: DurableObjectCreatedExportOptions): DurableObjectCreatedExport;\n /**\n * Retire a provisioned Durable Object namespace whose class has been removed from code.\n */\n durableObject(options: DurableObjectDeletedExportOptions): DurableObjectDeletedExport;\n /**\n * Rename a provisioned Durable Object namespace's class.\n */\n durableObject(options: DurableObjectRenamedExportOptions): DurableObjectRenamedExport;\n /**\n * Transfer ownership of a Durable Object namespace to another Worker in the same account.\n */\n durableObject(options: DurableObjectTransferredExportOptions): DurableObjectTransferredExport;\n /**\n * Prepare to receive cross-Worker Durable Object transfer.\n * The source Worker must follow up with a deployment containing a `transferred` export to commit the transfer.\n */\n durableObject(options: DurableObjectExpectingTransferExportOptions): DurableObjectExpectingTransferExport;\n durableObject(options: DurableObjectExportOptions): DurableObjectExports;\n /** Declares a WorkerEntrypoint export defined by this Worker. */\n worker(options?: WorkerEntrypointExportOptions): WorkerEntrypointExport;\n}\n/**\n * Exports builder for configuring Worker exports.\n *\n * @example\n * ```typescript\n * import { defineWorker, exports } from \"@cloudflare/config\";\n *\n * export default defineWorker({\n * exports: {\n * MyDurableObject: exports.durableObject({ storage: \"sqlite\" }),\n * MyContainerDO: exports.durableObject({ storage: \"sqlite\", container: \"my-container\" }),\n * OldClass: exports.durableObject({ state: \"deleted\" }),\n * OldName: exports.durableObject({ state: \"renamed\", renamedTo: \"NewName\" }),\n * Outgoing: exports.durableObject({ state: \"transferred\", transferredTo: \"target-worker\" }),\n * Incoming: exports.durableObject({ state: \"expecting-transfer\", storage: \"sqlite\", transferFrom: \"source-worker\" }),\n * },\n * });\n * ```\n */\ndeclare const exports: Exports;\n//#endregion\n//#region src/definition.d.ts\ninterface ConfigContext {\n /**\n * The mode the config is being evaluated in.\n * Set via the `--mode` CLI flag.\n * In Vite the mode defaults to `development` in `vite dev` and `production` in `vite build` ([more info](https://vite.dev/guide/env-and-mode.html#modes)).\n * In Wrangler the mode defaults to `undefined`.\n */\n mode: string | undefined;\n}\ndeclare const DEFINITION: unique symbol;\n/**\n * The authored config in any of its supported shapes: a plain value, a promise,\n * or a function of {@link ConfigContext}.\n */\ntype ConfigInput<T$1> = T$1 | Promise<T$1> | ((ctx: ConfigContext) => T$1 | Promise<T$1>);\n/**\n * Resolve any `cloudflare.config.ts` export to its plain config value.\n *\n * A `define*` helper stores its authored config plus `type` under the\n * {@link DEFINITION} symbol; here we unwrap the config and stamp `type` back on.\n * Every other export — a raw object/promise/function — is unwrapped as-is and\n * already carries its own `type`. Discrimination happens afterwards via `type`.\n */\ndeclare function resolveExportDefinition(def: unknown, ctx: ConfigContext): Promise<unknown>;\n//#endregion\n//#region src/types.d.ts\n/**\n * Union of all binding definitions accepted in `env`.\n */\ntype Binding = AgentMemoryBinding | AiBinding | AiSearchBinding | AiSearchNamespaceBinding | AnalyticsEngineDatasetBinding | ArtifactsBinding | AssetsBinding | BrowserBinding | D1Binding | DispatchNamespaceBinding | DurableObjectBinding | FlagshipBinding | HyperdriveBinding | ImagesBinding$1 | JsonBinding | KvBinding | LogfwdrBinding | MediaBinding$1 | MtlsCertificateBinding | PipelineBinding | QueueBinding | R2Binding | RateLimitBinding | SecretBinding | SecretsStoreSecretBinding | SendEmailBinding | StreamBinding$1 | TextBinding | UnsafeBinding | VectorizeBinding | VersionMetadataBinding | VpcNetworkBinding | VpcServiceBinding | WebSearchBinding | WorkerBinding | WorkerLoaderBinding;\n/**\n * Union of all trigger definitions accepted in `triggers`.\n */\ntype Trigger = ConnectTrigger | EmailTrigger | FetchTrigger | QueueConsumerTrigger | ScheduledTrigger;\n/**\n * Union of all export definitions accepted in `exports`. Worker entries\n * configure WorkerEntrypoint exports. Durable Object entries configure live\n * classes and tombstone lifecycle operations.\n */\ntype Export = DurableObjectCreatedExport | DurableObjectDeletedExport | DurableObjectRenamedExport | DurableObjectTransferredExport | DurableObjectExpectingTransferExport | WorkerEntrypointExport;\n/**\n * Worker configuration. This is the input shape passed to\n * [`defineWorker`](https://developers.cloudflare.com/workers/wrangler/configuration/).\n *\n * Fields are validated at runtime by `InputWorkerSchema` and normalised before\n * being passed to downstream tooling.\n */\ninterface WorkerConfig {\n /**\n * Discriminates this config as a Worker config.\n *\n * Injected automatically by `defineWorker`; only needs to be written by\n * hand when authoring a raw config object without the helper.\n */\n type: \"worker\";\n /**\n * The name of your Worker.\n */\n name: string;\n /**\n * A date in the form yyyy-mm-dd, which will be used to determine\n * which version of the Workers runtime is used.\n *\n * More details at https://developers.cloudflare.com/workers/configuration/compatibility-dates\n */\n compatibilityDate: string;\n /**\n * A list of flags that enable features from upcoming features of\n * the Workers runtime, usually used together with `compatibilityDate`.\n *\n * More details at https://developers.cloudflare.com/workers/configuration/compatibility-flags/\n *\n * @default []\n */\n compatibilityFlags?: string[];\n /**\n * The entrypoint module that will be executed.\n *\n * May be either a path string (e.g. `\"./src/index.ts\"`) or a module\n * namespace imported with the `cf-worker` import attribute.\n *\n * @example\n * ```ts\n * import * as entrypoint from \"./src\" with { type: \"cf-worker\" };\n * export default defineWorker({ entrypoint });\n * ```\n */\n entrypoint?: string | WorkerModule;\n /**\n * Specify the directory of static assets to deploy/serve.\n *\n * More details at https://developers.cloudflare.com/workers/frameworks/\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#assets\n */\n assets?: {\n /** How to handle HTML requests. */\n htmlHandling?: \"auto-trailing-slash\" | \"drop-trailing-slash\" | \"force-trailing-slash\" | \"none\";\n /** How to handle requests that do not match an asset. */\n notFoundHandling?: \"single-page-application\" | \"404-page\" | \"none\";\n /**\n * Matches will be routed to the User Worker, and matches to negative rules will go to the Asset Worker.\n *\n * Can also be `true`, indicating that every request should be routed to the User Worker.\n */\n runWorkerFirst?: string[] | boolean;\n };\n /**\n * Custom domains that your Worker should be published to.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#types-of-routes\n */\n domains?: string[];\n /**\n * Event triggers — fetch routes, queue consumers, cron schedules, Email\n * Routing addresses, and raw sockets — that invoke this Worker.\n * Construct entries with `triggers.fetch(...)`, `triggers.queue(...)`,\n * `triggers.scheduled(...)`, `triggers.email(...)`, or\n * `triggers.connect(...)`.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#triggers\n */\n triggers?: Trigger[];\n /**\n * A list of Tail Workers that are bound to this Worker.\n *\n * `@cloudflare/config` unifies regular and streaming tail consumers under\n * a single field; pass `streaming: true` to forward streaming tail events.\n *\n * @default []\n */\n tailConsumers?: Array<{\n /** The name of the service tail events will be forwarded to. */\n worker: string;\n /** Whether to stream tail events in real time. */\n streaming?: boolean;\n }>;\n /**\n * Specify the cache behavior of the Worker.\n */\n cache?: {\n /** If cache is enabled for this Worker. */\n enabled: boolean;\n /** Whether cached assets may be reused across Worker versions. */\n crossVersionCache?: boolean;\n };\n /**\n * Specify how the Worker should be located to minimize round-trip time.\n *\n * More details: https://developers.cloudflare.com/workers/platform/smart-placement/\n */\n placement?: {\n mode: \"off\" | \"smart\";\n hint?: string;\n } | {\n mode?: \"targeted\";\n region: string;\n } | {\n mode?: \"targeted\";\n host: string;\n } | {\n mode?: \"targeted\";\n hostname: string;\n };\n /**\n * Specify limits for runtime behavior.\n * Only supported for the \"standard\" Usage Model.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#limits\n */\n limits?: {\n /** Maximum allowed CPU time for a Worker's invocation in milliseconds. */\n cpuMs?: number;\n /** Maximum allowed number of fetch requests that a Worker's invocation can execute. */\n subrequests?: number;\n };\n /**\n * Send Trace Events from this Worker to Workers Logpush.\n *\n * This will not configure a corresponding Logpush job automatically.\n *\n * For more information about Workers Logpush, see:\n * https://blog.cloudflare.com/logpush-for-workers/\n */\n logpush?: boolean;\n /**\n * Specify the observability behavior of the Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#observability\n */\n observability?: {\n /** If observability is enabled for this Worker. */\n enabled?: boolean;\n /** The sampling rate. */\n headSamplingRate?: number;\n /**\n * Whether query strings are removed from request URLs in logs and traces.\n *\n * @default false\n */\n redactQueryString?: boolean;\n logs?: {\n enabled?: boolean;\n /** The sampling rate. */\n headSamplingRate?: number;\n /** Set to false to disable invocation logs. */\n invocationLogs?: boolean;\n /**\n * If logs should be persisted to the Cloudflare observability platform where they can be queried in the dashboard.\n *\n * @default true\n */\n persist?: boolean;\n /**\n * What destinations logs emitted from the Worker should be sent to.\n *\n * @default []\n */\n destinations?: string[];\n };\n traces?: {\n enabled?: boolean;\n /** The sampling rate. */\n headSamplingRate?: number;\n /**\n * If traces should be persisted to the Cloudflare observability platform where they can be queried in the dashboard.\n *\n * @default true\n */\n persist?: boolean;\n /**\n * What destinations traces emitted from the Worker should be sent to.\n *\n * @default []\n */\n destinations?: string[];\n };\n };\n /**\n * Whether we use `<name>.<subdomain>.workers.dev` to\n * test and deploy your Worker.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#workersdev\n *\n * @default true\n */\n workersDev?: boolean;\n /**\n * Whether we use `<version>-<name>.<subdomain>.workers.dev` to\n * serve Preview URLs for your Worker.\n *\n * @default false\n */\n previewUrls?: boolean;\n /**\n * Designates this Worker as an internal-only \"first-party\" Worker.\n *\n * @internal\n */\n firstPartyWorker?: boolean;\n /**\n * \"Unsafe\" tables for runtime features that aren't directly supported by\n * this configuration. Values are forwarded verbatim in the Worker's\n * upload metadata.\n *\n * @default {}\n */\n unsafe?: {\n /**\n * Arbitrary key/value pairs that will be included in the uploaded metadata. Values specified\n * here will always be applied to metadata last, so can add new or override existing fields.\n */\n metadata?: Record<string, unknown>;\n /**\n * Used for internal capnp uploads for the Workers runtime.\n */\n capnp?: {\n basePath: string;\n sourceSchemas: string[];\n compiledSchema?: never;\n } | {\n basePath?: never;\n sourceSchemas?: never;\n compiledSchema: string;\n };\n };\n /**\n * Bindings exposed on the Worker's `env` object. Construct entries with\n * `bindings.kv(...)`, `bindings.r2(...)`, etc.\n */\n env?: Record<string, Binding>;\n /**\n * Configuration for named exports declared by the Worker. Each entry's\n * key is the exported class name; the value configures the export.\n *\n * Only one export kind is currently supported:\n *\n * - Construct entries with `exports.durableObject(...)`.\n * - Declares Durable Object classes exported from this Worker.\n * For more information about Durable Objects, see the documentation at\n * https://developers.cloudflare.com/workers/learning/using-durable-objects.\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects.\n */\n exports?: Record<string, Export>;\n}\n/**\n * Settings shared by the other exports.\n * Authored as a named `settings` export via\n * `defineSettings`.\n */\ninterface SettingsConfig {\n /**\n * Discriminates this config as a settings config.\n *\n * Injected automatically by `defineSettings`; only needs to be written by\n * hand when authoring a raw config object without the helper.\n */\n type: \"settings\";\n /**\n * This is the ID of the account associated with your zone.\n * You might have more than one account, so make sure to use\n * the ID of the account associated with the zone/route you\n * provide, if you provide one. It can also be specified through\n * the CLOUDFLARE_ACCOUNT_ID environment variable.\n */\n accountId?: string;\n /**\n * Specify the compliance region mode of the Worker.\n *\n * Although if the user does not specify a compliance region, the default is `public`,\n * it can be set to `undefined` in configuration to delegate to the CLOUDFLARE_COMPLIANCE_REGION environment variable.\n */\n complianceRegion?: \"public\" | \"fedramp-high\";\n}\n//#endregion\n//#region src/worker-definition.d.ts\n/**\n * Base shape of a Worker definition. Carries the authored config (under\n * {@link DEFINITION}) and the untyped cross-worker binding helpers.\n */\ninterface WorkerDefinition<TConfig$1 extends WorkerConfig = WorkerConfig> extends Pick<Bindings, \"durableObject\" | \"worker\"> {\n [DEFINITION]: {\n config: ConfigInput<Omit<TConfig$1, \"type\">>;\n type: \"worker\";\n };\n}\n/**\n * Worker definition with typed cross-worker binding helpers.\n */\ninterface TypedWorkerDefinition<TConfig$1 extends WorkerConfig, TWorkerName extends string = InferWorkerName<TConfig$1>> extends WorkerDefinition<TConfig$1> {\n /**\n * Binding to a Durable Object class. `worker` is the name of the Worker\n * that defines the class; `exportName` is the exported class name.\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects\n */\n durableObject<TExportName$1 extends InferDurableNamespaces<TConfig$1>>(options: {\n worker: TWorkerName;\n exportName: TExportName$1;\n }): TypedDurableObjectBinding<TConfig$1, TExportName$1>;\n /**\n * Service binding (Worker-to-Worker). `worker` is the name of the bound\n * Worker; `exportName` selects a named `WorkerEntrypoint` export (defaults to\n * the default export).\n *\n * For reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings\n */\n worker<TExportName$1 extends InferWorkerEntrypointExports<TConfig$1> | undefined = undefined>(options: {\n worker: TWorkerName;\n exportName?: TExportName$1;\n props?: Record<string, unknown>;\n dev?: BindingDevOptions;\n }): TypedWorkerBinding<TConfig$1, TExportName$1 extends string ? TExportName$1 : \"default\">;\n}\ntype WorkerConfigExport<T$1 extends WorkerConfig = WorkerConfig> = ConfigInput<T$1>;\n/**\n * Authored Worker config shape — {@link WorkerConfig} without the `type`\n * discriminant, which `defineWorker` injects.\n */\ntype WorkerConfigInput = Omit<WorkerConfig, \"type\">;\ndeclare function defineWorker<const T$1 extends WorkerConfigInput>(config: (ctx: ConfigContext) => (WorkerConfigInput & T$1) | Promise<WorkerConfigInput & T$1>): TypedWorkerDefinition<T$1 & {\n type: \"worker\";\n}>;\ndeclare function defineWorker<const T$1 extends WorkerConfigInput>(config: (WorkerConfigInput & T$1) | Promise<WorkerConfigInput & T$1>): TypedWorkerDefinition<T$1 & {\n type: \"worker\";\n}>;\n//#endregion\n//#region src/inference.d.ts\n/**\n * The Worker's entry module, imported with the `{ type: \"cf-worker\" }` import attribute\n * @example\n * ```ts\n * import * as entrypoint from \"./src\" with { type: \"cf-worker\" };\n * ```\n */\ntype WorkerModule = Record<string, any>;\n/**\n * Default module type representing an unknown Worker's exports.\n * - default export can be `ExportedHandler` or a `WorkerEntrypoint` class constructor\n * - named exports can be `WorkerEntrypoint`, `DurableObject`, or `WorkflowEntrypoint` class constructors\n */\ninterface DefaultModule {\n default?: ExportedHandler | Constructor<Rpc.WorkerEntrypointBranded>;\n [key: string]: ExportedHandler | Constructor<Rpc.WorkerEntrypointBranded> | Constructor<Rpc.DurableObjectBranded> | Constructor<Rpc.WorkflowEntrypointBranded> | undefined;\n}\n/**\n * Represents a class constructor that creates instances of TInstance.\n */\ntype Constructor<TInstance> = new (...args: any[]) => TInstance;\n/**\n * Extracts the instance type from a class constructor if it extends `TInstance`.\n */\ntype ExtractInstance<T$1, TInstance> = T$1 extends Constructor<TInstance> ? InstanceType<T$1> : never;\n/**\n * Mapping from binding type literals to Cloudflare runtime types.\n *\n * Entries fall into two groups:\n * - Parameterized bindings (ai, json, kv, pipeline, queue, text) refine their\n * runtime type from the binding instance via nominal matches against the\n * `Typed*Binding` / `JsonBinding` / `TextBinding` interfaces from\n * `./bindings`. When `TBinding` does not match, the entry falls back to the\n * unparameterized runtime type.\n * - Non-parameterized bindings map their type literal directly to a runtime\n * type and ignore `TBinding`.\n *\n * IMPORTANT: The right-hand-side identifiers in this map (e.g. `KVNamespace`,\n * `ImagesBinding`, `Fetcher`) must resolve to the ambient runtime types from\n * `@cloudflare/workers-types`, not to local config interfaces. Several local\n * binding interfaces in `./bindings.ts` (`ImagesBinding`, `MediaBinding`,\n * `StreamBinding`) share names with ambient globals — importing those local\n * types into this file silently shadows the globals and breaks `InferEnv`.\n * Only import the `Typed*Binding`, `JsonBinding`, and `TextBinding` interfaces\n * from `./bindings` (their names do not collide with ambient globals); never\n * widen the import to a wildcard or to the plain `*Binding` interfaces.\n */\ninterface BindingTypeMap<TBinding> {\n ai: TBinding extends TypedAiBinding<infer T> ? Ai<T> : Ai;\n json: TBinding extends JsonBinding<infer T> ? T : never;\n kv: TBinding extends TypedKvBinding<infer T> ? KVNamespace<T> : KVNamespace;\n pipeline: TBinding extends TypedPipelineBinding<infer T> ? Pipeline<T> : Pipeline;\n queue: TBinding extends TypedQueueBinding<infer T> ? Queue<T> : Queue;\n text: TBinding extends TextBinding<infer T> ? T : never;\n \"agent-memory\": AgentMemoryNamespace;\n \"ai-search\": AiSearchInstance;\n \"ai-search-namespace\": AiSearchNamespace;\n \"analytics-engine-dataset\": AnalyticsEngineDataset;\n artifacts: Artifacts;\n assets: Fetcher;\n browser: BrowserRun;\n d1: D1Database;\n \"dispatch-namespace\": DispatchNamespace;\n \"durable-object\": DurableObjectNamespace;\n flagship: Flagship;\n hyperdrive: Hyperdrive;\n images: ImagesBinding;\n logfwdr: any;\n media: MediaBinding;\n \"mtls-certificate\": Fetcher;\n \"rate-limit\": RateLimit;\n r2: R2Bucket;\n secret: string;\n \"secrets-store-secret\": SecretsStoreSecret;\n \"send-email\": SendEmail;\n stream: StreamBinding;\n vectorize: VectorizeIndex;\n \"version-metadata\": WorkerVersionMetadata;\n \"vpc-service\": Fetcher;\n \"vpc-network\": Fetcher;\n \"web-search\": WebSearch;\n worker: Fetcher;\n \"worker-loader\": WorkerLoader;\n workflow: Workflow;\n}\ntype InferBindingType<TBinding> = TBinding extends TypedWorkerBinding<infer TConfig, infer TExportName extends string> ? InferMainModule<TConfig> extends infer TModule extends WorkerModule ? TExportName extends keyof TModule ? TModule[TExportName] extends Constructor<any> ? Fetcher<ExtractInstance<TModule[TExportName], Rpc.WorkerEntrypointBranded>> : Fetcher : never : never : TBinding extends TypedDurableObjectBinding<infer TConfig, infer TExportName extends string> ? InferMainModule<TConfig> extends infer TModule extends WorkerModule ? TExportName extends keyof TModule ? DurableObjectNamespace<ExtractInstance<TModule[TExportName], Rpc.DurableObjectBranded>> : never : never : TBinding extends TypedWorkflowBinding<infer TConfig, infer TExportName extends string> ? InferMainModule<TConfig> extends infer TModule extends WorkerModule ? TExportName extends keyof TModule ? ExtractInstance<TModule[TExportName], Rpc.WorkflowEntrypointBranded> extends infer TWorkflow ? TWorkflow extends {\n run(event: {\n payload: infer P;\n }, step: any): any;\n} ? Workflow<P> : Workflow : Workflow : never : never : TBinding extends {\n type: `unsafe:${string}`;\n} ? any : TBinding extends {\n type: infer K extends keyof BindingTypeMap<TBinding>;\n} ? BindingTypeMap<TBinding>[K] : never;\n/**\n * Infer the Worker name from a config.\n *\n * @example\n * ```typescript\n * import { defineWorker } from \"@cloudflare/config\";\n * import type { InferDurableNamespaces, UnwrapConfig } from \"@cloudflare/config\";\n *\n * const config = defineWorker({ name: \"my-worker\", ... });\n *\n * type WorkerConfig = UnwrapConfig<typeof config>;\n * // Inferred as: \"my-worker\"\n * type Name = InferWorkerName<WorkerConfig>;\n * ```\n */\ntype InferWorkerName<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n name: infer TName extends string;\n} ? TName : never;\n/**\n * Infer export names from a config's exports, optionally filtered by type.\n * When TExportType is `string` (default), returns all export names.\n * When TExportType is a specific literal like `\"durable-object\"` or `\"workflow\"`,\n * returns only exports of that type.\n */\ntype InferExportsByType<TUnwrappedConfig$1, TExportType extends string = string> = TUnwrappedConfig$1 extends {\n exports: infer TExports extends Record<string, {\n type: string;\n }>;\n} ? { [K in keyof TExports]: TExports[K] extends {\n type: TExportType;\n} ? K & string : never }[keyof TExports] : never;\n/**\n * Infer `WorkerEntrypoint` export names from a config.\n * Returns named module exports that are not declared as type `\"durable-object\"` or `\"workflow\"` in `exports`.\n * Excludes `\"default\"` since `exportName` should only be provided for named exports.\n */\ntype InferWorkerEntrypointExports<TUnwrappedConfig$1> = Exclude<keyof InferMainModule<TUnwrappedConfig$1> & string, \"default\" | InferExportsByType<TUnwrappedConfig$1, \"durable-object\" | \"workflow\">>;\n/**\n * Unwrap function and promise types to get the underlying config.\n * Use this to normalize a config before passing it to other inference utilities.\n */\ntype UnwrapConfig<TConfig$1> = TConfig$1 extends WorkerDefinition<infer TUnwrappedConfig> ? TUnwrappedConfig : TConfig$1 extends WorkerConfigExport<infer TUnwrappedConfig> ? TUnwrappedConfig : never;\n/**\n * Infer the `Env` interface type from a Worker config.\n *\n * Transforms a config object's `env` bindings into their\n * corresponding Cloudflare runtime types.\n *\n * @example\n * ```typescript\n * import { defineWorker, bindings } from \"@cloudflare/config\";\n * import type { InferEnv, UnwrapConfig } from \"@cloudflare/config\";\n *\n * const config = defineWorker({\n * env: {\n * MY_JSON: bindings.json({ id: string }),\n * MY_KV: bindings.kv(),\n * },\n * });\n *\n * type WorkerConfig = UnwrapConfig<typeof config>;\n * // Inferred as: { MY_JSON: { id: string }; MY_KV: KVNamespace }\n * export type Env = InferEnv<WorkerConfig>;\n * ```\n */\ntype InferEnv<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n env: infer TEnv extends Record<string, any>;\n} ? { [K in keyof TEnv]: InferBindingType<TEnv[K]> } : never;\n/**\n * Infer the Durable Object namespace names from a Worker config's exports.\n * Returns a union of export names that declare a *live* Durable Object —\n * `type: \"durable-object\"` with `state` either omitted, `\"created\"`, or\n * `\"expecting-transfer\"`. Tombstone entries (`deleted`, `renamed`,\n * `transferred`) are excluded because they retire the namespace and a\n * binding to a tombstoned class would fail at deploy time.\n *\n * @example\n * ```typescript\n * import { defineWorker } from \"@cloudflare/config\";\n * import type { InferDurableNamespaces, UnwrapConfig } from \"@cloudflare/config\";\n *\n * const config = defineWorker({\n * exports: {\n * MyDurableObject: { type: \"durable-object\", storage: \"sqlite\" },\n * OldGone: { type: \"durable-object\", state: \"deleted\" },\n * },\n * });\n *\n * type WorkerConfig = UnwrapConfig<typeof config>;\n * // Inferred as: \"MyDurableObject\" (the deleted tombstone is excluded)\n * type DurableNamespaces = InferDurableNamespaces<WorkerConfig>;\n * ```\n */\ntype InferDurableNamespaces<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n exports: infer TExports extends Record<string, {\n type: string;\n }>;\n} ? { [K in keyof TExports]: TExports[K] extends {\n type: \"durable-object\";\n} ? TExports[K] extends {\n state: \"deleted\" | \"renamed\" | \"transferred\";\n} ? never : K & string : never }[keyof TExports] : never;\n/**\n * Infer the main module type from a Worker config's entrypoint.\n * If entrypoint is a module namespace object, returns that type.\n * If entrypoint is a `string` or not present, returns `DefaultModule` as a fallback.\n */\ntype InferMainModule<TUnwrappedConfig$1> = TUnwrappedConfig$1 extends {\n entrypoint: infer TModule extends WorkerModule;\n} ? TModule : DefaultModule;\n//#endregion\n//#region src/settings-definition.d.ts\n/**\n * Authored settings config shape — {@link SettingsConfig} without the `type`\n * discriminant, which `defineSettings` injects.\n */\ntype SettingsConfigInput = Omit<SettingsConfig, \"type\">;\n/**\n * A settings definition created by {@link defineSettings}.\n */\ninterface SettingsDefinition {\n [DEFINITION]: {\n config: ConfigInput<SettingsConfigInput>;\n type: \"settings\";\n };\n}\n/**\n * Declare shared settings.\n * Authored as a named `settings` export.\n */\ndeclare function defineSettings(config: ConfigInput<SettingsConfigInput>): SettingsDefinition;\n//#endregion\nexport { PipelineBinding as $, Triggers as A, Bindings as B, WorkerEntrypointExportOptions as C, WorkflowBinding as Ct, FetchTrigger as D, EmailTrigger as E, AiSearchNamespaceBinding as F, FlagshipBinding as G, D1Binding as H, AnalyticsEngineDatasetBinding as I, JsonBinding as J, HyperdriveBinding as K, ArtifactsBinding as L, AgentMemoryBinding as M, AiBinding as N, QueueConsumerTrigger as O, AiSearchBinding as P, MtlsCertificateBinding as Q, AssetsBinding as R, WorkerEntrypointExport as S, WorkerLoaderBinding as St, ConnectTrigger as T, DispatchNamespaceBinding as U, BrowserBinding as V, DurableObjectBinding as W, LogfwdrBinding as X, KvBinding as Y, MediaBinding$1 as Z, DurableObjectDeletedExport as _, VersionMetadataBinding as _t, InferEnv as a, SendEmailBinding as at, DurableObjectTransferredExport as b, WebSearchBinding as bt, TypedWorkerDefinition as c, TypedAiBinding as ct, defineWorker as d, TypedPipelineBinding as dt, QueueBinding as et, SettingsConfig as f, TypedQueueBinding as ft, DurableObjectCreatedExport as g, VectorizeBinding as gt, resolveExportDefinition as h, UnsafeBinding as ht, InferDurableNamespaces as i, SecretsStoreSecretBinding as it, triggers as j, ScheduledTrigger as k, WorkerConfigExport as l, TypedDurableObjectBinding as lt, ConfigContext as m, TypedWorkflowBinding as mt, SettingsDefinition as n, RateLimitBinding as nt, InferMainModule as o, StreamBinding$1 as ot, WorkerConfig as p, TypedWorkerBinding as pt, ImagesBinding$1 as q, defineSettings as r, SecretBinding as rt, UnwrapConfig as s, TextBinding as st, SettingsConfigInput as t, R2Binding as tt, WorkerConfigInput as u, TypedKvBinding as ut, DurableObjectExpectingTransferExport as v, VpcNetworkBinding as vt, exports as w, bindings as wt, Exports as x, WorkerBinding as xt, DurableObjectRenamedExport as y, VpcServiceBinding as yt, BindingDevOptions as z };"],"mappings":";;;;;AAAgE;AAO3C;AAKM;AAQF,KAdpBE,IAAAA,GAoBKG,MAAAA,GAAAA,MAAkB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