import type * as Ex from "../../../../Exit";
import * as M from "../../../../Managed";
import type * as O from "../../../../Option";
import * as Q from "../../../../Queue";
import type * as C from "../core";
/**
 * Converts the stream to a managed queue of elements. After the managed queue is used,
 * the queue will never again produce values and should be discarded.
 */
export declare function toQueueOfElements_<R, E, A>(self: C.Stream<R, E, A>, capacity?: number): M.RIO<R, Q.Queue<Ex.Exit<O.Option<E>, A>>>;
/**
 * Converts the stream to a managed queue of elements. After the managed queue is used,
 * the queue will never again produce values and should be discarded.
 *
 * @ets_data_first toQueueOfElements_
 */
export declare function toQueueOfElements(capacity?: number): <R, E, A>(self: C.Stream<R, E, A>) => M.RIO<R, Q.Queue<Ex.Exit<O.Option<E>, A>>>;
//# sourceMappingURL=toQueueOfElements.d.ts.map