import type { ZodError } from 'zod';
/**
 * Applies Zod validation errors to a React Hook Form setError function.
 * Used by form submit handlers to display field-level errors from schema validation.
 *
 * @param error - The ZodError from schema.safeParse when validation fails
 * @param setError - RHF's setError (e.g. methods.setError)
 */
export declare function setFormErrorsFromZod(error: ZodError, setError: (path: string, opts: {
    message: string;
}) => void): void;
