import { G as ServerEnvInspection, H as ServerEnv, U as ServerEnvDescription, V as ReadonlyServerEnv, t as EnvAccessContext } from "../bridge-Cs9YfQWk.js"; import { ViteHubContext } from "@vite-hub/runtime"; //#region src/runtime/server-env.d.ts interface ServerEnvLoadOptions { access?: EnvAccessContext; signal?: AbortSignal; } /** Reads the declared Server Env. A missing required value throws `ENV_REQUIRED_MISSING`. */ export declare function useServerEnv(_event?: ViteHubContext): ServerEnv; /** Loads one immutable Server Env snapshot, including provider-backed values. */ export declare function loadServerEnv(_event?: ViteHubContext, _options?: ServerEnvLoadOptions): Promise; /** Runs `callback` with a loaded Server Env snapshot. */ export declare function runWithServerEnv(_event: ViteHubContext | undefined, _callback: (env: ReadonlyServerEnv) => T | Promise, _options?: ServerEnvLoadOptions): Promise; /** Inspects the status of each Server Env value without returning values. */ export declare function inspectServerEnv(_event?: ViteHubContext, _options?: ServerEnvLoadOptions): Promise; /** Lists the Server Env declarations without reading host values or calling providers. */ export declare function describeServerEnv(): ServerEnvDescription; /** Derives a purpose-specific secret from `VITEHUB_SECRET`. */ export declare function deriveSecret(_purpose: string, _event?: ViteHubContext): Promise; /** Answers the Env bridge requests of the Console. */ export declare function manageServerEnv(_request: Request): Promise; //#endregion