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;
    layout?: 'vertical' | 'horizontal';
};
export default function FormInput({ ref, name, label, placeholder, rules, errorPosition, wrapperStyle, inputProps, required, tooltip, description, layout, slotProps, ...rest }: InputProps & {
    ref?: React.RefObject<HTMLInputElement | null>;
    inputProps?: TextFieldProps['inputProps'];
}): JSX.Element;
export {};
