export type ValidationErrors = Record<string, string>;
/**
 * Converts Joi or Zod errors into a Formik-compatible error object.
 *
 * @param errors - Array of error details from Joi or Zod
 * @returns A structured error object.
 */
export declare const formatValidationErrors: (errors: {
    path: (string | number)[];
    message: string;
}[]) => ValidationErrors;
