import { o as StandardEnvDefinition, r as EnvPreset } from "./types-Ctg8aeXQ.mjs"; import { z } from "zod"; //#region src/load.d.ts type LoadEnvOptions = { mode?: string; envDir?: string; }; type ZodShape = z.ZodRawShape; type KnownKeys = keyof { [K in keyof T as string extends K ? never : K]: T[K] }; type StripIndex = Pick>; type InferShape = { server: z.infer & StripIndex>>; client: z.infer>>; all: z.infer & StripIndex>>; }; declare function loadEnv, TClient extends ZodShape = Record>(config: { server?: TServer; client?: TClient; presets?: EnvPreset[]; }, options?: LoadEnvOptions): Promise>; declare function loadEnv(config: StandardEnvDefinition, options?: LoadEnvOptions): Promise<{ server: Record; client: Record; all: Record; }>; //#endregion export { LoadEnvOptions, loadEnv }; //# sourceMappingURL=load.d.mts.map