import { ReactNode, HTMLAttributes, PropsWithChildren } from 'react';
export interface BadgeProps {
/**
* 自定义 class
*/
className?: string;
/**
* 标记类型
*/
type?: 'standard' | 'dot' | 'status';
/**
* 标记内容
* - number: 数量
* - string: 内容
*/
content?: ReactNode;
/**
* content 为 number时 最大显示数量 n,超过则显示 n+
*/
max?: number;
/**
* 颜色
* @remarks 已废弃的 `'primary'` 仍会在运行时归一到 `'brand'`,但不再作为合法类型
*/
color?: 'brand' | 'success' | 'warning' | 'danger' | 'inactive';
/**
* 原生 hover title tip,如不同则以 content 为 tip,以便可以显示超出 max 的 count
*/
title?: HTMLAttributes['title'];
}
export declare function Badge(props: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
export declare namespace Badge {
var displayName: string;
}