import { Options } from "./types"; /** * Returns a Promise that is fulfilled when calling inputFunc returns a fulfilled promise. If calling input returns a * rejected promise, inputFunc is called again until the maximum number of retries is reached. It then rejects with * the last rejection reason. * * @param inputFunc the function that will run until it succeeds or reach the retry limit. * @param options Options to configure the retry behavior. * @returns a Promise that is fulfilled when the inputFunc returns a fulfilled promise. */ export declare function betterRetry(inputFunc: (attempt: number) => PromiseLike | T, options?: Options): Promise;