/// import { WeeklyScheduleInterface } from "./ScheduleInterface"; import { EventStopInterface } from "./EventStopInterface"; import { EventEmitter } from "events"; export declare class Timer extends EventEmitter { static fromSchedule(schedule: WeeklyScheduleInterface): Timer; constructor(delay: number, options?: any); private _eventStops; private _next; private _timeout; private _tick; private _options; private _shutdown; start(emit?: boolean): void; restart(): void; close(shutdown?: boolean, emit?: boolean): void; private _canTick; private setup__eventStops; private _cacheEventStop; private _clearEventStop; } export interface EventStopMapEntry { timerRef: Timer; stop: EventStopInterface; }