import type { Datum } from "./datumTypes";
import * as React from "react";
/**
 * Shared tooltip for distribution charts (BoxPlot, ViolinPlot, RidgelinePlot).
 *
 * Renders category name + summary statistics (n, min, Q1, median, Q3, max, mean).
 * Falls back to category-only display when stats are unavailable.
 */
export declare function buildStatsTooltip(options?: {
    /** If provided, computes fallback stats from raw data when d.stats is missing */
    valueAccessor?: string | ((d: Datum) => number);
}): (d: Datum) => React.ReactElement;
