import { Control, FieldValues, Path } from 'react-hook-form';
import { SelectProps as MuiSelectProps } from '@mui/material';
import { ReactNode } from 'react';
export interface SelectOption<T = any> {
    label: string;
    value: T;
    disabled?: boolean;
}
export interface FormSelectProps<TFieldValues extends FieldValues> extends Omit<MuiSelectProps, 'name' | 'value' | 'onChange' | 'error'> {
    testId?: string;
    control: Control<TFieldValues>;
    name: Path<TFieldValues>;
    label: string;
    options: SelectOption[];
    placeholder?: string;
    helperText?: string;
    required?: boolean;
    fullWidth?: boolean;
    renderValue?: (selected: any) => ReactNode;
}
