/** * @license * Copyright 2024 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import { nothing, TemplateResult } from 'lit'; import { ContextMenuState } from '../interfaces/index.js'; /** * Data required for rendering the context menu */ export interface ContextMenuTemplateData { contextMenu: ContextMenuState | null; readonly?: boolean; hasSelection?: boolean; onClose: () => void; onAddNode: () => void; onSelectAll: () => void; onResetView: () => void; onConfigure: () => void; onDuplicate: () => void; onDelete: () => void; onCopy?: () => void; onCut?: () => void; onPaste?: () => void; } /** * Render the context menu */ export declare function renderContextMenuTemplate(data: ContextMenuTemplateData): TemplateResult | typeof nothing; //# sourceMappingURL=context-menu.template.d.ts.map