import type { Intersection, IntersectMeshInterface } from '@realsee/five'; import { Vector2 } from 'three'; import EditController from '../PanoMeasurePlugin/Controller/EditController'; import MixedController from '../PanoMeasurePlugin/Controller/MixedController'; import WatchController from '../PanoMeasurePlugin/Controller/WatchController'; import RangePieceController from '../PanoMeasurePlugin/Modules/rangePiece'; import type { ControllerParams } from '../PanoMeasurePlugin/Controller/BaseController'; import type { ResolvedEdgeSnapOptions } from '../MeasurePluginV2/edgeSnap'; import { PanoPointSelector } from './PointSelector'; import type { PointIntersection } from '../shared-utils/three/PointSelector'; export interface PanoControllerParamsV2 extends ControllerParams { edgeSnapOptions: ResolvedEdgeSnapOptions; quickMeasure?: boolean; singleSegment?: boolean; } export declare class PanoEditControllerV2 extends EditController { cancelDrawing(): void; private readonly updateLivePreview; private quickMeasure?; private readonly rightAngleLines; private shiftPressed; private readonly singleSegment; private readonly onAnchorChange; private readonly onShift; private readonly onBlur; private readonly selectRightAngle; constructor(params: PanoControllerParamsV2); dispose(): void; complete(): void; private hideRightAngle; private syncDrawing; protected disposeMagnifier(): void; get selector(): PanoPointSelector; protected createPointSelector(params: ControllerParams): PanoPointSelector; } declare class PanoRangePieceV2 extends RangePieceController { refresh(): void; readonly selector: PanoPointSelector; constructor(params: PanoControllerParamsV2); protected getIntersection(): Intersection & PointIntersection; protected updateMouseGroup(intersection: Intersection, mesh?: IntersectMeshInterface): import("three").Group; dispose(): void; } export declare class PanoMixedControllerV2 extends MixedController { refreshPoint(): void; constructor(params: PanoControllerParamsV2); get selector(): PanoPointSelector; protected createRangePieceController(params: ControllerParams): PanoRangePieceV2; } export declare class PanoWatchControllerV2 extends WatchController { protected get usePanEditing(): boolean; readonly selector: PanoPointSelector; private endpointGesture?; private endpointEdit?; private holdIndicator?; private readonly preventGesture; private readonly cancelEndpoint; constructor(params: PanoControllerParamsV2); private findEndpoint; private moveEndpoint; private updateEndpointLines; private distanceText; private finishEndpoint; protected resolveIntersection(intersection: Intersection, mouse: Vector2): Intersection; protected onPointEditEnd(): void; dispose(): void; } export {};