import type { HTMLAttributes } from 'react';
import React from 'react';
import type { SecondaryColorToken } from '../../theme/colorList';
import type { HTMLDataAttributes } from '../types';
export interface TagProps extends HTMLDataAttributes, 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 type TagColors = SecondaryColorToken;
export declare function Tag(props: TagProps): JSX.Element;
//# sourceMappingURL=index.d.ts.map