import type * as THREE from 'three'; import { IObject3D } from '../../shared-utils/three/IObject3D'; import { LineWithDotsMesh } from '../../Sculpt/Meshes/LineWithDots'; import { PolygonMesh, type PolygonStyle } from '../../Sculpt/Meshes/Polygon'; import type { LineMeshStyle } from '../../Sculpt/typings'; /** * 判断对象是否为测量结果。 * MeasureGroup 内除测量结果外还并存着预览用的临时对象(点 / 线 / 多边形),它们没有选中态等测量接口。 */ export declare function isMeasureMesh(item: unknown): item is MeasureMesh; export declare class MeasureMesh extends IObject3D { readonly name = "MeasureMesh"; readonly isMeasureMesh = true; points: THREE.Vector3[]; isPolygon: boolean; selected: boolean; line: LineWithDotsMesh; polygon: PolygonMesh; constructor(config?: { lineStyle?: Partial; polygonStyle?: Partial; }); changeConfig(config?: { lineStyle?: Partial; polygonStyle?: Partial; }): void; setPoints(points: THREE.Vector3[]): void; select(): void; unselect(): void; hover(): void; unhover(): void; private highlight; private unhighlight; }