import React, { HTMLAttributes } from 'react';
import { SecondaryColorToken } from '../../theme/colorList';
export interface TagProps extends HTMLAttributes<HTMLSpanElement> {
    /**
     * The color of the tag.
     */
    color?: SecondaryColorToken;
    /**
     * Text to be rendered inside the tag.
     */
    children: React.ReactNode;
    /**
     * Whether or not the tag should be closable.
     */
    closable?: boolean;
    /**
     * Function called when the close button is clicked.
     */
    onClose?: () => void;
}
export declare function Tag(props: TagProps): JSX.Element;
//# sourceMappingURL=index.d.ts.map