import { MaybeConsumable } from "./maybe-consumable.js"; import { TransformStream } from "./stream.js"; /** * Splits or combines buffers to specified size. */ export declare class BufferCombiner { #private; constructor(size: number); /** * Pushes data to the combiner. * @param data The input data to be split or combined. * @returns * A generator that yields buffers of specified size. * It may yield the same buffer multiple times, consume the data before calling `next`. */ push(data: Uint8Array): Generator; flush(): Uint8Array | undefined; } export declare class DistributionStream extends TransformStream, MaybeConsumable> { constructor(size: number, combine?: boolean); } //# sourceMappingURL=distribution.d.ts.map