import { Stream } from "@effect/core/stream/Stream/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Consumes elements of the stream, passing them to the specified callback,
 * and terminating consumption when the callback returns `false`.
 * @tsplus fluent ets/Stream runForEachWhile
 * @tsplus location "@effect/core/stream/Stream/operations/runForEachWhile"
 */
export declare function runForEachWhile_<R, E, A, R2, E2, Z>(self: Stream<R, E, A>, f: (a: A) => Effect<R2, E2, boolean>, __tsplusTrace?: string): Effect<R | R2, E | E2, void>;
/**
 * Consumes elements of the stream, passing them to the specified callback,
 * and terminating consumption when the callback returns `false`.
 * @tsplus static ets/Stream/Aspects runForEachWhile
 * @tsplus pipeable ets/Stream runForEachWhile
 * @tsplus location "@effect/core/stream/Stream/operations/runForEachWhile"
 */
export declare const runForEachWhile: <A, R2, E2>(f: (a: A) => import("../../../io/Effect").Effect<R2, E2, boolean>, __tsplusTrace?: string) => <R, E, Z>(self: import("../definition").Stream<R, E, A>) => import("../../../io/Effect").Effect<R | R2, E | E2, void>;
//# sourceMappingURL=runForEachWhile.d.ts.map