import { OnInit, ElementRef } from '@angular/core'; export declare class CounterUpDirective implements OnInit { private el; /** * Optional extra configuration, such as easing. */ options: any; /** * Optional start value for the count. Defaults to zero. */ startVal: number; /** * Optional duration of the animation. Default is two seconds. */ duration: number; /** * Optional number of decimal places. Default is two. */ decimals: number; /** * Optional flag for specifying whether the element should re-animate when clicked. * Default is true. */ reanimateOnClick: boolean; /** * The value to count up to. */ private endValue; endVal: number; /** * Count up element. */ private countUp; /** * Default values */ private defaultValues; constructor(el: ElementRef); ngOnInit(): void; /** * Re-animate if preference is set. */ onClick(): void; /** * Create counter up. * * @author Joaquin Volpe * @param start Start value * @param end End value * @param decimals Decimals count * @param duration Counter duration * @returns * @memberof CounterUpDirective */ private createCountUp(start, end, duration, decimals); /** * Animate counter up. * * @author Joaquin Volpe * @memberof CounterUpDirective */ private animate(); }