import { AsyncErrorCallback, RetryWorker } from "../interfaces"; /** * This method executes a function once, and then retry executing it N times * while it still failing. * * It means the function will be executed at least 1 time and at most N+1 * times. */ export declare function retry(times: number, mainBody: RetryWorker, final?: AsyncErrorCallback): void;