import { TFunction } from '../async/index.js';
import { EventEmitter } from '../event/index.js';
import { TTimer, TTimerEvent } from './types/index.js';
export declare class Timer extends EventEmitter<TTimerEvent> {
    protected timer: TTimer | null;
    protected onTick: () => void;
    setTimeout(fn: TFunction, timeout: number): boolean;
    setInterval(fn: TFunction, interval?: number): boolean;
    reset(): void;
}
//# sourceMappingURL=timer.d.ts.map