import React, { type ReactNode } from 'react';
import type { TextFieldProps } from '@mui/material';
import type { RegisterOptions } from 'react-hook-form';
type InputProps = TextFieldProps & {
    name: string;
    label?: ReactNode;
    placeholder?: string;
    errorPosition?: 'right' | 'bottom';
    rules?: RegisterOptions;
    wrapperStyle?: React.CSSProperties;
    required?: boolean;
    tooltip?: ReactNode | string;
    description?: ReactNode | string;
};
export default function FormInput({ ref, name, label, placeholder, rules, errorPosition, wrapperStyle, inputProps, required, tooltip, description, ...rest }: InputProps & {
    ref?: React.RefObject<HTMLInputElement | null>;
    inputProps?: TextFieldProps['inputProps'];
}): JSX.Element;
export {};
