import React from 'react'; import type { IGraphCommandService } from '../../command'; import type { IModelService } from '../../model-service'; import type { Node as X6Node, Edge as X6Edge } from '@antv/x6'; import type { NsGraph } from '../../interface'; export declare const AppContext: any; export declare const useAppContext: () => any; export declare function getNodeReactComponent(Component: React.ComponentType, commands: IGraphCommandService, modelService: IModelService): (x6Node: X6Node) => JSX.Element; export declare function getEdgeReactComponent(Component: React.ComponentType, commands: IGraphCommandService, modelService: IModelService): (x6Edge: X6Edge) => JSX.Element; /** 获取节点选中状态 */ export declare const useIsNodeSelected: () => any[];