UNPKG

@cloudflare/vite-plugin

Version:
1 lines 76.7 kB
{"version":3,"file":"experimental-config.d.mts","names":["Pipeline","PipelineRecord","Json","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","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","Triggers","triggers","DurableObjectCreatedExportOptions","DurableObjectDeletedExportOptions","DurableObjectRenamedExportOptions","DurableObjectTransferredExportOptions","DurableObjectExpectingTransferExportOptions","DurableObjectCreatedExport","DurableObjectDeletedExport","DurableObjectRenamedExport","DurableObjectTransferredExport","DurableObjectExpectingTransferExport","WorkerEntrypointExportOptions","WorkerEntrypointExport","Exports","exports","Binding","Trigger","Export","UserConfig","WorkerModule","Array","ConfigContext","CONFIG","WorkerDefinition","Promise","Pick","TypedWorkerDefinition","TWorkerName","InferWorkerName","InferDurableNamespaces","InferWorkerEntrypointExports","UserConfigExport","defineWorker","resolveWorkerDefinition","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","$","A","B","C","D","E","F","G","H","I","J","L","M","N","O","Q","R","S","U","V","W","X","Y","Z","_","a","at","b","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","w","x","y","z"],"sources":["../../config/dist/public-cHlOGnI4.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\ninterface AgentMemoryBindingOptions {\n /** The user-chosen namespace name. Must exist in Cloudflare at deploy time. */\n namespace: string;\n /** Whether the Agent Memory binding should be remote in local development. */\n remote?: boolean;\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 /** Whether the AI binding should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the AI Search instance binding should be remote in local development. */\n remote?: boolean;\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 /** Whether the AI Search namespace binding should be remote in local development. */\n remote?: boolean;\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 /** Whether to use the remote Artifacts service in local dev. */\n remote?: boolean;\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 /** Whether the Browser binding should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the D1 database should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the Dispatch Namespace should be remote or not in local development. */\n remote?: boolean;\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 /** Set to `true` to suppress the remote binding warning in local dev. Flagship bindings are always remote. */\n remote?: boolean;\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 /** The local database connection string used during local development. */\n localConnectionString?: string;\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 /** Whether the Images binding should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the KV namespace should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the Media binding should be remote or not. */\n remote?: boolean;\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 /** Whether the mTLS fetcher should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the pipeline should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the Queue producer should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the R2 bucket should be remote or not in local development. */\n remote?: boolean;\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}\ninterface SendEmailBindingOptions {\n /** If this binding should be restricted to a specific verified address. */\n destinationAddress?: string;\n /** If this binding should be restricted to a set of verified addresses. */\n allowedDestinationAddresses?: string[];\n /** If this binding should be restricted to a set of sender addresses. */\n allowedSenderAddresses?: string[];\n /** Whether the binding should be remote or not in local development. */\n remote?: boolean;\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 */\ninterface SendEmailBinding extends SendEmailBindingOptions {\n type: \"send-email\";\n}\ninterface StreamBindingOptions {\n /** Whether the Stream binding should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the Vectorize index should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the VPC network is remote or not. */\n remote?: boolean;\n} | {\n /** The network ID to route traffic through. Mutually exclusive with `tunnelId`. */\n networkId: string;\n /** Whether the VPC network is remote or not. */\n remote?: boolean;\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 /** Whether the VPC service is remote or not. */\n remote?: boolean;\n}\n/** Binding to a VPC service. */\ninterface VpcServiceBinding extends VpcServiceBindingOptions {\n type: \"vpc-service\";\n}\ninterface WebSearchBindingOptions {\n /** Whether the Web Search binding should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the service binding should be remote or not in local development. */\n remote?: boolean;\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 /** Whether the Workflow binding should be remote or not in local development. */\n remote?: boolean;\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}\n/**\n * Event triggers — fetch routes, queue consumers, and cron schedules\n * — that invoke this Worker. Construct entries with `triggers.fetch(...)`,\n * `triggers.queue(...)`, or `triggers.scheduled(...)`.\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/**\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 * ],\n * });\n * ```\n */\ndeclare const triggers: Triggers;\n//#endregion\n//#region src/exports.d.ts\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 */\ninterface DurableObjectCreatedExportOptions {\n state?: \"created\";\n /**\n * Storage backend for the Durable Object.\n *\n * - `\"sqlite\"`: selects the SQLite-backed storage engine\n * (recommended for new classes).\n * - `\"legacy-kv\"`: selects the legacy key-value storage engine.\n */\n storage: \"sqlite\" | \"legacy-kv\";\n}\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 */\ninterface DurableObjectExpectingTransferExportOptions {\n state: \"expecting-transfer\";\n storage: \"sqlite\" | \"legacy-kv\";\n /**\n * The source Worker for the two-phase cross-Worker transfer.\n */\n transferFrom: string;\n}\ninterface DurableObjectCreatedExport extends 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}\ninterface DurableObjectExpectingTransferExport extends DurableObjectExpectingTransferExportOptions {\n type: \"durable-object\";\n}\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 /** 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 * 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/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 = 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 UserConfig {\n /**\n * The name of your Worker.\n */\n name: string;\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 * 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, and cron schedules\n * — that invoke this Worker. Construct entries with `triggers.fetch(...)`,\n * `triggers.queue(...)`, or `triggers.scheduled(...)`.\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 * 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 * 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 cu