import { Edge, NodeHierarchyDataMap, NodeType } from '../../../../types/src/graph-view';
import { LocalizeController } from '../../../../utils/src/custom-element/i18n';

interface AppContextProps {
    activePopup: string;
    handleAddNode?: (params: Record<PropertyKey, unknown>) => void;
    handleCloseEdgeContextMenu?: (id: string) => void;
    handleHighlightNode?: (id: string) => void;
    handleOpenEdgeContextMenu?: (id: string) => void;
    handleSelectNode?: (params: Record<PropertyKey, unknown>) => void;
    handleUnHighlightNode?: (id?: string) => void;
    handleUnlink?: (link: Edge) => void;
    hierarchyData: NodeHierarchyDataMap;
    localize: LocalizeController;
    nodeTypes: Record<PropertyKey, NodeType> | null;
    readonly: boolean;
}
declare const AppContext: import('react').Context<AppContextProps>;
export declare const useAppContext: () => AppContextProps;
export default AppContext;
