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