import { ReactNode } from "react"; import { FieldPathByValue, FieldValues, RegisterOptions } from "react-hook-form"; import { FormFieldLayoutProps } from "./FormFieldLayout.js"; import { PatchedControllerRenderProps } from "./types.js"; export type ControlledFormFieldProps = FieldPathByValue> = FormFieldLayoutProps & { name: TName; rules?: RegisterOptions; children: (props: PatchedControllerRenderProps) => ReactNode; }; export declare function ControlledFormField = FieldPathByValue>({ name, rules, children, ...layoutProps }: ControlledFormFieldProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ControlledFormField.d.ts.map