/** * Options */ type Options = { min?: number; max?: number; jitter?: number; factor?: number; retries?: number; }; /** * Initialize backoff timer with `opts`. */ declare class Backoff { private readonly ms; private readonly max; private readonly factor; private readonly jitter; private readonly retries; private attempts; constructor(opts?: Options); duration(): number; stop(): boolean; reset(): void; } export { Backoff as default };