import { Stream } from "@effect/core/stream/Stream/definition";
import { Effect } from "@effect/core/io/Effect/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Takes all elements of the stream until the specified effectual predicate
 * evaluates to `true`.
 * @tsplus fluent ets/Stream takeUntilEffect
 * @tsplus location "@effect/core/stream/Stream/operations/takeUntilEffect"
 */
export declare function takeUntilEffect_<R, E, A, R2, E2>(self: Stream<R, E, A>, f: (a: A) => Effect<R2, E2, boolean>, __tsplusTrace?: string): Stream<R | R2, E | E2, A>;
/**
 * Takes all elements of the stream until the specified effectual predicate
 * evaluates to `true`.
 * @tsplus static ets/Stream/Aspects takeUntilEffect
 * @tsplus pipeable ets/Stream takeUntilEffect
 * @tsplus location "@effect/core/stream/Stream/operations/takeUntilEffect"
 */
export declare const takeUntilEffect: <A, R2, E2>(f: (a: A) => import("../../../io/Effect").Effect<R2, E2, boolean>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R | R2, E | E2, A>;
//# sourceMappingURL=takeUntilEffect.d.ts.map