import { Control, FieldValue } from 'react-hook-form';
import { SelectProps } from '@mui/material';

interface IControllerSelect {
    name: string;
    label: string;
    options: any;
    placeholder: string;
    formControl: Control<FieldValue<any>, any>;
    fieldArrayName?: string;
    position?: string;
    required?: boolean;
    size?: SelectProps["size"];
    multiple?: boolean;
    disabled?: boolean;
    searchPlaceholder?: string;
    handleSearch?: () => void;
    classes?: string;
    with_checkboxes?: boolean;
    onChipRemove?: () => void;
}
export interface IOption {
    text: string;
    value: string | number;
    isGroup?: boolean;
    parent?: string;
    options?: {
        text: string;
        value: string;
    }[];
}
declare const ControllerSelect: React.FC<IControllerSelect>;
export default ControllerSelect;
