import { type FilteringState } from './extensions/FilteringExtension.js'; import { type InlineView, type PolarView, type CanonicalView } from './extensions/CameraController.js'; import type { Query, QueryArgsResultMap, QueryResult } from './queries/Query.js'; import { type SpeckleView, type SunLightConfiguration, type ViewerParams } from '../IViewer.js'; import { Viewer } from './Viewer.js'; import { WorldTree } from './tree/WorldTree.js'; import { type DiffResult, VisualDiffMode } from './extensions/DiffExtension.js'; import { type PropertyInfo } from './filtering/PropertyManager.js'; import { BatchObject } from './batching/BatchObject.js'; import { SpeckleViewer } from '@speckle/shared'; import { MeasurementOptions } from '@speckle/shared/viewer/state'; export declare class LegacyViewer extends Viewer { private cameraController; private selection; private sections; private measurements; private filtering; private explodeExtension; private diffExtension; private highlightExtension; constructor(container: HTMLElement, params?: ViewerParams); init(): Promise; getRenderer(): import("./SpeckleRenderer.js").default; /** SECTION BOX */ setSectionBox(boxData?: SpeckleViewer.ViewerState.SectionBoxData, offset?: number): void; getCurrentSectionBox(): SpeckleViewer.ViewerState.SectionBoxData; toggleSectionBox(): void; sectionBoxOff(): void; sectionBoxOn(): void; /** FILTERING */ selectObjects(objectIds: string[]): Promise; resetSelection(): Promise; hideObjects(objectIds: string[], stateKey?: string | undefined, includeDescendants?: boolean, ghost?: boolean): Promise; showObjects(objectIds: string[], stateKey?: string | undefined, includeDescendants?: boolean): Promise; isolateObjects(objectIds: string[], stateKey?: string | undefined, includeDescendants?: boolean, ghost?: boolean): Promise; unIsolateObjects(objectIds: string[], stateKey?: string | undefined, includeDescendants?: boolean): Promise; highlightObjects(objectIds: string[]): Promise; resetHighlight(): Promise; setColorFilter(property: PropertyInfo, ghost?: boolean): Promise; removeColorFilter(): Promise; setUserObjectColors(groups: { objectIds: string[]; color: string; }[]): Promise; resetFilters(): Promise; private preserveSelectionHighlightFilter; /** TREE */ getDataTree(): void; getWorldTree(): WorldTree; /** QUERIES */ query(query: T): QueryArgsResultMap[T['operation']]; queryAsync(query: Query): Promise | null; /** CAMERA */ zoom(objectIds?: string[], fit?: number, transition?: boolean): void; setOrthoCameraOn(): void; setPerspectiveCameraOn(): void; toggleCameraProjection(): void; setLightConfiguration(config: SunLightConfiguration): void; getViews(): SpeckleView[]; setView(view: CanonicalView | SpeckleView | InlineView | PolarView, transition?: boolean): void; /** MISC */ screenshot(): Promise; explode(time: number): void; getObjects(id: string): BatchObject[]; /** * OBJECT LOADING/UNLOADING */ loadObjectAsync(url: string, token?: string | undefined, enableCaching?: boolean, zoomToObject?: boolean): Promise; diff(urlA: string, urlB: string, mode: VisualDiffMode, authToken?: string): Promise; undiff(): Promise; setDiffTime(_diffResult: DiffResult, time: number): void; setVisualDiffMode(_diffResult: DiffResult, mode: VisualDiffMode): void; enableMeasurements(value: boolean): void; setMeasurementOptions(options: MeasurementOptions): void; removeMeasurement(): void; dispose(): void; }