import type * as d3 from "d3";
import type { StackedTooltipModel } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/visualizations/types";
export declare function getMaxLabelDimension(d3Arc: d3.Arc<unknown, d3.DefaultArcObject>, slice: d3.DefaultArcObject): number;
interface SliceData {
    key: string;
    value: number;
    displayValue: number;
    percentage: number;
    rowIndex: number;
    color: string;
}
export declare const getTooltipModel: (slices: SliceData[], hoveredIndex: number | null, dimensionColumnName: string, dimensionFormatter: (value: unknown) => string, metricFormatter: (value: unknown) => string, grandTotal?: number) => StackedTooltipModel;
export {};
