import { IEvent } from './Events/_types'; import { IDisposable } from './Types'; export default class Timer implements IDisposable { #private; /** Initializes a new instance of the Timer class, and sets all the properties to their initial values. */ constructor(); /** Initializes a new instance of the Timer class, and sets the Interval property to the specified number of milliseconds. */ constructor(interval: number); get onElapsed(): IEvent<{ signalTime: number; }>; /** Gets a Boolean indicating whether the Timer should raise the Elapsed event only once(false) or repeatedly(true). */ get autoReset(): boolean; /** Sets a Boolean indicating whether the Timer should raise the Elapsed event only once(false) or repeatedly(true). */ set autoReset(value: boolean); /** Gets a value indicating whether the Timer should raise the Elapsed event. */ get enabled(): boolean; /** Sets a value indicating whether the Timer should raise the Elapsed event. */ set enabled(value: boolean); /** Gets the interval, expressed in milliseconds, at which to raise the Elapsed event. */ get interval(): number; /** Sets the interval, expressed in milliseconds, at which to raise the Elapsed event. */ set interval(value: number); /** Starts raising the Elapsed event by setting Enabled to true. */ start(): void; /** Stops raising the Elapsed event by setting Enabled to false. */ stop(): void; dispose(): void; }