import { BoxData, BoxDataSchema } from "../proto/compas_pb/generated/geometry_pb.js"; import { Frame } from "./frame.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/geometry/box.d.ts /** The fields a Box is built from. */ type BoxInit = MessageInitShape; declare class Box { readonly data: BoxData; private _frame?; constructor(init: BoxInit); get bytes(): Uint8Array; /** Reads a Box from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Box; get guid(): string; get name(): string; get xsize(): number; get ysize(): number; get zsize(): number; get frame(): Frame; } declare function bytesToBox(bytes: Uint8Array): Box; declare function boxToBytes(box: Box): Uint8Array; //#endregion export { Box, BoxInit, boxToBytes, bytesToBox }; //# sourceMappingURL=box.d.ts.map