import { SKGraphElement } from '@kieler/klighd-interactive/lib/constraint-classes';
import { IPopupModelProvider } from 'sprotty';
import { RequestPopupModelAction, SModelElement as SModelElementSchema, SModelRoot as SModelRootSchema } from 'sprotty-protocol';
/** Provide PopupModels created from SKGraphElements. */
export declare class PopupModelProvider implements IPopupModelProvider {
    getPopupModel(request: RequestPopupModelAction, elementSchema?: SModelElementSchema): SModelRootSchema | undefined;
    /**
     * Finds the tooltip defined in the SKGraphElement in its rendering with the given ID.
     * @param element The SKGraphElement to look in.
     * @param svgElement The SVG element representing the KRendering.
     */
    protected findTooltip(element: SKGraphElement, svgElement: SVGElement): string | undefined;
    /**
     * Escapes the given string to prevent XSS attacks and to let it appear correctly in HTML.
     * @param unsafe The string to escape.
     * @returns The escaped string.
     */
    private escapeHtml;
}
//# sourceMappingURL=popup-provider.d.ts.map