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 { Exit } from "@effect/core/io/Exit/definition"; import { Maybe } from "@tsplus/stdlib/data/Maybe/definition"; /** * Converts the stream to a scoped queue of elements. After the scope is * closed, the queue will never again produce values and should be discarded. * @tsplus static effect/core/stream/Stream.Aspects toQueueOfElements * @tsplus pipeable effect/core/stream/Stream toQueueOfElements * @tsplus location "@effect/core/stream/Stream/operations/toQueueOfElements" */ export declare function toQueueOfElements(capacity?: number): (self: import("../definition").Stream) => import("../../../io/Effect").Effect, A>>>; //# sourceMappingURL=toQueueOfElements.d.ts.map