/**
 * Metrics-config specific unit display.
 * Retrieves the unit display name for a given unit type
 * @param  {Function} formatUnitDisplay=identity
 * @param  {String} to
 * @param  {String} unitType
 */
export function getMetricUnitDisplay({ formatUnitDisplay, to, unitType }?: Function): any;
/**
 * Converts a single value. Metrics-config specific.
 * @param  {Number} metricApiValue
 * @param  {Object<{
 *    unitType: String,
 *    from: String,
 *    to: String,
 *    customConvert: Function,
 *    convertForMultiRigs: Function,
 *    precision: Number,
 *    allowNegativeValue: Boolean
 * }>} metricConfig
 * @returns {Number}
 */
export function getConvertedMetricValue(metricApiValue: number, metricConfig: any, rigsNum: any, metricsMaxValue: any): number;
/**
 * Round down all values between 100-101.50% to 100.00%. Leave all values above 101.50%.
 * @param  {Number} value
 * @param  {Object<{precision: Number}>} precision
 * @returns {Number}
 */
export function convertPercentageMetrics(value: number, { precision }?: any): number;
/**
 * Converts value from percents to absolute value
 * @param {Number} value
 * @returns {Number}
 */
export function convertPercentageToSave(value: number): number;
/**
 * Converts cost value to show on the UI
 * @param {Number} value
 * @returns {Number}
 */
export function convertCostToShow(value: number): number;
/**
 * Converts cost value to save
 * @param {Number} value
 * @returns {Number}
 */
export function convertCostToSave(value: number): number;
export function getSum({ sumVal }: {
    sumVal: any;
}): any;
export function getAverage({ sumVal, number }: {
    sumVal: any;
    number: any;
}): number;
export function getMax({ maxVal }: {
    maxVal: any;
}): any;
//# sourceMappingURL=utils.d.ts.map