import { TextInputProps } from "@mantine/core"; import { FieldValues, UseControllerProps } from "react-hook-form"; type Props = TextInputProps & { name: UseControllerProps["name"]; rules?: UseControllerProps["rules"]; defaultValue?: UseControllerProps["defaultValue"]; }; declare function RHFTextInput(props: Props): import("react/jsx-runtime").JSX.Element; export default RHFTextInput; export declare const createTextInputField: () => (props: Props) => import("react/jsx-runtime").JSX.Element;