import { i as $, n as SchemaShape, t as MergeExtends } from "./types-DyUrJJZq.cjs"; import { n as ArkEnvScriptProps, t as ArkEnvScript } from "./script-C06S6xXP.cjs"; import { distill, type as type$1 } from "arktype"; import { EnvSchema, Infer, Infer as Infer$1, type } from "arkenv"; //#region src/react-server.d.ts /** * Create a validated, type-safe environment configuration for Next.js applications (Server-side RSC entry point). */ declare function createEnv(schema: EnvSchema, options?: { /** * Custom environment variables to expose to the client bundle. * By default, variables prefixed with `NEXT_PUBLIC_` and `NODE_ENV` are exposed automatically. * Use this option to expose custom variables that do not have the `NEXT_PUBLIC_` prefix. */ exposeToClient?: readonly TShared[]; /** @deprecated Use `exposeToClient` instead */ expose?: readonly TShared[]; /** @deprecated Use `exposeToClient` instead */ shared?: readonly TShared[]; extends?: [...TExtends]; runtimeEnv?: Record; }): Readonly> & MergeExtends>; /** * @deprecated Use the unified flat layout signature instead: `createEnv(schema, options)` */ declare function createEnv(options: { server?: EnvSchema; client?: EnvSchema & { [K in keyof TClient]: K extends `NEXT_PUBLIC_${string}` ? unknown : never }; shared?: EnvSchema; runtimeEnv: Record & Record; }): Readonly>; declare const arkenv: typeof createEnv; //#endregion export { ArkEnvScript, type ArkEnvScriptProps, type Infer, createEnv, arkenv as default, type }; //# sourceMappingURL=react-server.d.cts.map