import { DayCurve } from ".."; import { PowerCurve } from "../classes/powerCurve.class"; export declare enum ConsumptionIntroductionModes { TOTAL_CONSUMPTION = "totalConsumption", MONTH_CONSUMPTION = "monthConsumption", CONSUMPTION_BY_PERIOD = "consumptionByPeriod" } declare type ConsumptionIntroductionModesDict = { [key in ConsumptionIntroductionModes]: any; }; interface IntroductionModeConsumptionShapeI extends ConsumptionIntroductionModesDict { totalConsumption: number; monthConsumption: Record>; consumptionByPeriod: Record<`p${number}`, number>; } /** * Function to generate a power curve from a profile and consumption information * * @param {*} method * @param {*} profile * @param {*} consumption */ export declare function applyProfileToConsumption(method: T, profile: DayCurve[], consumption: IntroductionModeConsumptionShapeI[T], periodsCurve?: DayCurve[]): PowerCurve | undefined; export {};