import { Stream } from "@effect/core/stream/Stream/definition";
import { Either } from "@tsplus/stdlib/data/Either/definition";
/**
 * Terminates the stream when encountering the first `Left`.
 * @tsplus fluent ets/Stream collectWhileRight
 * @tsplus location "@effect/core/stream/Stream/operations/collectWhileRight"
 */
export declare function collectWhileRight<R, E, L, A>(self: Stream<R, E, Either<L, A>>, __tsplusTrace?: string): Stream<R, E, A>;
//# sourceMappingURL=collectWhileRight.d.ts.map