import { InputProps } from '@mui/material';
import { AutocompleteChangeDetails, AutocompleteChangeReason } from '@mui/material/Autocomplete';
import { EpicAutocompleteProps } from './EpicAutocompleteProps';

export interface EpicAutocompleteBaseProps extends EpicAutocompleteProps {
  onChangeFactory?: (
    onChange: (...event: any[]) => void
  ) => (
    event: React.SyntheticEvent,
    value: string | string[] | null,
    reason: AutocompleteChangeReason,
    details?: AutocompleteChangeDetails<unknown>
  ) => void;

  InputPropsFactory?: (value: string) => Partial<InputProps>;
}