/** * @license Unit Formatter v1.2.0 * https://github.com/rawify/UnitFormat.js * * Copyright (c) 2025, Robert Eisele (https://raw.org/) * Licensed under the MIT license. */ /** A supported scaling base. */ export type UnitBase = 2 | 10; /** * Formats a number with configurable decimal or binary engineering prefixes. * * @param value The number to format. * @param baseUnit The unit appended after the selected prefix. * @param prefixes Allowed single-character prefixes in priority order. * @param base Scaling base. Only 2 and 10 are supported. */ export declare function UnitFormat(value: number, baseUnit?: string | null, prefixes?: string | null, base?: number | null): string; export default UnitFormat;