import * as z from '../index'; import { AnyZodObject } from '../types/object'; export declare namespace partialUtil { type RootDeepPartial = { object: T extends AnyZodObject ? z.ZodObject<{ [k in keyof T['_shape']]: DeepPartial; }, T['_unknownKeys'], T['_catchall']> : never; rest: ReturnType; }[T extends z.ZodObject ? 'object' : 'rest']; type DeepPartial = { object: T extends z.ZodObject ? z.ZodOptional; }, Params>> : never; rest: ReturnType; }[T extends z.ZodObject ? 'object' : 'rest']; }