import Bluebird from "bluebird"; export declare class ExclusiveTimer { /** Indicates if the timer is running. */ get cancellationToken(): Bluebird; /** Completely resets the timer (stop and reset to zero). */ reset(): void; /** Resumes the timer. */ resume(action?: () => void): void; /** Starts the timer if the timer is not yet started. */ start(duration: number, action: () => void): void; /** Completely resets the timer unless immediately resumed. */ suspend(): void; }