import type { INode } from '../index'; declare const useAction: () => { clickNode: (node?: INode) => void; addNode: (_node: INode | string, _newNodeType?: string) => void; removeNode: (targetNode?: INode | INode[] | string | string[]) => void; addCustomNode: (node?: INode) => Promise; addNewNode: (_node: INode | string, _newNodeType?: string, nodeText?: string, className?: string, configElements?: any, iconUrl?: any, iconBgColor?: any, nodeDetails?: any) => void; }; export default useAction;