import { EdgeList, NodeList } from '@linkurious/ogma'; import { LkEdgeData, LkNodeData } from '@linkurious/rest-client'; import { LKOgma } from '../index'; import { OgmaStore } from './OgmaStore'; export interface OgmaState { selection: NodeList | EdgeList | undefined; items: { node: Array; edge: Array; }; changes: { entityType: 'node' | 'edge'; input: string | string[] | null; value: unknown; } | undefined; /** * Indicates whether the positions of nodes or edges are currently transitioning. */ animation: boolean; } export declare class RxViz { private _ogma; private _store; private _animationThrottle?; constructor(ogma: LKOgma); get store(): OgmaStore; /** * Listen to ogma events and update the state */ listenToSelectionEvents(): void; /** * Store new items in state */ private storeItems; /** * Store new node selection in state */ private storeNodeSelection; /** * store new edge selection in state */ private storeEdgeSelection; }