import { CSSProperties, HTMLAttributes, MouseEventHandler, ReactNode } from 'react'; import { InfoIconProps } from '../InfoIcon/InfoIcon'; export type StatusTagVariant = 'pending' | 'initiated' | 'confirmed' | 'declined' | 'paid'; export interface StatusTagProps extends Omit, 'onClick'> { /** Kit tag: icon plus the `tag--bg` background and `tag--text` label. */ variant?: StatusTagVariant; /** Custom icon; wins over the variant's. */ icon?: ReactNode; /** The label. */ text: ReactNode; /** Wraps the tag in an info tooltip with this text. */ tooltip?: InfoIconProps['title']; /** Extra props for the tooltip's underlying `Tooltip`. */ tooltipProps?: InfoIconProps['tooltipProps']; /** Icon color; overrides the label colour the icon follows by default. */ iconColor?: string; /** Icon and label color on hover. */ hoverColor?: string; /** Turns the hover color change off. */ disableHoverColor?: boolean; /** Shows the hover color permanently. */ colorActive?: boolean; /** CSS min-width of the tag, e.g. `120px`. */ minWidth?: string; className?: string; containerStyle?: CSSProperties; iconStyle?: CSSProperties; textStyle?: CSSProperties; /** Makes the tag clickable (pointer cursor, hover fade). */ onClick?: MouseEventHandler; /** Centers the content inside `minWidth`. */ center?: boolean; } export declare const StatusTag: ({ variant, icon, text, tooltip, tooltipProps, iconColor, hoverColor, disableHoverColor, colorActive, minWidth, className, containerStyle, iconStyle, textStyle, onClick, center, ...props }: StatusTagProps) => import("react/jsx-runtime").JSX.Element; export default StatusTag;