/** * Helper class to create an "Increasable object". This is an object that stores a register of the increasing (or decreasing) process * of a value, allowing to return the number of total oprations over it, the steps and the total slope (difference between first and last value) */ export declare class Increasable { constructor(initialValue?: number); private accumulated; private slope; private totalCount; private steps; /** * Returns current accumulated value * @returns {number} */ get(): number; getSlope(): number | undefined; /** * Step is an array of tuples, eachone representing each operation made over the oncresable. The firs element * od the tuple is the increment for that step, the second is the current acccumulated of the increaseable on that step after appliying the value * @returns {[number, number][]} */ getSteps(): [number, number][]; getCount(): number; /** * Increase the accumulated by a value. If value is undefined, it increase by 1. If you whant to skip increase on undefined value, set * skipUndefined parameter to true * @param value {number} */ increase(value?: number | undefined, skipUndefined?: { skipUndefined: boolean; }): void; increase(value?: number | undefined): void; private calculateSlope; }