import { IWaitUntilOptions } from './interfaces'; /** * Default Backoff Config */ export declare const DEFAULT_CONFIG: IWaitUntilOptions; /** * Retries the function execution until: * - the method is executed successfully * - or, the max number of attempts have been reached * * @param originalFunction * @param context * @param args */ export declare function retry(originalFunction: any, context: any, args: any[], options: IWaitUntilOptions, retriesLeft: number): Promise;