import { LitElement } from 'lit'; export type FormatBytesDisplay = 'decimal' | 'binary'; export type FormatBytesUnit = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb'; export type FormatBytesUnitDisplay = 'short' | 'long'; /** * @element nve-format-bytes * @description Formats a byte count as localized decimal or binary units. Let the formatter choose the unit from the byte count or specify one for consistent display. * @documentation https://nvidia.github.io/elements/docs/elements/format-bytes/ * @since 2.3.0 * @entrypoint \@nvidia-elements/core/format-bytes * @slot - Numeric byte count to format (such as 1048576). Serves as fallback before hydration. * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data */ export declare class FormatBytes extends LitElement { #private; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; }; /** * Optional byte count for values supplied by JavaScript or bound data. * By default, the component formats the element's text content, which also serves as the SSR fallback. * When both are present, this property takes precedence. */ value?: number; /** * Unit system: 'decimal' uses powers of 1000 and 'binary' uses powers of 1024. */ display: FormatBytesDisplay; /** * Optional unit magnitude. When omitted, the component selects a unit from the byte count. */ unit?: FormatBytesUnit; /** * Unit label length: 'short' renders labels such as 'MB'; 'long' renders labels such as 'megabytes'. */ unitDisplay: FormatBytesUnitDisplay; /** * Language tag (such as en-US or de-DE) used to format the number. * Defaults to document.documentElement.lang or the runtime default. */ locale?: string; /** * Pads the fractional part to at least the given digit count. */ minimumFractionDigits?: number; /** * Rounds the fractional part to at most the given digit count. Defaults to two effective digits after the decimal point. */ maximumFractionDigits?: number; render(): import("lit-html").TemplateResult<1>; }