/** * Ambient declarations for `@exxatdesignux/ui`. * * We avoid taking a dependency on `@types/node` (the package is a browser / * RSC library, not a Node API consumer) but a handful of patterns still want * to check `process.env.NODE_ENV` to gate dev-mode `console.warn` calls * (same pattern as React, Radix UI, Chakra UI). Declare just the slice we * touch so TypeScript stays happy without pulling in the whole Node typings. * * Both bundlers (tsup / esbuild, Webpack, Vite) statically replace * `process.env.NODE_ENV` at build time with the configured environment string (`"development"` / `"production"`), so this * declaration only affects type-checking — not runtime. */ declare const process: { readonly env: { readonly NODE_ENV?: "development" | "production" | "test" | string } }