import { Duration } from './util.js'; export declare function retry(count: number, callback: () => T): Promise; export declare function retry(count: number, duration: Duration | Generator, callback: () => T): Promise; export declare function expBackoff(max?: Duration, rand?: Duration): Generator; export declare function spinner(callback: () => T): Promise; export declare function spinner(title: string, callback: () => T): Promise;