/** * Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal * @author Alexander Rose */ import { Structure } from '../../../mol-model/structure.js'; import { PluginContext } from '../../../mol-plugin/context.js'; import { TrajectoryHierarchyPresetProvider } from '../../builder/structure/hierarchy-preset.js'; import { PluginComponent } from '../../component.js'; import { StructureHierarchyRef, ModelRef, StructureComponentRef, StructureHierarchy, StructureRef, TrajectoryRef } from './hierarchy-state.js'; export declare class StructureHierarchyManager extends PluginComponent { private plugin; private state; readonly behaviors: { selection: import("rxjs").BehaviorSubject<{ hierarchy: StructureHierarchy; trajectories: readonly TrajectoryRef[]; models: readonly ModelRef[]; structures: readonly StructureRef[]; }>; }; private get dataState(); private _currentComponentGroups; get currentComponentGroups(): StructureComponentRef[][]; private _currentSelectionSet; get seletionSet(): Set; get current(): StructureHierarchy; get selection(): { trajectories: ReadonlyArray; models: ReadonlyArray; structures: ReadonlyArray; }; getStructuresWithSelection(): StructureRef[]; findStructure(structure: Structure | undefined): StructureRef | undefined; private syncCurrent; private sync; updateCurrent(refs: StructureHierarchyRef[], action: 'add' | 'remove'): void; remove(refs: (StructureHierarchyRef | string)[], canUndo?: boolean): Promise | undefined; toggleVisibility(refs: ReadonlyArray, action?: 'show' | 'hide'): void; applyPreset

(trajectories: ReadonlyArray, provider: TrajectoryHierarchyPresetProvider, params?: P): Promise; updateStructure(s: StructureRef, params: any): Promise; private clearTrajectory; constructor(plugin: PluginContext); } export declare namespace StructureHierarchyManager { function getComponentGroups(structures: ReadonlyArray): StructureComponentRef[][]; function getSelectedStructuresDescription(plugin: PluginContext): string; }