import LibraryBaseElement from '../../internal/library-base-element.js'; /** * @summary Formats a number as a human readable bytes value. * @documentation /components/format-bytes * @status stable * @since 1.5 */ export default class OFormatBytes extends LibraryBaseElement { private readonly localize; /** The number to format in bytes. */ value: number; /** The type of unit to display. */ unit: 'byte' | 'bit'; /** Determines how to display the result, e.g. "100 bytes", "100 b", or "100b". */ display: 'long' | 'short' | 'narrow'; render(): string; } declare global { interface HTMLElementTagNameMap { 'o-format-bytes': OFormatBytes; } }