import type { HookHub } from '@antv/xflow-hook'; import type { IContext, IArgsBase } from '../../command/interface'; import { ICommandHandler } from '../../command/interface'; import type { IHooks } from '../../hooks/interface'; declare type ICommand = ICommandHandler; export declare namespace NsHighlightNode { const command: import("../../command/interface").IGraphCommand; const hookKey = "highlightNode"; interface IArgs extends IArgsBase { /** 节点唯一id */ nodeId: string; /** 节点高亮边框颜色 */ stroke: string; /** 节点高亮边框宽度 */ strokeWidth?: number; /** 是否联动高亮节点的关联边 */ isHighlightRelatedLines?: boolean; /** 边高亮颜色 */ edgeStroke?: string; /** 边高亮宽度 */ edgeStrokeWidth?: number; } interface IResult { err: string | null; } interface ICmdHooks extends IHooks { highlightNode: HookHub; } } export declare class HighlightNodeCommand implements ICommand { contextProvider: ICommand['contextProvider']; ctx: IContext; init(): void; execute: () => Promise; undo: () => Promise; redo: () => Promise; isUndoable(): boolean; } export {};