import { ProcessType } from "./ProcessMonitorTypes"; /** * Given a number, will return a nice string, 1,024 will return 1KB, 100 will return 100 Bytes, and so on. * * The result is displayed with 2 decimal points of precision. */ export declare function bytesToSize(bytes: number): string; /** * Handler for Array.reduce. It takes the array of statistics and sums each value. * This outputs an object that has total CPU and memory consumption. */ export declare const statReducer: (prev: ProcessType, curr: ProcessType) => ProcessType; /** * Convenience function for rounding decimals to a given precision * Note that "precision" here means "number of digits to the right of the decimal point" */ export declare const roundDecimalToPrecision: (number: number, precision: number) => number; //# sourceMappingURL=helpers.d.ts.map