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 NsFrontNode { const command: import("../../command/interface").IGraphCommand; const hookKey = "frontNode"; interface IArgs extends IArgsBase { nodeId: string; } interface IResult { } interface ICmdHooks extends IHooks { frontNode: HookHub; } } export declare class FrontNodeCommand implements ICommand { contextProvider: ICommand['contextProvider']; ctx: IContext; init(): void; execute: () => Promise; undo: () => Promise; redo: () => Promise; isUndoable(): boolean; } export {};