import type { Predicate, Refinement } from "../Function/index.js"; import type { IO } from "./effect.js"; /** * Lift a predicate into an effectful function */ export declare function fromPredicate(refinement: Refinement, onFalse: (a: A) => E): (a: A) => IO; export declare function fromPredicate(predicate: Predicate, onFalse: (a: A) => E): (a: A) => IO; //# sourceMappingURL=fromPredicate.d.ts.map