/** * Overwrite values on process.env with the given values (if not undefined) * * Used by the CLI to configure environment variables that are read by * various subsystems (e.g., WORKFLOW_TARGET_WORLD, WORKFLOW_LOCAL_DATA_DIR). * Note: WORKFLOW_VERCEL_* env vars are read back via getEnvVars() and passed * to @workflow/world-vercel's createWorld() explicitly; they are NOT read by runtime createWorld(). */ export declare const writeEnvVars: (envVars: Record) => void; export declare const getEnvVars: () => Record; /** * Overwrites process.env variables related to local world configuration, * if relevant environment variables aren't set already. * * Throws if the workflow data directory can not be found. */ export declare const inferLocalWorldEnvVars: () => Promise; export declare const inferVercelProjectAndTeam: () => Promise<{ projectId: string; projectName: string | undefined; teamId: string; } | undefined>; export interface VercelEnvVars { token?: string; environment?: string; projectId?: string; projectName?: string; teamId?: string; } /** * Infers Vercel World configuration from the local environment (`.vercel` * folder, CLI auth file, Vercel API) and returns a resolved config object. * * Also writes the resolved values to `process.env` so the embedded web UI * (which reads `process.env` as a fallback) can pick them up. */ export declare const inferVercelEnvVars: () => Promise; //# sourceMappingURL=env.d.ts.map