import React from 'react';
import { Suggestion, Suggestions } from './types';
import EmailSuggestion from './EmailSuggestion';
import { GenericComponent } from '../../@types/types';
interface LabelProps {
    option: Suggestion;
    index: number;
    editing?: boolean;
    invalid?: boolean;
    onClick?: (index: number) => void;
    onFocus?: (index: number) => void;
    onBlur?: (index: number, newLabel: Suggestion | {
        email: string;
    }) => void;
    onRemove?: (index: number) => void;
    onFinish?: (index: number, newLabel: Suggestion | {
        email: string;
    }) => void;
    suggestions?: Suggestions;
    renderSuggestion?: React.ComponentType<React.ComponentProps<typeof EmailSuggestion>>;
    menuWidth?: number;
    disableRemovalOfFirst?: boolean;
}
declare const Label: GenericComponent<LabelProps>;
export default Label;
