import { INodeInstance, IEdgeInstance, IGraph, ITheme } from '../types'; export interface IGlobalState { graph?: IGraph; theme?: ITheme; graphId?: string; selectedNodes?: INodeInstance[]; selectedEdges?: IEdgeInstance[]; selectedItem?: INodeInstance | IEdgeInstance; formVisible?: boolean; bottomPanelVisible?: boolean; } export declare const GlobalProvider: ({ children, theme }: { children: any; theme?: ITheme; }) => JSX.Element; export declare const useGlobalContext: () => any;