declare class Timer { #private; dataKey: string; isGlobal: boolean | undefined; pageName: string; ref: NodeJS.Timeout | undefined; value: Date | undefined; constructor({ dataKey, initialValue, pageName, }?: { dataKey?: string; initialValue?: Date; pageName?: string; }); increment(): Date; start(): void; clear(): void; on(evt: Evt, fn: Timer['onIncrement']): this; set onClear(fn: (() => void) | undefined); set onIncrement(fn: ((value: Date | undefined) => void) | undefined); } export default Timer;