import type { Five } from '@realsee/five'; import PanoMeasureController, { type ModeControllerConstructor, type PanoMeasureParameterType } from '../PanoMeasurePlugin/Controller'; import EditController from '../PanoMeasurePlugin/Controller/EditController'; import MixedController from '../PanoMeasurePlugin/Controller/MixedController'; import WatchController from '../PanoMeasurePlugin/Controller/WatchController'; import type { ControllerParams } from '../PanoMeasurePlugin/Controller/BaseController'; import { PanoMagnifier } from './PointSelector'; import { type EdgeSnapOptions } from '../MeasurePluginV2/edgeSnap'; import type { MagnifierParameter } from '../shared-utils'; export type PanoMeasurePluginV2Config = PanoMeasureParameterType & { edgeSnap?: boolean | EdgeSnapOptions; /** Mouse double-click measures along the starting surface normal. Enabled by default, as in MeasurePluginV2. */ quickMeasure?: boolean; /** Keep one editable segment until finish/cancel; useful for one-ruler forms. */ singleSegment?: boolean; }; /** Keeps panorama modes, events and serialization, with shared V2 picking and quick measurement. */ export declare class PanoMeasureControllerV2 extends PanoMeasureController { private readonly edgeSnapOptions; private readonly quickMeasureEnabled; private readonly singleSegment; private mobileStyle?; private readonly mixedSavedPolylineIDs; private readonly magnifierOptions; private magnifierReady; constructor(five: Five, params?: PanoMeasurePluginV2Config); get pointSelector(): import("./PointSelector").PanoPointSelector; get lastEdgeSnapEdgeCount(): number; get edgeSnapEnabled(): boolean; setEdgeSnapEnabled(enabled: boolean): void; clear(): void; load(data: Parameters[0]): void; save(config?: Parameters[0]): this; removePolylineByID(id: string): void; removePolyline(polyline: Parameters[0]): void; dispose(): void; protected createControllerParams(): ControllerParams; protected createShortcutKeyController(): any; protected createMagnifier(five: Five, options: MagnifierParameter): PanoMagnifier; protected createModeController(params: ControllerParams, Controller: ModeControllerConstructor): WatchController | EditController | MixedController | import("../PanoMeasurePlugin/Controller/ViewController").default; }