/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ /** * Read an environment value from Node `process.env` when defined, otherwise from * Vite/browser `import.meta.env`. * * In Vite dev, `process` is often polyfilled without `DEV`, so reading only * `process.env` misses `import.meta.env.DEV` and disables dev-only features * (e.g. console telemetry). * * Boolean `import.meta.env` flags become `"true"` or are treated as unset when false * so callers using simple truthiness behave as expected. */ export declare function readRuntimeEnv(name: string): string | undefined; //# sourceMappingURL=runtimeEnv.d.ts.map