import { type ProjectEnvSnapshot } from "./snapshot.js"; /** * Run a function with project-specific environment variables. * Within the callback, `getProjectEnv()` will return values from `vars`. */ export declare function runWithProjectEnv(vars: Readonly>, fn: () => T): T; /** * Get a project-scoped environment variable from the current request context. * Returns undefined if no project env overlay is active or key is not present. */ export declare function getProjectEnv(key: string): string | undefined; /** * Check whether a project env overlay is currently active. * When true, getEnv() should NOT fall through to host process env * to prevent remote projects from reading host-level secrets. */ export declare function isProjectEnvActive(): boolean; /** * Get a snapshot of the current project env overlay. * Returns undefined if no overlay is active. * Used to forward env vars to isolated workers in proxy mode. */ export declare function getProjectEnvSnapshot(): ProjectEnvSnapshot | undefined; //# sourceMappingURL=storage.d.ts.map