import * as Effect from "effect/Effect"; import type { InputProps } from "../../Input.ts"; import type { ResourceBinding } from "../../Resource.ts"; import type { Container } from "../Containers/Container.ts"; import { WorkflowResource } from "../Workflows/Workflow.ts"; import type { WorkerBindingProps } from "./Worker.ts"; import { type Worker, type WorkerProps } from "./Worker.ts"; export declare const bindWorkerAsyncBindings: (resource: Worker, props: InputProps, never>) => Effect.Effect | import("../../Provider.ts").Provider | import("../Providers.ts").Providers>; /** * Structural check for a `Cloudflare.Container` class declaration. Keyed on * the `~alchemy/Container/ClassName` marker (rather than importing from * `Containers/Container.ts`) to avoid a value-level import cycle through * `ContainerPlatform` → `Worker.ts` → this module. * * A Container declaration is Effect-shaped (yielding it resolves the * *started instance* tag, which only exists inside a Durable Object), so * every env-resolution site must check this before `Effect.isEffect`. */ export declare const isContainerDecl: (value: unknown) => value is Container.Decl.Any; export declare const getCronBindings: (bindings: ReadonlyArray>) => string[]; /** * Merge the Workers Cache settings contributed by `yield* Cloudflare.cache()` * bindings. Commutative: the cache is enabled (and cross-version) if any * contributor asked for it. */ export declare const getCacheBinding: (bindings: ReadonlyArray>) => { enabled: boolean; crossVersionCache: true | undefined; } | undefined; //# sourceMappingURL=WorkerAsyncBindings.d.ts.map