import { Stream } from "@effect/core/stream/Stream/definition";
import { Predicate } from "@tsplus/stdlib/data/Predicate";
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 predicate evaluates to
 * `true`.
 * @tsplus fluent ets/Stream takeUntil
 * @tsplus location "@effect/core/stream/Stream/operations/takeUntil"
 */
export declare function takeUntil_<R, E, A>(self: Stream<R, E, A>, f: Predicate<A>, __tsplusTrace?: string): Stream<R, E, A>;
/**
 * Takes all elements of the stream until the specified predicate evaluates to
 * `true`.
 * @tsplus static ets/Stream/Aspects takeUntil
 * @tsplus pipeable ets/Stream takeUntil
 * @tsplus location "@effect/core/stream/Stream/operations/takeUntil"
 */
export declare const takeUntil: <A>(f: import("@tsplus/stdlib/data/Predicate").Predicate<A>, __tsplusTrace?: string) => <R, E>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E, A>;
//# sourceMappingURL=takeUntil.d.ts.map