import * as _angular_core from '@angular/core'; import { OnInit, Signal } from '@angular/core'; import * as i1 from '@angular/common'; type ThyBadgeSize = 'md' | 'sm' | 'lg'; /** * 徽标组件,支持组件`thy-badge`和`thyBadge`指令两种使用方式 * @name thy-badge,[thyBadge] */ declare class ThyBadge implements OnInit { private elementRef; private nativeElement; readonly displayContent: Signal; readonly badgeClassName: Signal; protected isWrapper: boolean; readonly isShowBadge: Signal; private readonly value; protected readonly textColor: Signal; protected readonly backgroundColor: Signal; constructor(); /** * 徽标类型 * @type default | primary | danger | warning | success */ readonly thyType: _angular_core.InputSignalWithTransform; /** * 徽标内容数字 * @type number */ readonly thyCount: _angular_core.InputSignalWithTransform; /** * 徽标内容文本 * @type string */ readonly thyContent: _angular_core.InputSignal; /** * 已废弃,徽标内容文本,命名错误,请使用 thyContent */ readonly thyContext: _angular_core.InputSignal; /** * 徽标显示的最大值, 与 thyCount 一起使用,thyCount 超过了 thyMaxCount 设置的值时,徽标内容为 thyMaxCount+ * @type number */ readonly thyMaxCount: _angular_core.InputSignalWithTransform; /** * 徽标显示的大小 * @type md | sm | lg */ readonly thySize: _angular_core.InputSignalWithTransform; /** * 已废弃,徽标是一个实心点,已经被废弃 * @deprecated */ readonly thyIsDot: _angular_core.InputSignalWithTransform; /** * 已废弃,徽标是一个空心点 * @deprecated */ readonly thyIsHollow: _angular_core.InputSignalWithTransform; /** * thyCount 为 0 时,强制显示数字 0,默认不显示 */ readonly thyKeepShow: _angular_core.InputSignalWithTransform; /** * 设置徽标字体的颜色,支持内置颜色和自定义颜色 'primary' | '#87d068' | ... * @type string */ readonly thyTextColor: _angular_core.InputSignal; /** * 设置徽标的背景颜色,支持内置颜色和自定义颜色 'primary' | '#87d068' | ... * @type string */ readonly thyBackgroundColor: _angular_core.InputSignal; ngOnInit(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyBadgeModule { constructor(); static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyBadge, ThyBadgeModule }; export type { ThyBadgeSize };