import { OCPP2_0_1 } from '../ocpp/model';
export declare class MeterValueUtils {
    private static readonly validContexts;
    /**
     * Calculate the total Kwh
     *
     * @param {array} meterValues - meterValues of a transaction.
     * @return {number} total Kwh based on the best available energy measurement.
     */
    static getTotalKwh(meterValues: OCPP2_0_1.MeterValueType[]): number;
    private static filterValidMeterValues;
    private static getTimestampToKwhMap;
    /**
     * Find a specific measurand value from sampledValues
     * @param sampledValues Array of sampled values
     * @param measurand The measurand type to look for
     * @param phased Whether to look for phased values (true) or non-phased values (false)
     * @returns The normalized value in kWh, or null if not found
     */
    private static findMeasurandValue;
    /**
     * Sum phased values for a specific measurand
     * @param sampledValues Array of sampled values
     * @param measurand The measurand type to sum
     * @returns The sum of phase values in kWh, or null if no valid phase values found
     */
    private static sumPhasedValues;
    private static normalizeToKwh;
    private static getSortedKwhByTimestampAscending;
    private static calculateTotalKwh;
}
