import { BindPromise, Func, PredicatePromise } from "./types"; /** * Creates a function that applies the `morphism` if the `predicate` returns `true`. * * @param {PredicatePromise} predicate - Determines whether or not to invoke the `morphism`. * @param {Func} morphism - The morphism. * @returns {BindPromise} A function that takes a value and returns a `Promise`. */ export declare function invokeIf(predicate: PredicatePromise, morphism: Func): BindPromise;