import { FormSchema, InferSchema, VvZodError, ZodIssue } from './types'; import type * as z3 from 'zod/v3'; import type * as z4 from 'zod/v4/core'; export declare const isZod3Object: (value: z3.ZodTypeAny) => value is z3.ZodObject; export declare const isZod4Object: (value: z4.$ZodType) => value is z4.$ZodObject; export declare const isZod3Default: (value: z3.ZodTypeAny) => value is z3.ZodDefault; export declare const isZod4Default: (value: z4.$ZodType) => value is z4.$ZodDefault; export declare const isZod3Nullable: (value: z3.ZodTypeAny) => value is z3.ZodNullable; export declare const isZod4Nullable: (value: z4.$ZodType) => value is z4.$ZodNullable; export declare const isZod3Record: (value: z3.ZodTypeAny) => value is z3.ZodRecord; export declare const isZod4Record: (value: z4.$ZodType) => value is z4.$ZodRecord; export declare const isZod3Array: (value: z3.ZodTypeAny) => value is z3.ZodArray; export declare const isZod4Array: (value: z4.$ZodType) => value is z4.$ZodArray; export declare const isZod3Effects: (value: z3.ZodTypeAny) => value is z3.ZodEffects; export declare const isZod3Optional: (value: z3.ZodTypeAny) => value is z3.ZodOptional; export declare const isZod4Optional: (value: z4.$ZodType) => value is z4.$ZodOptional; export declare const isZod4Pipe: (value: z4.$ZodType) => value is z4.$ZodPipe; export declare const isZod4Transform: (value: z4.$ZodType) => value is z4.$ZodTransform; export declare const getZod3SchemaInnerType: (schema: Type | z3.ZodEffects | z3.ZodEffects> | z3.ZodOptional) => Type; export declare const getZod4SchemaInnerType: (schema: Type | z4.$ZodPipe | z4.$ZodPipe | z4.$ZodOptional) => any; export declare const isZod3SchemaOptional: (schema: Type | z3.ZodEffects | z3.ZodEffects> | z3.ZodOptional) => boolean; export declare const isZod4SchemaOptional: (schema: Type | z4.$ZodPipe | z4.$ZodPipe | z4.$ZodOptional) => boolean; export declare function defaultObjectByJSONSchema(schema: z4.JSONSchema.JSONSchema, original?: unknown): unknown; export declare const isZod4Schema: (schema: z3.ZodTypeAny | z4.$ZodType) => schema is z4.$ZodType; export declare function defaultObjectBySchema(schema: Schema, original?: Partial> & Record): Partial>; export declare const safeParseAsync: (schema: T, data: any) => Promise> | Promise>>>>; export declare const formatError: (schema: T, error: VvZodError) => z4.$ZodFormattedError; export declare const formatIssues: (schema: FormSchema, issues: ZodIssue[]) => { _errors: string[]; };