import { EventEmitter, OnDestroy } from "@angular/core"; /** A timer is a component for measuring time intervals */ export declare class TimerComponent implements OnDestroy { /** Element ID */ id?: string; /** Element class name */ className?: string; /** Timer's duration in seconds */ get duration(): number; set duration(value: number); /** Callback when timer ends */ timerEnd: EventEmitter; minutes: number; seconds: number; private _timer; private _duration; private _countDown; /** Clears the timer */ private clearTimer; /** * Converts the numeric value into two digits string for display purposes * @param {number} value The numberic value to be converted * @returns The two digits string value */ toDoubleDigits(value: number): string; /** Kicks off the timer */ startTimer(): void; ngOnDestroy(): void; }