/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import { mxUndoManager as typeMxUndoManager } from 'mxgraph'; import MyGraph from './graph'; declare const mxEventSource: typeof import("mxgraph").mxEventSource; export declare class Action { action: { [k: string]: ActionItem; }; graph: MyGraph; undoManager: typeMxUndoManager; constructor(graph: MyGraph); get(key: string): ActionItem; put(key: string, actionItem: ActionItem): void; init(): void; } export declare class ActionItem extends mxEventSource { func: (graph: MyGraph, params: any) => any; name: string; shortcutKey: string; enabled: boolean; constructor(func: (graph: MyGraph, params: any) => any, name: string, shortcutKey: string, enabled?: boolean); setEnabled(value: boolean): void; isEnabled(): boolean; } export {};