import React from 'react';
import { GenericComponent } from '../../@types/types';
import { BoxProps } from '../box/Box';
import EmailSuggestion from './EmailSuggestion';
import { Suggestion, Suggestions } from './types';
interface EmailSelectorProps extends Omit<BoxProps, 'ref' | 'onBlur' | 'onFocus'> {
    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>>;
    menuFullWidth?: boolean;
    disableRemovalOfFirst?: boolean;
}
declare const EmailSelector: GenericComponent<EmailSelectorProps>;
export default EmailSelector;
