/**
 * A wrapper to centrally manage Node.js timeouts.
 */
export default class Timer {
    private static readonly TIMERS;
    private readonly timeoutId;
    private constructor();
    static setTimeout(runnable: (...args: unknown[]) => void, timeoutMillis: number): Timer;
    static setInterval(runnable: (...args: unknown[]) => void, timeoutMillis: number): Timer;
    /**
     * Cancel all pending timeouts.
     */
    static cancelAll(): void;
    /**
     * Cancel this timeout.
     */
    cancel(): void;
}
