import { UseFieldFn } from "../types.mjs"; import { FieldValues, UseFormRegister } from "react-hook-form"; //#region src/react-hook-form/hooks.d.ts /** * This custom hook shares the same props and methods as register. * @returns Return value of `register` */ declare function useRegister(...props: Parameters>): import("react-hook-form").UseFormRegisterReturn>; /** * RHF-backed useField implementation. * Normalizes useController return to the shared FieldBinding shape. */ declare const useFieldRHF: UseFieldFn; /** * Provides the error message of a field without subscribing to the entire form state. * @param path - The path of the field. * @returns The error message of the field, or undefined if there is no error. */ declare const useFieldError: (path: string[]) => string | undefined; //#endregion export { useFieldError, useFieldRHF, useRegister }; //# sourceMappingURL=hooks.d.mts.map