/// <reference types="react" />
import { Graph, TreeGraph } from '@antv/g6';
export interface Base extends Graph {
    current?: Graph;
}
export default function useGraph(graphInstance: Graph | TreeGraph | undefined, config: any, container: React.MutableRefObject<null>): {
    graphHook: import("react").MutableRefObject<Base>;
};
