import type { HookHub } from '@antv/xflow-hook'; import type { IHooks } from '../../hooks/interface'; import type { IContext, IArgsBase } from '../../command/interface'; import { ICommandHandler } from '../../command/interface'; declare type ICommand = ICommandHandler; export declare namespace NsBackEdge { const command: import("../../command/interface").IGraphCommand; const hookKey = "frontEdge"; interface IArgs extends IArgsBase { edgeId: string; } interface IResult { } interface ICmdHooks extends IHooks { frontEdge: HookHub; } } export declare class BackEdgeCommand implements ICommand { contextProvider: ICommand['contextProvider']; ctx: IContext; init(): void; execute: () => Promise; undo: () => Promise; redo: () => Promise; isUndoable(): boolean; } export {};