import { ReactNode } from 'react'; import { AutocompleteProps } from '@mui/material'; export interface VirtualizedAutocompleteProps extends Omit, 'renderInput'> { helperText?: string; placeholder?: string; error?: boolean; startAdornment?: ReactNode; endAdornment?: ReactNode; /** * Structure for option */ options: { /** * Component to be rendered in the dropdown */ component: ReactNode | string; /** * Value of option */ value: string; /** * Label that should display in the input when selected */ inputLabel: string; }[]; } declare const VirtualizedAutocomplete: ({ helperText, placeholder, error, startAdornment, endAdornment, ...props }: VirtualizedAutocompleteProps) => JSX.Element; export default VirtualizedAutocomplete;