export declare function retry(delegate: () => T | Promise, { retries }?: { retries?: number; }): Promise;