/** info < attention < urgent < critical. */ export type Severity = 'info' | 'attention' | 'urgent' | 'critical'; export interface NavBadgeValue { /** Exact count. 0 (or negative) renders nothing. */ count: number; tone: Severity; /** Already-translated, human label used for aria-label/tooltip ("alertas abiertas"). */ label?: string; } export declare const SEVERITIES: readonly Severity[]; export declare function isSeverity(v: unknown): v is Severity; /** The more severe of two tones. */ export declare function maxSeverity(a: Severity, b: Severity): Severity; export declare const DEFAULT_BADGE_MAX = 99; /** 0 -> '', 7 -> '7', 100 -> '99+'. */ export declare function formatBadgeCount(n: number, max?: number): string; export declare function isNavBadgeValue(v: unknown): v is NavBadgeValue; /** Whether a nav `badge` prop (number | string | NavBadgeValue) renders. */ export declare function hasNavBadge(badge: number | string | NavBadgeValue | undefined | null): boolean; /** "(99+) Vantora" — the tab title with an aggregate counter; unchanged when 0. */ export declare function formatTabTitle(base: string, count: number, max?: number): string; /** Strips a previously applied "(n) " prefix so the title can be re-stamped idempotently. */ export declare function stripTabTitleCount(title: string): string; /** Aggregates badge values: summed count (deduped by caller) + the most severe tone. */ export declare function aggregateBadges(values: Iterable): { count: number; tone: Severity; }; //# sourceMappingURL=badge-model.d.ts.map