import { ScaleData, ScaleDataSchema } from "../proto/compas_pb/generated/geometry_pb.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/geometry/scale.d.ts /** The fields a Scale is built from. */ type ScaleInit = MessageInitShape; declare class Scale { readonly data: ScaleData; constructor(init: ScaleInit); get bytes(): Uint8Array; /** Reads a Scale from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Scale; get guid(): string; get name(): string; get matrix(): number[]; } declare function bytesToScale(bytes: Uint8Array): Scale; declare function scaleToBytes(scale: Scale): Uint8Array; //#endregion export { Scale, ScaleInit, bytesToScale, scaleToBytes }; //# sourceMappingURL=scale.d.ts.map