/**
 * Stream transformation function that outputs chucks of a defined size.
 * The last chunk contains the rest of the data and may be smaller than the other chunks
 *
 * @param size the size of the chucks (except the last one)
 * @param stream the input stream of data
 */
export declare function chunkify(size: number, stream: AsyncIterable<Uint8Array>): AsyncGenerator<Uint8Array, void, unknown>;
