import { LazyArg } from "@tsplus/stdlib/data/Function"; import { Stream } from "@effect/core/stream/Stream/definition"; import { Either } from "@tsplus/stdlib/data/Either/definition"; /** * Fails with given error 'e' if value is `Left`. * @tsplus static effect/core/stream/Stream.Aspects rightOrFail * @tsplus pipeable effect/core/stream/Stream rightOrFail * @tsplus location "@effect/core/stream/Stream/operations/rightOrFail" */ export declare function rightOrFail(error: LazyArg): (self: Stream>) => Stream; //# sourceMappingURL=rightOrFail.d.ts.map