import { BaseType, Selection } from 'd3-selection'; import { HierarchyPointNode } from 'd3-hierarchy'; import 'd3-transition'; import { ChartOptions, TreeNode } from './api'; type SVGSelection = Selection; /** Number of colors in the color-by-generation palette. */ export declare const GENERATION_COLOR_COUNT = 12; /** * Returns the color-by-generation palette index for a generation. The palette * repeats, so distant generations keep cycling through the colors. */ export declare function generationColorIndex(generation: number): number; /** Renders individual and family node boxes using the configured Renderer. */ export declare class NodeRenderer { private readonly options; constructor(options: ChartOptions); renderNodes(nodes: Array>, svg: SVGSelection): Promise; } export {};