import * as Config from "effect/Config"; import * as Effect from "effect/Effect"; import { StateStoreError } from "./State.ts"; /** A logical store name; stores derive physical names from it. */ export declare const storeName: (name: string) => Effect.Effect | Effect.Effect; export interface StoreRef { readonly backend: string; /** The `alchemy state` flags that address this store, e.g. `{ name, domain }`. */ readonly flags?: Readonly>; /** e.g. `Cloudflare State Store 'alchemy-state-store'`. */ readonly label: string; /** * Only the stack's config describes this store, e.g. a custom bucket name * or a pinned account, so `--backend` and its flags can't address it. */ readonly configured?: boolean; } /** Deploy a missing (or half-bootstrapped) store; in CI, only with `--yes`. */ export declare const deployMissing: (store: StoreRef & { readonly incomplete?: boolean; }, deploy: Effect.Effect) => Effect.Effect; /** Upgrade an outdated store with `--yes` or on confirmation; in CI, only with `--yes`. */ export declare const upgradeOutdated: (store: StoreRef & { readonly observed: number | undefined; readonly expected: number; }, upgrade: Effect.Effect) => Effect.Effect; //# sourceMappingURL=Provisioning.d.ts.map