import { StandardSchemaV1 } from "../@types/standard.js"; import { Extension } from "../@types/extension.js"; /** * Vite client-side environment preset. * * Describes the built-in constants Vite injects into `import.meta.env` on the * client (see https://vite.dev/guide/env-and-mode). User-defined `VITE_*` * variables are not covered — add them to your own `define`. */ declare const viteClient: Extension<{ MODE: StandardSchemaV1; BASE_URL: StandardSchemaV1; PROD: StandardSchemaV1; DEV: StandardSchemaV1; SSR: StandardSchemaV1; }>; /** * Vite server-side environment preset. * * Adds `NODE_ENV` (set by Vite into `process.env`) on top of the client * constants. Use with `target: "server"` and a `runtimeEnv` that merges * `process.env` and `import.meta.env`. */ declare const viteServer: Extension<{ NODE_ENV: StandardSchemaV1; MODE: StandardSchemaV1; BASE_URL: StandardSchemaV1; PROD: StandardSchemaV1; DEV: StandardSchemaV1; SSR: StandardSchemaV1; }>; /** * Rsbuild client-side environment preset. * * Describes the constants Rsbuild injects into `import.meta.env` on the client * (see https://rsbuild.dev/guide/advanced/env-vars). User-defined `PUBLIC_*` * variables are not covered — add them to your own `define`. */ declare const rsbuildClient: Extension<{ MODE: StandardSchemaV1<"production" | "development" | "none", "production" | "development" | "none">; BASE_URL: StandardSchemaV1; ASSET_PREFIX: StandardSchemaV1; PROD: StandardSchemaV1; DEV: StandardSchemaV1; SSR: StandardSchemaV1; }>; /** * Rsbuild server-side environment preset. * * Adds `NODE_ENV` (set by Rsbuild into `process.env`) on top of the client * constants. Use with `target: "server"` and a `runtimeEnv` that merges * `process.env` and `import.meta.env`. */ declare const rsbuildServer: Extension<{ NODE_ENV: StandardSchemaV1; MODE: StandardSchemaV1<"production" | "development" | "none", "production" | "development" | "none">; BASE_URL: StandardSchemaV1; ASSET_PREFIX: StandardSchemaV1; PROD: StandardSchemaV1; DEV: StandardSchemaV1; SSR: StandardSchemaV1; }>; export { rsbuildClient, rsbuildServer, viteClient, viteServer }; //# sourceMappingURL=arktype.d.ts.map