import React from 'react'; import { Size } from '../../../types'; export interface BadgeProps extends React.HTMLAttributes { children: React.ReactNode; icon?: () => JSX.Element; iconAction?: () => void; rounded?: boolean; size?: Extract; square?: boolean; variant?: Variant; } declare type Variant = (typeof Variants)[keyof typeof Variants]; declare const Variants: { readonly SUCCESS: "success"; readonly INFO: "info"; readonly NEUTRAL: "neutral"; readonly ERROR: "error"; readonly WARNING: "warning"; }; declare const Badge: React.ForwardRefExoticComponent>; export default Badge;