declare namespace _default {
    export { convert };
    export { isCompatible };
    export { format };
    export { convertAndFormat };
    export { normalize };
    export { findUnitFromSymbol };
    export { unitDisplayDetail };
    export { highestUnit };
    export { getAllUnitsFromUnitClass };
    export { sanitizeDataPoints };
}
export default _default;
/**
 * Convert between different units
 *
 * @param {Number} magnitude
 * @param {String} fromUnit
 * @param {String} toUnit (Optional) if not then convert to root unit
 */
declare function convert(magnitude: number, fromUnit: string, toUnit: string): number;
/**
 * Checks the compatibility between two units
 *
 * @param {String} unit1
 * @param {String} unit2
 */
declare function isCompatible(unit1: string, unit2: string): boolean;
/**
 * format a number by appending unit symbol
 *
 * @param {String} unit Unit identifier
 * @param {Number} magnitude Numeric value
 * @param {Object} options (optional) edit configuration
 */
declare function format(magnitude: number, unit: string, options: Object): string | undefined;
/**
 * format a number by appending unit symbol
 *
 * @param {String} fromUnit from Unit
 * @param {String} toUnit to Unit
 * @param {Number} magnitude Numeric value
 * @param {Object} options (optional) edit configuration
 */
declare function convertAndFormat(magnitude: number, fromUnit: string, toUnit: string, options: Object): string | undefined;
/**
 * normalize the magnitude to nearest unit in the class.
 *
 * @param {String} unit source unit
 * @param {Number} magnitude value
 */
declare function normalize(magnitude: number, unit: string): {
    unitSymbol: any;
    unit: string;
    magnitude: number;
};
/**
 * Find unit class
 *
 * @param {String} symbol
 */
declare function findUnitFromSymbol(symbol: string): {
    unitClass: any;
    unit: string;
};
/**
 * Return display details of a unit
 *
 * @param {String} unit
 */
declare function unitDisplayDetail(unit: string): never;
declare function highestUnit(units: any): undefined;
declare function getAllUnitsFromUnitClass(unit: any): undefined;
/**
 * Get the highest Unit if comman metrics exists &
 * normalize the data on the bases of that highest unit.
 */
declare function sanitizeDataPoints({ sources, highestAvailableUnit, showCommonMetricsymbol, widget }: {
    sources: any;
    highestAvailableUnit: any;
    showCommonMetricsymbol: any;
    widget: any;
}): {
    metricDataPoints: {};
    highestAvailableUnit: any;
    showCommonMetricsymbol: any;
    highestUnitPerMetric: {};
    normalizedUnitData: {};
};
