import { Stream } from "@effect/core/stream/Stream/definition";
import { LazyArg } from "@tsplus/stdlib/data/Function";
import { Enqueue } from "@effect/core/io/Queue/definition/common";
import { Take } from "@effect/core/stream/Take/definition";
import { Effect } from "@effect/core/io/Effect/definition";
/**
 * Enqueues elements of this stream into a queue. Stream failure and ending
 * will also be signalled.
 * @tsplus fluent ets/Stream runIntoQueue
 * @tsplus location "@effect/core/stream/Stream/operations/runIntoQueue"
 */
export declare function runIntoQueue_<R, E extends E1, A, E1>(self: Stream<R, E, A>, queue: LazyArg<Enqueue<Take<E1, A>>>, __tsplusTrace?: string): Effect<R, E | E1, void>;
/**
 * Enqueues elements of this stream into a queue. Stream failure and ending
 * will also be signalled.
 * @tsplus static ets/Stream/Aspects runIntoQueue
 * @tsplus pipeable ets/Stream runIntoQueue
 * @tsplus location "@effect/core/stream/Stream/operations/runIntoQueue"
 */
export declare const runIntoQueue: <A, E1>(queue: import("@tsplus/stdlib/data/Function").LazyArg<import("../../../io/Queue").Enqueue<import("../../Take").Take<E1, A>>>, __tsplusTrace?: string) => <R, E extends E1>(self: import("../definition").Stream<R, E, A>) => import("../../../io/Effect").Effect<R, E | E1, void>;
//# sourceMappingURL=runIntoQueue.d.ts.map