import cytoscape, { Core, Position } from 'cytoscape'; import { CytoscapeTree } from '../../../configs/types/Tree'; export type CytoscapeViewport = { zoom: number; pan: Position; }; type Props = { selector: string; tree: CytoscapeTree; stylesheet?: cytoscape.StylesheetCSS[]; dagre?: boolean; wheelSensitivity?: number; onReady?: (cy: Core) => void; autoungrabify?: boolean; fit?: boolean; viewport?: CytoscapeViewport; }; declare const SyntreesCytoscape: { init: ({ selector, tree, dagre, stylesheet, wheelSensitivity, onReady, autoungrabify, fit, viewport, }: Props) => Core; }; export default SyntreesCytoscape;