import { BufferTypes } from "../../Util/BufferTypes.js"; import { InstantiatedStruct } from "./InstantiatedStruct.js"; import { BinaryStructData } from "../Types/BinaryStructData.types.js"; export declare class BinraryStructBase { id: string; byteOffSet: number; structSize: number; structArrayIndexes: number; structArrayIndex: number; structData: BinaryStructData; data: DataView; indexMap: Record; index: DataView; constructor(id: string); setData(data: DataView): void; setBuffer(data: BufferTypes): void; getBuffer(): ArrayBuffer; setStructArrayIndex(index: number): void; getProperty(id: string): number; setProperty(id: string, value: number): boolean; getArrayPropertyValue(id: string, index: number): number; /**## getArrayTagByteIndex * Get the actual byte index for the provided index of the array. * @param id * @param index * @returns */ getArrayPropertyByteIndex(id: string, index: number): number; setArrayPropertyValue(id: string, index: number, value: number): number | void; /**## instantiate * Creates an object to read/write to the struct buffer. * @param structArrayIndex - Default is the current index. * @returns */ instantiate(): T & InstantiatedStruct; }