type TextBadgeVariant = 'statusHealthy' | 'statusWarning' | 'statusCritical' | 'infoPrimary' | 'infoSecondary' | 'selectedActive'; export type TextBadgeCustomColor = { /** Text color, and border color unless `borderColor` is given. */ text: string; /** Background color. */ backgroundColor: string; /** Border color. Falls back to `text`. */ borderColor?: string; }; type Props = { text: React.ReactNode; className?: string; variant?: TextBadgeVariant; /** Override the variant colors with explicit ones (and add a border). */ customColor?: TextBadgeCustomColor; /** * When provided, a trailing "✕" button is rendered and this is called when * the user clicks it. The badge does not track any in-flight state itself — * guard against repeated calls in the handler if needed. */ onRemove?: () => void; /** Accessible label for the remove button. Defaults to "Remove". */ removeAriaLabel?: string; } & React.HTMLAttributes; export declare function TextBadge({ text, variant, className, customColor, onRemove, removeAriaLabel, ...rest }: Props): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=TextBadge.component.d.ts.map