import { NodeType } from './types'; export declare const TreeTypes: { Circular: string; Diagonal: string; Hierarchical: string; Radial: string; Rectangular: string; }; export declare const Shapes: { Chevron: string; ChevronInverted: string; ChevronLeft: string; ChevronRight: string; Circle: string; Cross: string; Diamond: string; Dot: string; DoubleChevron: string; DoubleChevronInverted: string; DoubleChevronLeft: string; DoubleChevronRight: string; Heptagon: string; HeptagonInverted: string; Heptagram: string; HeptagramInverted: string; Hexagon: string; Hexagram: string; Octagon: string; Octagram: string; Pentagon: string; PentagonInverted: string; Pentagram: string; PentagramInverted: string; Plus: string; Square: string; Star: string; StarInverted: string; Tetragram: string; Triangle: string; TriangleInverted: string; TriangleLeft: string; TriangleRight: string; Wye: string; WyeInverted: string; }; /** Represents a single tree node */ export type PhylocanvasTreeNode = NodeType & { branchLength: number; children: PhylocanvasTreeNode[]; parent?: PhylocanvasTreeNode; id: string; isCollapsed: boolean; isHidden: boolean; isLeaf: boolean; name?: string; postIndex: number; preIndex: number; totalLeaves: number; totalNodes: number; totalSubtreeLength: number; visibleLeaves: number; }; /** Default name for root node to use for newick strings with no name root */ export declare const NO_NAME_ROOT = "[root]"; /** Based on phylocanvas.gl */ export declare function parseNewick(s: string): NodeType; //# sourceMappingURL=phylocanvas.d.ts.map