interface TimerObject { type: 'Interval' | 'Timeout'; timer: NodeJS.Timer; } declare class TimerCache { #private; static _inst: TimerCache; constructor(); get length(): number; clear(): this; has(name: N | undefined): boolean; get(name: N): TimerObject; get(): Map; set(name: N, obj: TimerObject): TimerObject; remove(name: N): this; } export default TimerCache;