import { HierarchyRectangularNode } from 'd3-hierarchy'; export type NestedDonutSegmentDatum = { key: string; root: string; values: Datum[]; }; export type NestedDonutSegment = HierarchyRectangularNode> & { _id: string; _layer: NestedDonutLayer; _index?: number; _state?: { fill?: string; fillOpacity?: number | null; }; }; export type NestedDonutArcAnimState = { x0: number; x1: number; y0: number; y1: number; }; export declare enum NestedDonutDirection { Inwards = "inwards", Outwards = "outwards" } export declare enum NestedDonutSegmentLabelAlignment { Along = "along", Perpendicular = "perpendicular", Straight = "straight" } export type NestedDonutLayerSettings = { backgroundColor?: string; labelAlignment?: NestedDonutSegmentLabelAlignment; width?: number | string; }; export type NestedDonutLayer = NestedDonutLayerSettings & { _id: number; _innerRadius: number; _outerRadius: number; };