import type { RegisterOptions } from "react-hook-form";
import type { RendererFieldDefinition } from "../FormFieldApi.js";
type RhfRules = RegisterOptions<Record<string, unknown>, string>;
/**
* Derives react-hook-form validation rules from a field definition's
* constraint props (min, max, minLength, etc.) and the optional
* user-provided `validate` function.
*
* Called at rule-building time so that `onValidationError` can inject
* custom messages into the RHF rules object.
*/
export declare function extractValidationRules(fieldDef: RendererFieldDefinition): RhfRules;
export {};
