import './Badge.css'; import React, { type HTMLAttributes } from 'react'; export declare const badgeColorVariant: readonly ["neutralDark", "neutralLight", "actionDark", "actionLight", "errorDark", "errorLight", "disabled"]; export declare const badgeVariant: readonly ["dot", "count"]; export declare const badgeSizeVariant: readonly ["xs", "s"]; export declare const badgeAsVariant: readonly ["div", "span"]; export declare const badgeHorizontalOriginVariant: readonly ["left", "right"]; export declare const badgeVerticalOriginVariant: readonly ["top", "bottom"]; export type BadgeColorVariant = (typeof badgeColorVariant)[number]; export type BadgeVariant = (typeof badgeVariant)[number]; export type BadgeSizeVariant = (typeof badgeSizeVariant)[number]; export type BadgeAsVariant = (typeof badgeAsVariant)[number]; export type BadgeHorizontalOriginVariant = (typeof badgeHorizontalOriginVariant)[number]; export type BadgeVerticalOriginVariant = (typeof badgeVerticalOriginVariant)[number]; export declare const cnBadge: import("@bem-react/classname").ClassNameFormatter; export type BadgeProps = { /** Размер */ size?: BadgeSizeVariant; /** Вариант представления */ variant?: BadgeVariant; /** Цвет */ color?: BadgeColorVariant; /** Отображаемое значение */ content?: React.ReactChild | null; /** HTML-атрибуты элемента отображающего content баджа */ contentProps?: HTMLAttributes; /** Максимальное число для отображаемого значения */ max?: number; /** Расположение по горизонтали */ horizontalOrigin?: BadgeHorizontalOriginVariant; /** Расположение по вертикали */ verticalOrigin?: BadgeVerticalOriginVariant; /** Если {true} отображает нулевое значение */ showZero?: boolean; /** Если {true} компонент будет скрыт */ invisible?: boolean; }; export declare const Badge: import("../../utils/polymorphicComponentWithRef").PolymorphicComponentWithRef;