import type { ILegendOption } from "../index"; import cytoscape from 'cytoscape'; declare class LegendClass { private cy; private option; private hasHidedCategory; private shouldHideElesByCategory; currentId?: string | number; legendContainer?: HTMLElement; constructor(options: ILegendOption); init(): void; renderUI(): void; hideNodes(cy: cytoscape.Core, type: string, shouldHideEles: { nodes: string[]; edges: string[]; }): void; showNodes(cy: cytoscape.Core, type: string, shouldHideElesByCategory: { [key: string]: { nodes: string[]; edges: string[]; }; }): void; } export default LegendClass;