import { FrameData, FrameDataSchema } from "../proto/compas_pb/generated/geometry_pb.js"; import { Point } from "./point.js"; import { Vector } from "./vector.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/geometry/frame.d.ts /** The fields a Frame is built from. */ type FrameInit = MessageInitShape; declare class Frame { readonly data: FrameData; private _point?; private _xaxis?; private _yaxis?; constructor(init: FrameInit); get bytes(): Uint8Array; /** Reads a Frame from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Frame; get guid(): string; get name(): string; get point(): Point; get xaxis(): Vector; get yaxis(): Vector; } declare function bytesToFrame(bytes: Uint8Array): Frame; declare function frameToBytes(frame: Frame): Uint8Array; //#endregion export { Frame, FrameInit, bytesToFrame, frameToBytes }; //# sourceMappingURL=frame.d.ts.map