Interface TimerController: group Timer timeLeft: number The time left for the callback to be called. paused: boolean If the event handler is paused. cancel(): void Cancel the event handler. onEnd(action: () => void): void Register an event when finished. then(action: () => void): TimerController