export type UnaryFunction = (arg: VALUE) => RETURN; /** * Validates a promise and rejects if the predicate returns a false value. * @param pred Function to validate the promise with */ export declare function safePromise(pred: UnaryFunction): (arg: R) => Promise; export declare function safePromise(pred: UnaryFunction, arg: R): Promise; //# sourceMappingURL=safePromise.d.ts.map