import { Stream } from "@effect/core/stream/Stream/definition"; import { Effect } from "@effect/core/io/Effect/definition"; import { Scope } from "@effect/core/io/Scope/definition"; import { Dequeue } from "@effect/core/io/Queue/definition/common"; import { Take } from "@effect/core/stream/Take/definition"; /** * Converts the stream to a scoped queue of chunks. After the scope is closed, * the queue will never again produce values and should be discarded. * @tsplus static effect/core/stream/Stream.Aspects toQueue * @tsplus pipeable effect/core/stream/Stream toQueue * @tsplus location "@effect/core/stream/Stream/operations/toQueue" */ export declare function toQueue(capacity?: number): (self: import("../definition").Stream) => import("../../../io/Effect").Effect>>; //# sourceMappingURL=toQueue.d.ts.map