import { BinaryView, Utf8View } from '../type.js'; import { Builder, BuilderOptions } from '../builder.js'; import { BufferBuilder } from './buffer.js'; /** @ignore */ export declare class BinaryViewBuilder extends Builder { protected _views: BufferBuilder; protected _variadicBuffers: Uint8Array[]; protected _currentBuffer: BufferBuilder | null; protected _currentBufferIndex: number; protected _currentBufferOffset: number; protected readonly _bufferSize: number; constructor(opts: BuilderOptions); get byteLength(): number; setValue(index: number, value: TType['TValue']): this; protected writeBinaryValue(index: number, data: Uint8Array): this; protected encodeValue(value: TType['TValue']): Uint8Array; setValid(index: number, isValid: boolean): boolean; clear(): this; flush(): import("../data.js").Data; finish(): this; }