import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
import { CountdownMetadata, CountdownTime, CountdownCompleteEvent, CountdownTickEvent } from './types';
import * as i0 from "@angular/core";
export declare class CountdownComponent implements OnInit, OnDestroy {
    props: CountdownMetadata;
    complete: EventEmitter<CountdownCompleteEvent>;
    tick: EventEmitter<CountdownTickEvent>;
    private i18n;
    time: CountdownTime;
    isExpired: boolean;
    private intervalId;
    ngOnInit(): void;
    ngOnDestroy(): void;
    /**
     * Start the countdown timer.
     */
    start(): void;
    /**
     * Stop the countdown timer.
     */
    stop(): void;
    /**
     * Reset and restart the countdown.
     */
    restart(): void;
    private updateTime;
    private getTargetDate;
    shouldShowDays(): boolean;
    shouldShowHours(): boolean;
    shouldShowMinutes(): boolean;
    shouldShowSeconds(): boolean;
    formatNumber(value: number): string;
    getLabel(unit: 'days' | 'hours' | 'minutes' | 'seconds', value: number): string;
    getExpiredMessage(): string;
    getColor(): string;
    static ɵfac: i0.ɵɵFactoryDeclaration<CountdownComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CountdownComponent, "val-countdown", never, { "props": { "alias": "props"; "required": false; }; }, { "complete": "complete"; "tick": "tick"; }, never, never, true, never>;
}
