import { MenuItemProps } from '@mui/material';
import { CTextFieldProps } from './TextField';
import { Ref } from 'react';

type SelectOption = {
    value: string | number | boolean;
    label: string;
    icon?: string;
    iconRotate?: number;
};
export type CSelect2Props = CTextFieldProps & {
    options: SelectOption[];
    groupBy?: (item: SelectOption) => string;
    slotProps?: CTextFieldProps['slotProps'] & {
        menuItem?: MenuItemProps;
    };
    ref?: Ref<HTMLInputElement>;
};
export declare const CSelect2: (props: CSelect2Props) => import("react/jsx-runtime").JSX.Element;
export {};
