import { Chart, ChartInfo, ChartOptions, Fam, Indi, TreeNode } from './api'; import { ChartUtil } from './chart-util'; import { HierarchyNode } from 'd3-hierarchy'; export declare function getAncestorsTree(options: ChartOptions): HierarchyNode; /** Renders an ancestors chart. */ export declare class AncestorChart implements Chart { readonly options: ChartOptions; readonly util: ChartUtil; constructor(options: ChartOptions); /** Creates a d3 hierarchy from the input data. */ createHierarchy(): HierarchyNode; /** * Renders the tree, calling the provided renderer to draw boxes for * individuals. */ render(): ChartInfo; }