import type { Cell } from '@antv/x6'; import { HookHub, IArgsBase, ICommandHandler, IHooks } from '@antv/xflow'; type ICommand = ICommandHandler; export declare namespace NsGraphCutSelection { /** command : register name facotry */ const command: import("@antv/xflow").IGraphCommand; /** hookName*/ const hookKey = "graphCutSelection"; /** hook parameter type */ type IArgs = IArgsBase; /** hook handler return data type */ interface IResult { err: null | string; } /**hook type */ interface ICmdHooks extends IHooks { graphCopySelection: HookHub; } } export declare class GraphCutSelectionCommand implements ICommand { contextProvider: ICommand['contextProvider']; parseCells: (cells: Cell[]) => { nodes: import("@antv/xflow-core").NsGraph.INodeConfig[]; edges: import("@antv/xflow-core").NsGraph.IEdgeConfig[]; }; execute: () => Promise; /** undo cmd */ undo: () => Promise; /** redo cmd */ redo: () => Promise; isUndoable(): boolean; } export {};