import { SphereData, SphereDataSchema } from "../proto/compas_pb/generated/geometry_pb.js"; import { Frame } from "./frame.js"; import { MessageInitShape } from "@bufbuild/protobuf"; //#region src/geometry/sphere.d.ts /** The fields a Sphere is built from. */ type SphereInit = MessageInitShape; declare class Sphere { readonly data: SphereData; private _frame?; constructor(init: SphereInit); get bytes(): Uint8Array; /** Reads a Sphere from the bytes of its protobuf message. */ static fromBytes(bytes: Uint8Array): Sphere; get guid(): string; get name(): string; get radius(): number; get frame(): Frame; } declare function bytesToSphere(bytes: Uint8Array): Sphere; declare function sphereToBytes(sphere: Sphere): Uint8Array; //#endregion export { Sphere, SphereInit, bytesToSphere, sphereToBytes }; //# sourceMappingURL=sphere.d.ts.map