import type { z } from "zod"; /** * Assert that a value has the runtime shape of a `SettingsLoader` * (callable, with the `resolved` / `envFields` / `opts` metadata * attached). Used both eagerly inside `defineSettings` (before merging * parent schemas) and from {@link validateDefineSettingsOptions}. */ export declare function assertSettingsLoaderShape(parent: unknown, idx: number): void; interface ValidatedOptionsInput { ownEnvSchema: z.ZodTypeAny; resolvedEnvSchema: z.ZodObject; envKey: string; overrideEnvKey: string | undefined; envOverrides: Record; resolvedPerEnv: Record; extendsList: ReadonlyArray; } /** * Run all definition-time validations. Throws {@link NodeSettingsError} * with a stable `code` on the first problem. Catching problems here — * instead of waiting for the first `loader(env)` call — gives clearer * stack traces and prevents misconfiguration from shipping to prod. */ export declare function validateDefineSettingsOptions(input: ValidatedOptionsInput): void; export {}; //# sourceMappingURL=validate-options.d.ts.map