//#region src/utils/env.d.ts declare function isBrowserLike(): boolean; declare function resolveHexclaveStackEnvVarValue(hexclaveName: string, stackName: string, hexclaveValue: string | undefined, stackValue: string | undefined): string | undefined; /** * Returns the environment variable with the given name, returning the default (if given) or throwing an error (otherwise) if it's undefined or the empty string. */ declare function getEnvVariable(name: string, defaultValue?: string | undefined): string; declare function getEnvBoolean(name: string): boolean; declare function getNextRuntime(): string; declare function getNodeEnvironment(): string; /** * Browser-safe access to `process.env` for server-only or genuinely dynamic * env-var lookups. Returns `undefined` when `process` is not defined (e.g. in * a Vite browser bundle without a `process` shim). * * Note: uses `process.env[name]` (bracket form), which is NOT recognized by * Next.js / webpack DefinePlugin for compile-time inlining. If you need * build-time inlining for a `NEXT_PUBLIC_*` var, use the literal dot-form at * the call site, guarded with `typeof process`: * * const value = (typeof process !== "undefined" ? process.env.NEXT_PUBLIC_FOO : undefined); */ declare function getProcessEnv(name: string): string | undefined; //#endregion export { getEnvBoolean, getEnvVariable, getNextRuntime, getNodeEnvironment, getProcessEnv, isBrowserLike, resolveHexclaveStackEnvVarValue }; //# sourceMappingURL=env.d.ts.map