import { default as CortexElement } from '../../../../base/src/cortex-element.ts';

/**
 * @summary Formats a number as a human readable bytes value.
 */
export default class CxFormatBytes extends CortexElement {
    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 {
        'cx-format-bytes': CxFormatBytes;
    }
}
