import { type TEnv, type TEnvData, type TEnvSpec, type TEnvSpecs, type TEnvValidator } from './types'; /** Validates environment variables and throws one error containing every failed variable. */ export declare function validateEnv>(env: TEnv, specs: TEnvSpecs): TEnvData; /** Validates one environment variable and throws when validation fails. */ export declare function validateEnvVar(env: TEnv, envKey: string, spec: TEnvValidator | Omit, 'envKey'>): GOutput; export declare function validateEnvVar(env: TEnv, spec: TEnvSpecWithEnvKey): GOutput; type TEnvSpecWithEnvKey = TEnvSpec & { envKey: string; }; export {}; //# sourceMappingURL=validate-env.d.ts.map