import { Refinement } from "@tsplus/stdlib/data/Function"; import { Either } from "@tsplus/stdlib/data/Either/definition"; import { Predicate } from "@tsplus/stdlib/data/Predicate"; /** * Apply the specified predicate to `A` and construct `E` in case that the * specified predicate returns `false`. * @tsplus static Either.Aspects filterOrElse * @tsplus pipeable Either filterOrElse * @tsplus location "@tsplus/stdlib/data/Either/filterOrElse" */ export declare function filterOrElse(f: Refinement, onFalse: (a: A) => E): (self: Either) => Either; export declare function filterOrElse(f: Predicate, onFalse: (a: A) => E): (self: Either) => Either; //# sourceMappingURL=filterOrElse.d.ts.map