interface FormattedResult {
    value: number;
    unit: string;
}
export declare const B = 1;
export declare const KiB: number;
export declare const MiB: number;
export declare const GiB: number;
export declare const TiB: number;
export declare const PiB: number;
export type SerializableBasic = null | undefined | string | number | boolean;
export type SerializableArray = Serializable[];
export type SerializableObject = {
    [key: string]: Serializable;
};
export type Serializable = SerializableBasic | SerializableArray | SerializableObject;
export declare const MAGIC_METRIC_NULL = -2;
export declare const bit = 1;
export declare const Kb: number;
export declare const Mb: number;
export declare const Gb: number;
export declare const Tb: number;
export declare const Pb: number;
export declare function formatBits(bits: number, decimals?: number): FormattedResult;
export declare const Hz = 1;
export declare const KHz: number;
export declare const MHz: number;
export declare const GHz: number;
export declare const THz: number;
export declare function formatFrequency(frequency: number, decimals?: number): FormattedResult;
export declare const SECOND = 1;
export declare const MINUTE: number;
export declare const HOUR: number;
export declare const DAY: number;
export declare const WEEK: number;
export declare function formatSeconds(seconds: number, decimals?: number): FormattedResult;
export declare const bps = 1;
export declare const Kbps: number;
export declare const Mbps: number;
export declare const Gbps: number;
export declare const Tbps: number;
export declare function formatBitPerSecond(input: number, decimals?: number): FormattedResult;
export declare const Bps = 1;
export declare const KBps: number;
export declare const MBps: number;
export declare const GBps: number;
export declare const TBps: number;
export declare function formatBps(input: number, decimals?: number): FormattedResult;
export declare function formatBytes(bytes: number, decimals?: number): FormattedResult;
export declare function formatBytePerSecond(bytes: number, decimals?: number): FormattedResult;
export declare function formatPercent(input: number, decimals?: number, saturated?: boolean): {
    value: string;
    numberValue: number;
    unit: string;
};
export declare const KbE = 1000;
export declare const MbE: number;
export declare const GbE: number;
export declare const TbE: number;
export declare function formatSpeed(input: number, decimals?: number): {
    value: string;
    unit: string;
} | {
    value: number;
    unit: string;
};
export declare const K = 1000;
export declare const M: number;
export declare const G: number;
export declare const T: number;
export declare const P: number;
export declare function formatCount(input: number): FormattedResult;
export declare function formatNanoSecond(input: number): FormattedResult;
export declare function formatTemperature(input: number, decimals?: number): FormattedResult;
export declare const unitRules: {
    divider: number[];
    unit: string[];
}[];
export {};
