import { IPublicTypeContextMenuAction, IPublicApiMaterial } from '@alilc/lowcode-types'; import { IDesigner, INode } from './designer'; import './context-menu-actions.scss'; export declare class GlobalContextMenuActions { enableContextMenu: boolean; dispose: Function[]; contextMenuActionsMap: Map; constructor(); handleContextMenu: (event: MouseEvent) => void; initEvent(): void; registerContextMenuActions(contextMenu: ContextMenuActions): void; } export declare class ContextMenuActions { actions: IPublicTypeContextMenuAction[]; designer: IDesigner; dispose: Function[]; enableContextMenu: boolean; id: string; constructor(designer: IDesigner); handleContextMenu: (nodes: INode[], event: MouseEvent) => void; initEvent(): void; addMenuAction: IPublicApiMaterial['addContextMenuOption']; removeMenuAction: IPublicApiMaterial['removeContextMenuOption']; adjustMenuLayout: IPublicApiMaterial['adjustContextMenuLayout']; } export interface IContextMenuActions extends ContextMenuActions { }