import { Context } from 'react'; import type { GraphNodeId, ICoords } from '@adam-sv/arc'; export interface IGraphControlPlane { registerNodeControls: (id: NodeIdType, state: IGraphNodeState) => unknown; unregisterNodeControls: (id: NodeIdType) => unknown; nodeControlMap: Map; getNodeState: (id: NodeIdType) => { isSelected: boolean; }; } export interface IGraphNodeState { offset: ICoords; setOffset: React.Dispatch>; } export declare const GraphControlContext: Context | null>; export declare const GraphControlProvider: import("react").Provider | null>; export declare const useGraphControlPlane: () => IGraphControlPlane;