import { K as ServerEnvInspectionEntry, q as ServerEnvInspectionStatus } from "./bridge-Cs9YfQWk.js"; import { t as AnyOperation } from "./operation-definition-nmRu_O3V.js"; import { ViteHubHost } from "@vite-hub/runtime"; //#region src/runtime/operations.d.ts /** One Server Env declaration as the running app sees it. It never holds a value, a preview, or a length. */ interface EnvInspectEntry { /** The declaration path, such as `env.server.stripe.key`. */ path?: string; /** The host variable names that the declaration reads, in read order. */ names?: readonly string[]; /** The host variable name that supplied the value. */ name?: string; /** Where the value comes from: a host variable, a literal, or a provider. */ source: ServerEnvInspectionEntry["source"]; /** The provider alias of a provider-backed declaration. */ provider?: string; required: boolean; secret: boolean; status: ServerEnvInspectionStatus; /** The entry makes `loadServerEnv()` fail. */ blocking: boolean; /** The canonical name and a conventional name hold different values. The canonical name wins. */ conflict?: true; } interface EnvInspectResult { entries: EnvInspectEntry[]; /** No entry is blocking. */ ok: boolean; /** The host that the app runs on, such as `cloudflare`, so a fix can name `vitehub env push --host `. */ host?: ViteHubHost; } //#endregion //#region src/operations.d.ts /** The `env.*` operations. The Console, the CLI, and agents run them on the signed `POST /_vitehub/rpc` endpoint. */ export declare const envOperations: readonly AnyOperation[]; //#endregion export type { EnvInspectEntry, EnvInspectResult };