import { core, z } from "zod/v4"; export declare class ValidationError extends Error { name: string; inner: Array<{ path: string; message: string; }>; constructor(message: string); } /** * Wrap your zod schema in this function when providing it to Formik's validation schema prop * @param schema The zod schema * @returns An object containing the `validate` method expected by Formik */ export declare function toFormikValidationSchema(schema: z.ZodSchema, params?: Partial>): { validate: (obj: T) => Promise; }; /** * Wrap your zod schema in this function when providing it to Formik's validate prop * @param schema The zod schema * @returns An validate function as expected by Formik */ export declare function toFormikValidate(schema: z.ZodSchema, params?: Partial>): (values: T) => Promise | undefined>;