import { IEdge, IEdgeBase } from '../models/edge'; import { IGraph } from '../models/graph'; import { INode, INodeBase } from '../models/node'; import { IFitZoomTransformOptions } from '../renderer/shared'; import { ILayoutSettings } from '../simulator'; export interface ISelectionOptions { cascade?: boolean; } export declare const selectNode: (node: INode, options?: ISelectionOptions) => void; export declare const selectEdge: (edge: IEdge, options?: ISelectionOptions) => void; export declare const unselectNode: (node: INode, options?: ISelectionOptions) => void; export declare const unselectEdge: (edge: IEdge, options?: ISelectionOptions) => void; export declare const selectOnlyNode: (graph: IGraph, node: INode, options?: ISelectionOptions) => void; export declare const selectNodes: (nodes: INode[], options?: ISelectionOptions) => { changedCount: number; }; export declare const unselectNodes: (nodes: INode[], options?: ISelectionOptions) => { changedCount: number; }; export declare const selectEdges: (edges: IEdge[], options?: ISelectionOptions) => { changedCount: number; }; export declare const unselectEdges: (edges: IEdge[], options?: ISelectionOptions) => { changedCount: number; }; export declare const selectOnlyEdge: (graph: IGraph, edge: IEdge, options?: ISelectionOptions) => void; export declare const toggleNodeSelection: (node: INode) => void; export declare const toggleEdgeSelection: (edge: IEdge) => void; export declare const unselectAll: (graph: IGraph) => { changedCount: number; }; export declare const hoverNode: (node: INode) => void; export declare const hoverOnlyNode: (graph: IGraph, node: INode) => void; export declare const hoverEdge: (edge: IEdge) => void; export declare const hoverOnlyEdge: (graph: IGraph, edge: IEdge) => void; export declare const unhoverAll: (graph: IGraph) => { changedCount: number; }; export interface ISetShapeStateOptions { isStateOverride: boolean; } export declare const setNodeState: (node: INode, state: number, options?: ISetShapeStateOptions) => void; export declare const setEdgeState: (edge: IEdge, state: number, options?: ISetShapeStateOptions) => void; export declare const isStateChangeable: (graphObject: INode | IEdge, options?: ISetShapeStateOptions) => boolean; export declare const getLayoutAnchors: (layout: ILayoutSettings) => IFitZoomTransformOptions;