import type { Statistic, TestStatus } from "@allurereport/core-api";
import type { PieArcDatum } from "d3-shape";
export type TestResultSlice = {
    status: TestStatus;
    count: number;
};
export type TestResultChartData = {
    percentage: number;
    slices: TestResultSlice[];
};
export declare const d3Arc: import("d3-shape").Arc<any, PieArcDatum<TestResultSlice>>;
export declare const d3Pie: import("d3-shape").Pie<any, TestResultSlice>;
export declare const getPercentage: (value: number, total: number) => number;
export declare const getChartData: (stats: Statistic) => TestResultChartData;
