import { KbqUnitSystem } from './config';
export declare const KBQ_INVALID_VALUE_ERROR = "Argument \"value\" must be a finite number!";
/**
 * @deprecated Will be removed in next major release. Use `getFormattedSizeParts` instead.
 * @docs-private
 */
export declare const formatDataSize: (value: number, precision: number, system: KbqUnitSystem) => {
    value: string;
    unit: string;
};
/**
 * Converts a byte value into locale-independent file size parts: numeric value and unit abbreviation.
 *
 * @param value - size in bytes.
 * @param system - unit system defining abbreviations and base scaling (SI/IEC).
 * @returns Object with the formatted size info.
 *
 * @example
 * getFormattedSizeParts(1500, 'SI'); // { value: "1.50", unit: "KB" }
 */
export declare function getFormattedSizeParts(value: number, system: KbqUnitSystem): {
    value: string;
    unit: string;
};
/**
 * Converts a byte value into locale-independent file size parts: numeric value and unit abbreviation.
 *
 * @param value - size in bytes.
 * @param _precision param is deprecated, use `Intl.NumberFormat` rounding options instead.
 * @param system - unit system defining abbreviations and base scaling (SI/IEC).
 * @returns Object with the formatted size info.
 * @deprecated `_precision` - this param will be remove in next major version.
 * @TODO remove deprecated (#DS-3849).
 *
 * @example
 * getFormattedSizeParts(1500, 2, 'SI'); // { value: "1.50", unit: "KB" }
 */
export declare function getFormattedSizeParts(value: number, _precision: number, system: KbqUnitSystem): {
    value: string;
    unit: string;
};
/**
 * Converts bytes to Kb, Mb, Gb
 *
 * @param value the number of bytes
 * @param system the measurement system
 * @param threshold the lower counting threshold
 */
export declare const getHumanizedBytes: (value: number, system: KbqUnitSystem, threshold?: number) => {
    result: number;
    unit: string;
};
