type Env = Record; import { type HasnaStorageClient } from "@hasna/contracts/client/storage"; export type CloudStorageResolution = { transport: "file"; client: null; } | { transport: "api"; client: HasnaStorageClient; baseUrl: string; }; /** * Resolve whether `name`'s data lives behind the hosted `/v1` API or in the * local store for the current environment. Never returns partially-built * remote state and never exposes the API key. */ export declare function resolveCloudStorage(name: string, env?: Env): CloudStorageResolution; export {};