import { LineData, LineDataSchema } from "../proto/compas_pb/generated/geometry_pb.js"; import { Point } from "./point.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/geometry/line.d.ts /** The fields a Line is built from. */ type LineInit = MessageInitShape; declare class Line { readonly data: LineData; private _start?; private _end?; constructor(init: LineInit); get bytes(): Uint8Array; /** Reads a Line from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Line; get guid(): string; get name(): string; get start(): Point; get end(): Point; } declare function bytesToLine(bytes: Uint8Array): Line; declare function lineToBytes(line: Line): Uint8Array; //#endregion export { Line, LineInit, bytesToLine, lineToBytes }; //# sourceMappingURL=line.d.ts.map