import type { z } from 'zod'; /** * Walks schema+data bottom-up, removing values that match their registered * defaults. Children are cleaned first, so cascading happens naturally: * if cleaning children produces a result matching the parent's default, * the parent is also stripped. * * The operation is fully reversible via `.prefault()`. * * Returns a new object with default-matching values removed, or the original * reference if nothing was changed. */ export declare function cleanDefaultValues(schema: z.ZodType, data: T): T; //# sourceMappingURL=clean-default-values.d.ts.map