import { Stream } from "@effect/core/stream/Stream/definition";
import { Channel } from "@effect/core/stream/Channel/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Allows a faster producer to progress independently of a slower consumer by
 * buffering up to `capacity` chunks in a queue.
 *
 * Note: prefer capacities that are powers of 2 for better performance.
 * @tsplus fluent ets/Stream bufferChunks
 * @tsplus location "@effect/core/stream/Stream/operations/bufferChunks"
 */
export declare function bufferChunks_<R, E, A>(self: Stream<R, E, A>, capacity: number, __tsplusTrace?: string): Stream<R, E, A>;
/**
 * Allows a faster producer to progress independently of a slower consumer by
 * buffering up to `capacity` chunks in a queue.
 *
 * Note: prefer capacities that are powers of 2 for better performance.
 * @tsplus static ets/Stream/Aspects bufferChunks
 * @tsplus pipeable ets/Stream bufferChunks
 * @tsplus location "@effect/core/stream/Stream/operations/bufferChunks"
 */
export declare const bufferChunks: (capacity: number, __tsplusTrace?: string) => <R, E, A>(self: import("../definition").Stream<R, E, A>) => import("../definition").Stream<R, E, A>;
//# sourceMappingURL=bufferChunks.d.ts.map