import type { SxProps } from '@mui/material'; import React from 'react'; export type FilterFunction = (option: { label: string; }, key: string) => boolean; export interface Props { value: T; items: T[]; onChange: (value: T) => void; sx?: SxProps; disabled?: boolean; label?: string; error?: string | boolean; groupBy?: (option: T) => string; showGroupName?: boolean; filter?: FilterFunction; customOptions?: (option: T) => React.ReactNode; } declare const AutocompleteSelect: ({ value, items, onChange, sx, disabled, label, error, groupBy, customOptions, filter, showGroupName, ...rest }: Props) => React.ReactElement; export default AutocompleteSelect;