import * as d3 from 'd3'; import { Link, Node } from "../../d4"; import { Point } from "../../types"; export declare const renderNodeTitle: (g: d3.Selection, node: Node, options: { getNodeTitle: (node: Node) => string | Promise; } & Record) => d3.Selection; export declare const renderNode: (options: { getNodeV: (node: Node) => number; getNodeSize: (a: number) => number; getNodeColor: (node: Node) => string; getNodeTitle: (node: Node) => string; getNodeIcon: (node: Node) => string | Promise; setNodeStyle?: (a: Node) => any; } & Record) => any; export declare const getDirectLink: (source: Point, target: Point) => string; export declare const getPathD: (link: Link, options?: Record) => string | d3.Path; export declare const addLinkEffect: (link: Link, options: Record) => d3.Selection; export declare const renderLink: (options: { getLinkV: (a: Link) => number; getLinkSize: (a: number) => number; getLinkColor: (a: Link) => string; setLinkStyle?: (a: Link) => any; } & Record) => d3.Selection; export declare const startLinkAnimation: (link: Link) => void; export declare const stopLinkAnimation: (link: Link) => void; export declare const blurEle: (node: Node | Link) => void; export declare const normalizeEle: (node: Node | Link) => void; export declare const liftEle: (node: Node | Link) => void; export declare const enableDragNodes: (nodes: Node[]) => void; export declare const bindCustomMouseEvent: (node: Link | Node, event: string, handler: (e: MouseEvent, d: Link | Node) => any) => void; export declare const bindDefaultActions: (links: Link[], nodes: Node[]) => { normalizeAll: () => void; highlightNode: (node: Node) => void; highlightLink: (link: Link) => void; }; export declare const bindDefaultMouseEvent: (links: Link[], nodes: Node[], container: d3.Selection) => { normalizeAll: () => void; highlightNode: (node: Node) => void; highlightLink: (link: Link) => void; };