/// export interface IBossNode { id: string; labels: string[]; properties?: { [key: string]: any; }; } export interface IBossEdge { startNode: string; endNode: string; id: number | string; properties?: { [key: string]: any; }; type?: string; } export interface IData { nodes: IBossNode[]; edges: IBossEdge[]; } export interface IOption { container: HTMLDivElement | string; defaultMainNodeId: string; } declare class BossRelGraphClass { private data; private defaultMainNodeId; private options; private _graph?; private _cy?; constructor(data: IData, options: IOption); render(): void; handleNodes(nodes: Array, mainNodeId: string): ({ id: any; name: string; type: string; selected: { type: string; style: { 'outline-color': string; 'outline-width': number; 'outline-opacity': number; 'border-color'?: undefined; 'border-width'?: undefined; 'border-opacity'?: undefined; }; }; style: { width: number; height: number; 'background-color'?: undefined; }; props?: undefined; } | { id: any; name: any; type: string; style: { 'background-color': any; width?: undefined; height?: undefined; }; selected: { type: string; style: { 'border-color': any; 'border-width': number; 'border-opacity': number; 'outline-color': any; 'outline-width': number; 'outline-opacity': number; }; }; props: { label: any; }; })[]; handleEdges(edges: Array): { startNode: any; endNode: any; name: any; id: any; style: { 'line-color': any; 'target-arrow-color': any; }; }[]; getCy(): import("cytoscape").Core | undefined; destroy(): void; } export default BossRelGraphClass;