/// import { NumberInput } from '@angular/cdk/coercion'; import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class MtnaCounterDirective implements OnChanges { static ngAcceptInputType_interval: NumberInput; static ngAcceptInputType_increment: NumberInput; static ngAcceptInputType_duration: NumberInput; static ngAcceptInputType_countTo: NumberInput; static ngAcceptInputType_countFrom: NumberInput; /** the count value to start */ get countFrom(): number; set countFrom(countFrom: number); private _countFrom; /** the count value to reach */ get countTo(): number; set countTo(countTo: number); private _countTo; /** The amount of time to run the counter, overrides the interval & increment */ get duration(): number | null; set duration(duration: number | null); private _duration; /** The value by which to increment the count */ get increment(): number; set increment(inc: number); private _increment; /** How often to emit the count & increment */ get interval(): number; set interval(int: number); private _interval; /** the count after each interval */ count: EventEmitter; timer?: NodeJS.Timeout; private isIncrease; ngOnChanges(changes: SimpleChanges): void; private run; /** * Changes the count value, whether increasing or decreasing */ private changeValue; /** * Determines if the counter has reached the countTo value. */ private isComplete; /** * Uses the duration to set the interval/increment values, then calls runInterval(). * If user provides interval/increment, it will override the calculated value; * A provided increment will override a provided interval. */ private runDuration; /** * Sets a timer and after each interval, emits the counter then increments it. */ private runInterval; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }