import { default as React } from 'react'; import { BadgeProps } from 'antd'; import { BaseComponentProps } from '../../typings'; import { HealthStatus, HealthStatusObject } from '../../utils/authority/const'; export interface OnChainBadgeProps extends BaseComponentProps, BadgeProps { } /** * 徽标数 * 图标右上角的圆形徽标数字。 */ declare const OnChainBadge: React.FC; export declare enum Color { /** 浅绿 */ LightGreen = "LightGreen", /** 粉 */ Pink = "Pink", /** 蓝 */ Blue = "blue", /** 黑蓝 */ BlackBlue = "BlackBlue", /** 灰色 */ Gray = "Gray" } export declare const StatusColors: { /** 红 */ Delay: string; /** 绿 */ Healthy: string; /** 浅绿 */ LightGreen: string; /** 黄 */ Warning: string; /** 灰 */ Failure: string; /** 蓝 */ blue: string; /** 粉 */ Pink: string; /** 黑蓝 */ BlackBlue: string; /** 灰色 */ Gray: string; }; interface HealthStateProps { /** @deprecated */ healthList?: HealthStatusObject[]; /** @deprecated */ healthId?: string; healthStatus: HealthStatus | Color; } export declare const HealthStateComponent: React.FC; export default OnChainBadge;