import * as C from "../core.js"; /** * Allows a faster producer to progress independently of a slower consumer by buffering * up to `capacity` chunks in a queue. */ export declare function buffer_(self: C.Stream, capacity: number): C.Stream; /** * Allows a faster producer to progress independently of a slower consumer by buffering * up to `capacity` chunks in a queue. * * @ets_data_first buffer_ */ export declare function buffer(capacity: number): (self: C.Stream) => C.Stream; //# sourceMappingURL=buffer.d.ts.map