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, human-readable decimal or binary units. * @documentation https://nvidia.github.io/elements/docs/elements/format-bytes/ * @since 0.0.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; /** * Pad fraction output to at least this many digits. */ minimumFractionDigits?: number; /** * Round fraction output to at most this many digits. Defaults to two effective digits after the decimal point. */ maximumFractionDigits?: number; render(): import("lit-html").TemplateResult<1>; }