/** * Copyright (c) 2025-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import type { ClassView } from '../graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_ClassView.js'; import { type DiagramAnalysisResult, type DiagramRenderer } from './DiagramRenderer.js'; import type { CommandRegistrar } from '@finos/legend-application'; import type { Class } from '@finos/legend-graph'; export declare abstract class DiagramViewerState implements CommandRegistrar { readonly diagrams: DiagramAnalysisResult[]; readonly queryClass?: ((_class: Class) => void) | undefined; _renderer?: DiagramRenderer | undefined; currentDiagram?: DiagramAnalysisResult | undefined; contextMenuClassView?: ClassView | undefined; showDescription: boolean; expandDescription: boolean; abstract registerCommands(): void; abstract deregisterCommands(): void; constructor(diagrams: DiagramAnalysisResult[], queryClass?: (_class: Class) => void); get diagramRenderer(): DiagramRenderer; get isDiagramRendererInitialized(): boolean; get diagramCursorClass(): string; get previousDiagram(): DiagramAnalysisResult | undefined; get nextDiagram(): DiagramAnalysisResult | undefined; get currentDiagramIndex(): number; setDiagramRenderer(val: DiagramRenderer): void; setCurrentDiagram(val: DiagramAnalysisResult): void; setContextMenuClassView(val: ClassView | undefined): void; setupDiagramRenderer(): void; setShowDescription(val: boolean): void; setExpandDescription(val: boolean): void; } //# sourceMappingURL=DiagramViewerState.d.ts.map