import { type BigNumberSize } from '../../core/big-number.js'; import { UiElement } from '../shared/element.js'; import '../tooltip/tooltip.js'; import './big-number-skeleton.js'; /** * Carbon for IBM Products `BigNumber` (`c4p-big-number`): a large value under a small label — "12.3K", or "12.3K/50.0K" * with a `total` larger than the value (hidden for `percentage`, which adds "%", unless `force-show-total`). * Abbreviated by Intl compact notation in `locale` (en-US by default, as Carbon) with `fraction-digits`; * `truncate="false"` shows the whole grouped number. `trending` puts an up arrow before it, `tooltip-description` an * info button after the label that shows it in a tooltip, `loading` the skeleton. Sizes: default (label-01 / * heading-04 / body-compact-01), lg (label-01 / heading-06 / heading-03), xl (body-compact-01 / heading-07 / heading-04). * * @slot label - Replaces the label text (e.g. with your own info toggletip) * @slot trending-icon - Replaces the up arrow of `trending` * @slot icon-button - An icon button after the value * @csspart figure - The figure * @csspart label - The label * @csspart value - The value * @csspart total - The "/total" * @csspart info - The info button of `tooltip-description` */ export declare class UiBigNumber extends UiElement { static readonly styles: import("lit").CSSResult; /** The value (the numerator of a fraction). */ value?: number; /** The total after the slash; shown only when larger than `value` and different once abbreviated. */ total?: number; /** The label above the value. */ label: string; /** How the numbers are written (Intl locale); en-US when empty or invalid. */ locale: string; /** Fraction digits of an abbreviated number. */ fractionDigits: number; /** Abbreviate the numbers (12,345 → 12.3K); `truncate="false"` writes them in full. */ truncate: boolean; /** Add "%" after the value; the total never shows. */ percentage: boolean; /** An up arrow before the value. */ trending: boolean; /** Show the total even when it would be hidden ("Unknown" without one). */ forceShowTotal: boolean; /** Text of an info button after the label, shown in a tooltip. */ tooltipDescription: string; size: BigNumberSize; /** Show the skeleton instead. */ loading: boolean; private readonly localize; private renderTrend; private renderInfo; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-big-number': UiBigNumber; } }