import React from 'react';
import { Key } from '../Keys';
export declare enum DeleteType {
    BACKSPACE = 0,
    REMOVE = 1
}
export interface ITag {
    key: string;
    text: string;
}
export interface ITagProps {
    onBlur?: () => void;
    onCreate?: (element: HTMLElement) => void;
    onDelete?: (tag: ITag, deleteType: DeleteType) => void;
    onFocus?: () => void;
    onKeyUp?: (tag: ITag, key: Key) => void;
    tag: ITag;
}
export declare class Tag extends React.Component<ITagProps> {
    static defaultProps: Partial<ITagProps>;
    private refCallback;
    private handleFocus;
    private handleBlur;
    private handleKeyUp;
    private handleRemoveClick;
    render(): React.ReactElement<Tag>;
}
