import { Retry } from "@distilled.cloud/cloudflare"; import * as Layer from "effect/Layer"; import * as Command from "../Command/index.ts"; import { KeyPair } from "../KeyPair.ts"; import * as Provider from "../Provider.ts"; import { Random } from "../Random.ts"; import * as Access from "./Access.ts"; import * as CloudflareEnvironment from "./CloudflareEnvironment.ts"; import * as Containers from "./Containers/index.ts"; import * as LoadBalancer from "./LoadBalancer/index.ts"; export { Credentials } from "@distilled.cloud/cloudflare/Credentials"; declare const Providers_base: Provider.ProviderCollection; export declare class Providers extends Providers_base { } export type ProviderRequirements = Layer.Services>; /** * Cloudflare providers, bindings, and credentials for Worker-based stacks. */ export declare const providers: () => Layer.Layer | Provider.Provider | Provider.Provider | Provider.Provider | Provider.Provider | Provider.Provider | Provider.Provider | Provider.Provider | Provider.Provider | Providers | Retry.Retry, never, import("../AlchemyContext.ts").AlchemyContext | import("../Artifacts.ts").ArtifactStore | import("../index.ts").AuthProviders | import("effect/unstable/process/ChildProcessSpawner").ChildProcessSpawner | import("effect/FileSystem").FileSystem | import("effect/unstable/http/HttpClient").HttpClient | import("effect/Path").Path | import("effect/Scope").Scope | import("../Stack.ts").Stack | import("../Stage.ts").Stage>; /** * The foundation every effect tree that talks to the Cloudflare API * shares — credentials resolved through the Alchemy auth provider, * account environment, Access, profile + credential store — plus a * blanket retry policy applied to every Cloudflare API call. * * Used by {@link providers} and the Cloudflare state store * ({@link ../Cloudflare/StateStore/State.ts state}) so that provider * lifecycle operations and state-store init/bootstrap probes retry * transient failures the same way; without it the state-store * subdomain/script/secrets probes run on the SDK's shorter default * policy and surface throttling ("Please wait and consider throttling * your request speed") to users. * * The policy is the SDK's `Retry.makeDefault` (throttling / 5xx / * network, server retry-after hints, bounded backoff). The * Cloudflare-specific misleadingly-tagged transient cases that used * to live here as a custom factory (10001 "internal error", 10001 * "Unable to authenticate request", 10000 "Authentication error" * under load) are now tagged retryable at the source in the SDK's * global error map, so `makeDefault`'s transient detection covers * them. */ export declare const CloudflareApiLive: () => Layer.Layer; //# sourceMappingURL=Providers.d.ts.map