import { SelectChangeEvent } from '@mui/material/Select'; export interface Option { disabled?: boolean; readonly text: string; readonly value: string; subHeader?: boolean; } export interface ExtraData { label: string; name: string; multiple: boolean; } export interface SelectProps { className?: string; disabled?: boolean; empty?: boolean; emptyText?: string; errors?: { [key: string]: string[]; }; label?: string; loading?: boolean; multiple?: boolean; name?: string; onChange?: (e: SelectChangeEvent, option?: object) => void; options?: Array