import React from 'react';
import EmailSuggestion from './EmailSuggestion';
import { Suggestion } from './types';
import { GenericComponent } from '../../@types/types';
interface AutocompleteProps {
    suggestions: Suggestion[] | {
        [x: string]: Suggestion[];
    };
    highlightedSuggestion?: Suggestion | null;
    onClick?: (suggestion: Suggestion, event: React.SyntheticEvent) => void;
    onHover?: (suggestion: Suggestion, event: React.SyntheticEvent) => void;
    renderSuggestion?: React.ComponentType<React.ComponentProps<typeof EmailSuggestion>>;
    menuWidth?: number;
}
declare const Autocomplete: GenericComponent<AutocompleteProps>;
export default Autocomplete;
