import type { ColumnDescriptor } from "../../../../visualizations/lib/graph/columns";
import type { RemappingHydratedDatasetColumn } from "../../../../visualizations/types";
export interface PieRow {
    key: string;
    name: string;
    originalName: string;
    color: string;
    defaultColor: boolean;
    enabled: boolean;
    hidden: boolean;
    isOther: boolean;
}
export interface PieColumnDescriptors {
    metricDesc: ColumnDescriptor;
    dimensionDesc: ColumnDescriptor;
    middleDimensionDesc?: ColumnDescriptor;
    outerDimensionDesc?: ColumnDescriptor;
}
export type SliceTreeNode = {
    key: string;
    name: string;
    value: number;
    rawValue: number;
    normalizedPercentage: number;
    visible: boolean;
    color: string;
    startAngle: number;
    endAngle: number;
    children: SliceTree;
    column?: RemappingHydratedDatasetColumn;
    rowIndex?: number;
    legendHoverIndex?: number;
    isOther?: boolean;
    noHover?: boolean;
    includeInLegend?: boolean;
};
export type SliceTree = Map<string, SliceTreeNode>;
export interface PieChartModel {
    sliceTree: SliceTree;
    total: number;
    numRings: number;
    colDescs: PieColumnDescriptors;
}
