/****************************************************************************** * Copyright 2023 TypeFox GmbH * This program and the accompanying materials are made available under the * terms of the MIT License, which is available in the project root. ******************************************************************************/ import type { DiagramState, SModelElement, SModelRoot } from 'sprotty-protocol'; import type { LangiumSprottyServices } from './sprotty-services.js'; import { RequestPopupModelAction } from 'sprotty-protocol'; /** * Adds a handler for RequestPopupModelAction requests and configures a default response for diagnostic markers. * A custom popup model can be created by providing a function as second parameter. */ export declare function addHoverPopupHandler(services: LangiumSprottyServices, customPopupModel?: (element: SModelElement, request: RequestPopupModelAction, state: DiagramState) => SModelRoot | undefined): void; //# sourceMappingURL=hover-popup.d.ts.map