/**
 * Don't modify this file, the RPC generated code depends on its interface.
 */
import * as RpcTypes from "./rpcTypes";
export declare class Marshal {
    private buffer;
    private _dataView;
    private _offset;
    constructor(initialSize?: number);
    getBuffer(): ArrayBuffer;
    private ensureCapacity;
    writeData(data: ArrayBuffer): void;
    writeMatrix44(data: RpcTypes.Matrix44): void;
    writeBoolean(value: boolean): void;
    writeInt(value: number): void;
    writeUInt(value: number): void;
    writeFloat(value: number): void;
    writeString(value: string): void;
    writeHitCheckResult(data: RpcTypes.HitCheckResult): void;
    writeVimStatus(data: RpcTypes.VimStatus): void;
    writeVector2(data: RpcTypes.Vector2): void;
    writeVector3(data: RpcTypes.Vector3): void;
    writeRGBA(color: RpcTypes.RGBA): void;
    writeRGB(color: RpcTypes.RGB): void;
    writeRGBA32(color: RpcTypes.RGBA32): void;
    writeSegment(segment: RpcTypes.Segment): void;
    writeBox3(data: RpcTypes.Box3): void;
    writeSectionBoxState(data: RpcTypes.SectionBoxState): void;
    writeArrayOfInt(values: number[]): void;
    writeArrayOfUInt(values: number[]): void;
    writeArrayOfFloat(values: number[]): void;
    writeArrayOfBool(values: boolean[]): void;
    writeArrayOfRGBA32(values: RpcTypes.RGBA32[]): void;
    writeArray<T>(data: T[], sizeT: number, write: (data: T) => void): void;
}
export declare class ReadMarshal {
    private _dataView;
    private _offset;
    constructor(buffer: ArrayBuffer);
    readMatrix44(): RpcTypes.Matrix44;
    readInt(): number;
    readUInt(): number;
    readUInt64(): bigint;
    readFloat(): number;
    readBoolean(): boolean;
    readString(): string;
    readHitCheckResult(): RpcTypes.HitCheckResult;
    readVimStatus(): RpcTypes.VimStatus;
    readVector2(): RpcTypes.Vector2;
    readVector3(): RpcTypes.Vector3;
    readRGBA(): RpcTypes.RGBA;
    readRGB(): RpcTypes.RGB;
    readRGBA32(): RpcTypes.RGBA32;
    readBox3(): RpcTypes.Box3;
    readSegment(): RpcTypes.Segment;
    readSectionBoxState(): RpcTypes.SectionBoxState;
    readArrayOfInt(): number[];
    readArrayOfUInt(): number[];
    readArrayOfUInt64(): bigint[];
    readArrayOfFloat(): number[];
    readArrayOfBool(): boolean[];
    readArrayOfRGBA32(): RpcTypes.RGBA32[];
    readArray<T>(read: () => T): T[];
}
