import { BindPromise, FuncPromise, PredicatePromise } from "./types"; /** * Creates a function that resolves with the result of the `resolution` if the `predicate` returns `true`. * * @param {PredicatePromise} predicate - Determines whether or not to resolve the rejected `Promise`. * @param {FuncPromise} resolution - Provides the resolution for the given `value`. * @return {BindPromise} A function that takes a rejected value and returns a `Promise`. */ export declare function resolveIf(predicate: PredicatePromise, resolution: FuncPromise): BindPromise;