import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
export type TextBoxProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
    name: string;
    defaultValue?: string;
    rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
    [x: string]: any;
};
export declare const TextBox: ({ name, defaultValue, rules, ...rest }: TextBoxProps) => import("react/jsx-runtime").JSX.Element;
