import { z } from "zod"; import type { UnifiedField } from "./unified.types.js"; type SchemaObj = Record; /** * Builds a Zod object schema from unified fields. * * @param mongooseConfig - The unified schema (e.g. authConfig.user.schema) * @param keys - Optional list of fields to include. * If omitted, all fields are included. */ export declare function buildZodObject(mongooseConfig: SchemaObj, keys?: string[], internal?: Record): z.ZodObject; /** * Returns the Zod schema of a single field */ export declare function getZodField(mongooseConfig: SchemaObj, key: string): z.ZodTypeAny; /** * Safer version – skips missing fields instead of throwing */ export declare function buildZodObjectSafe(mongooseConfig: SchemaObj, keys?: string[]): z.ZodObject; export {}; //# sourceMappingURL=zod.factory.d.ts.map