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