import { SerialTaskExecuteContext, SerialHandler } from '../handler';
declare class ByteBuffer extends SerialHandler<Uint8Array, Uint8Array> {
    private static MIN_BYTE_SIZE;
    private static MIN_LOAD_SIZE;
    private lastRemainingByte;
    execute(context: SerialTaskExecuteContext<Uint8Array, Uint8Array>): void;
    protected onFinish(): void;
}
export default ByteBuffer;
