import React from 'react';
import { Suggestion, Suggestions } from './types';
import EmailSuggestion from './EmailSuggestion';
interface EmailSelectorProps {
    error?: boolean | string;
    warning?: boolean | string;
    defaultSelection?: Suggestion[];
    suggestions?: Suggestions;
    validator?: (option: Suggestion) => boolean | string | undefined;
    onChange?: (selection: Suggestion[]) => void;
    onBlur?: (event?: React.FocusEvent<HTMLElement>) => void;
    onFocus?: (event: React.FocusEvent<HTMLElement>) => void;
    id?: string;
    renderSuggestion?: React.ComponentType<React.ComponentProps<typeof EmailSuggestion>>;
}
declare const EmailSelector: ({ error, defaultSelection, validator, onChange, onBlur, onFocus, id, suggestions, renderSuggestion, warning, ...rest }: EmailSelectorProps) => JSX.Element;
export default EmailSelector;
