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