import type { ReactElement } from 'react';
/**
 * Resolver for the human-readable label and a numeric summary displayed in
 * the centre of the donut for the currently-hovered slice. Callers control
 * how their domain payload maps to a label and value.
 */
export interface ActiveShapeLabels {
    /** Returns the label rendered at the centre top of the donut. */
    readonly getLabel: (payload: Record<string, unknown>) => string;
    /** Returns the secondary line under the label (e.g. "1 234 accès"). */
    readonly getValueText: (value: number, payload: Record<string, unknown>) => string;
}
/**
 * Returns a Recharts `<Pie activeShape={...}>` renderer that draws:
 *  - the active slice
 *  - a thin outer ring buffer in the same colour
 *  - a leader line + dot pointing to the slice percentage
 *  - the slice label and value at the centre of the donut
 *
 * The renderer is colour-token aware: stroke and ring use the slice's own
 * `fill`, while textual elements use `--text-primary` / `--text-secondary`
 * so they follow the active theme automatically.
 *
 * Factorised from previously duplicated copies in
 * `ApplicationActivityPieChart`, `TenantActivityPieChart`, `HierarchyDrillDownChart`.
 */
export declare function createActiveShapeRenderer(labels: ActiveShapeLabels): (props: unknown) => ReactElement;
//# sourceMappingURL=renderActiveShape.d.ts.map