export * from "./chunker/api.js";
export function open(config: Config): Chunker;
export function write(state: Chunker, bytes: Uint8Array): ChunkerWithChunks;
export function close(state: Chunker): ChunkerWithChunks;
export function split(config: Config, buffer: BufferQueue.View, end: boolean): ChunkerWithChunks;
export type Config = {
    chunker: Chunker.Chunker;
};
export type Chunker = {
    buffer: BufferQueue.View;
    config: Config;
};
export type ChunkerWithChunks = Chunker & {
    chunks: Chunker.Chunk[];
};
import * as Chunker from "./chunker/api.js";
import * as BufferQueue from "./chunker/buffer.js";
//# sourceMappingURL=chunker.d.ts.map