type TypeTS = {
    units: string[];
    space: boolean;
    divisor: number;
};
export declare const getType: (name: string) => TypeTS;
type HumanizeFunctionType = (v: number, initialUnit: string, preferredUnit: string) => {
    string: string;
    unit?: string;
    value: number;
};
export declare const humanizeBinaryBytesWithoutB: HumanizeFunctionType;
export declare const humanizeBinaryBytes: HumanizeFunctionType;
export declare const humanizeDecimalBytes: HumanizeFunctionType;
export declare const humanizeDecimalBytesPerSec: HumanizeFunctionType;
export declare const humanizePacketsPerSec: HumanizeFunctionType;
export declare const humanizeNumber: HumanizeFunctionType;
export declare const humanizeNumberSI: HumanizeFunctionType;
export declare const humanizeSeconds: HumanizeFunctionType;
export declare const humanizeCpuCores: HumanizeFunctionType;
export declare const humanizePercentage: (value: number) => {
    string: string;
    unit: string;
    value: number;
};
export declare const units: {
    round: (value: number, fractionDigits?: number) => number;
    humanize: (value: number, typeName: string, useRound: boolean | undefined, initialUnit: string, preferredUnit: string) => {
        string: string;
        unit: string | undefined;
        value: number;
    };
    dehumanize: (value: string, typeName: string) => {
        value: number;
        unit?: string;
    };
};
export declare const validate: {
    split: (value: string) => (string | number | undefined)[];
    CPU: (value?: string) => string | undefined;
    time: (value?: string) => string | undefined;
    memory: (value?: string) => string | undefined;
};
export declare const convertToBaseValue: (value: string) => number | null;
export declare const secondsToNanoSeconds: (value: string | number) => number;
export declare const formatToFractionalDigits: (value: number, digits: number) => string;
export declare const formatBytesAsMiB: (bytes: number) => string;
export declare const formatBytesAsGiB: (bytes: number) => string;
export declare const formatCores: (cores: number) => string;
export {};
//# sourceMappingURL=units.d.ts.map