import { BaseType, Selection } from 'd3-selection'; import { HierarchyPointNode } from 'd3-hierarchy'; import 'd3-transition'; import { ChartOptions, Renderer, TreeNode } from './api'; type SVGSelection = Selection; /** Assigns an identifier to a link. */ export declare function linkId(node: HierarchyPointNode): string; /** Creates a path from parent to the child node (horizontal layout). */ export declare function linkHorizontal(s: HierarchyPointNode, d: HierarchyPointNode, renderer: Renderer): string; /** Creates a path from parent to the child node (vertical layout). */ export declare function linkVertical(s: HierarchyPointNode, d: HierarchyPointNode, renderer: Renderer, vSpacing?: number): string; /** Creates a path for an additional marriage. */ export declare function linkAdditionalMarriage(node: HierarchyPointNode, renderer: Renderer): string; /** Renders connecting link paths between nodes. */ export declare class LinkRenderer { private readonly options; constructor(options: ChartOptions); /** CSS classes of a link, including the child's parent-link confidence. */ private linkClass; renderLinks(nodes: Array>, svg: SVGSelection): Promise; } export {};