import React from 'react'; import { type GraphSchema } from '../../../'; interface INeighborQueryProps { } export interface INeighborQueryData { id: 'queryNeighborData'; query: (params: { /** 每个menu item 点击的回调值 */ key: string; /** 当前选择的一批节点id */ selectIds: string[]; }) => Promise; } export interface INeighborQueryItems { id: 'queryNeighborItems'; query: (params: { schema: GraphSchema; }) => Promise>; } declare const NeighborNeighbor: React.FunctionComponent; export default NeighborNeighbor;