import type { Syringe } from 'mana-syringe'; import type { IGraphCommand } from '../../command/interface'; import type { HookHub } from '@antv/xflow-hook'; import type { IHooks } from '../../hooks/interface'; import type { Simplify } from '../../common/types'; import { NsGraphMeta } from './graph-meta'; import { NsGraphSaveData } from './graph-save-data'; import { NsGraphLoadData } from './graph-load-data'; import { NsGraphLayout } from './graph-layout'; import { NsGraphRender } from './graph-render'; import { NsGraphResize } from './graph-resize'; import { NsGraphFullscreen } from './graph-fulllscreen'; import { NsGraphZoom } from './graph-zoom'; import { NsGraphCopySelection } from './graph-copy'; import { NsGraphPasteSelection } from './graph-paste'; import { NsGraphToggleMultiSelect } from './graph-toggle-multi-select'; import { NsGraphHistoryUndo } from './graph-history-undo'; import { NsGraphHistoryRedo } from './graph-history-redo'; import { NsGraphHistoryToggle } from './graph-history-toggle'; import { NsGraphHistoryReset } from './graph-history-reset'; import { NsGraphAddTool } from './graph-add-tool'; import { NsGraphDelTool } from './graph-del-tool'; import { NsRedoCmd } from './graph-cmd-redo'; import { NsUndoCmd } from './graph-cmd-undo'; /** 注册Command Handler Class */ export declare const registerGraphCommand: (register: Syringe.Register) => void; /** app onStart 时, 注册 Command Hooks */ export declare const hookhubList: { command: IGraphCommand; hookKey: string; createHook?: () => HookHub; }[]; /** Command hook类型*/ export interface ICmdHooks extends IHooks, NsGraphMeta.ICmdHooks, NsGraphLoadData.ICmdHooks, NsGraphSaveData.ICmdHooks, NsGraphLayout.ICmdHooks, NsGraphRender.ICmdHooks, NsGraphResize.ICmdHooks, NsGraphHistoryUndo.ICmdHooks, NsGraphHistoryRedo.ICmdHooks, NsGraphHistoryReset.ICmdHooks, NsGraphHistoryToggle.ICmdHooks, NsRedoCmd.ICmdHooks, NsUndoCmd.ICmdHooks, NsGraphZoom.ICmdHooks, NsGraphToggleMultiSelect.ICmdHooks, NsGraphCopySelection.ICmdHooks, NsGraphPasteSelection.ICmdHooks, NsGraphAddTool.ICmdHooks, NsGraphDelTool.ICmdHooks { } /** Command 参数类型*/ export declare namespace NsGraphCmd { namespace GraphMeta { type IArgs = Simplify; type IResult = Simplify; } namespace GraphLoadData { type IArgs = Simplify; type IResult = Simplify; } namespace SaveGraphData { type IArgs = Simplify; type IResult = Simplify; } namespace GraphRender { type IArgs = Simplify; type IResult = Simplify; } namespace GraphLayout { type IArgs = Simplify; type IResult = Simplify; } namespace GraphResize { type IArgs = Simplify; type IResult = Simplify; } namespace GraphHistoryRedo { type IArgs = Simplify; type IResult = Simplify; } namespace GraphHistoryUndo { type IArgs = Simplify; type IResult = Simplify; } namespace GraphHistoryReset { type IArgs = Simplify; type IResult = Simplify; } namespace GraphHistoryToggle { type IArgs = Simplify; type IResult = Simplify; } namespace UndoCmd { type IArgs = Simplify; type IResult = Simplify; } namespace RedoCmd { type IArgs = Simplify; type IResult = Simplify; } namespace GraphZoom { type IArgs = Simplify; type IResult = Simplify; } namespace GraphFullscreen { type IArgs = Simplify; type IResult = Simplify; } namespace GraphToggleMultiSelect { type IArgs = Simplify; type IResult = Simplify; } namespace GraphCopySelection { type IArgs = Simplify; type IResult = Simplify; } namespace GraphPasteSelection { type IArgs = Simplify; type IResult = Simplify; } namespace GraphAddTool { type IArgs = Simplify; type IResult = Simplify; } namespace GraphDelTool { type IArgs = Simplify; type IResult = Simplify; } }