import { type ZodArray, type ZodBoolean, type ZodNumber, type ZodObject, type ZodString, type ZodNullable, type ZodIssue, type ZodRawShape, type ZodTypeAny, type ZodOptional, type z, type ZodType, type ZodError, type ZodTypeDef } from 'zod'; import type { Nullable } from './type'; export declare function isZodType(item: any): item is ZodType; export declare function isZodNullable(item: any): item is ZodNullable; export declare function isZodOptional(item: any): item is ZodOptional; export declare function isZodString(item: any): item is ZodString; export declare function isZodBoolean(item: any): item is ZodBoolean; export declare function isZodNumber(item: any): item is ZodNumber; export declare function isZodArray(item: any): item is ZodArray; export declare function isZodObject(item: any): item is ZodObject; export declare function isZodError(item: any): item is ZodError; export declare function toReadableError(issue: ZodIssue): string; /** * validation utils * @deprecated to be replaced with setNullZodAny, TODO: check impact on current usage */ export declare function setNullZod(zodObject: ZodObject, modelReference?: any): Nullable>>; export declare function setNullZodAny(zodAny: ZodType): Nullable>; export declare function normalizeNonString(obj: any, schema: ZodObject): any;