/** * Copyright (c) 2018 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal */ export declare function retryIf(promiseProvider: () => Promise, params: { retryThenIf?: (result: T) => boolean; retryCatchIf?: (error: any) => boolean; onRetry?: () => void; retryCount: number; }): Promise;