import type { Datum } from "../shared/datumTypes";
import * as React from "react";
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
import type { LegendInteractionMode, LegendPosition } from "../shared/hooks";
import type { BaseChartProps, ChartAccessor, CategoryFormatFn } from "../shared/types";
import { type TooltipProp } from "../../Tooltip/Tooltip";
import type { RealtimeFrameHandle } from "../../realtime/types";
export interface BoxPlotProps<TDatum extends Datum = Datum> extends BaseChartProps {
    data?: TDatum[];
    categoryAccessor?: ChartAccessor<TDatum, string>;
    valueAccessor?: ChartAccessor<TDatum, number>;
    orientation?: "vertical" | "horizontal";
    categoryLabel?: string;
    valueLabel?: string;
    valueFormat?: (d: number | string) => string;
    colorBy?: ChartAccessor<TDatum, string>;
    colorScheme?: string | string[];
    showOutliers?: boolean;
    outlierRadius?: number;
    categoryPadding?: number;
    enableHover?: boolean;
    showGrid?: boolean;
    showCategoryTicks?: boolean;
    showLegend?: boolean;
    legendInteraction?: LegendInteractionMode;
    legendPosition?: LegendPosition;
    tooltip?: TooltipProp;
    annotations?: Datum[];
    /** Custom formatter for category tick labels */
    categoryFormat?: CategoryFormatFn;
    /** Fixed value-axis domain `[min, max]`. Either bound may be `undefined` to leave that side data-derived. */
    valueExtent?: [number | undefined, number | undefined] | [number];
    frameProps?: Partial<Omit<StreamOrdinalFrameProps, "data" | "size">>;
}
/**
 * BoxPlot - Five-number summary (min, Q1, median, Q3, max) per category.
 *
 * Each category gets a box from Q1 to Q3 with a median line, whiskers to
 * the min/max within 1.5×IQR, and individual outlier dots beyond that
 * range. Use {@link ViolinPlot} for full distribution shape or
 * {@link RidgelinePlot} for stacked overlapping densities.
 *
 * @example
 * ```tsx
 * // Distribution of test scores per class
 * <BoxPlot
 *   data={observations}
 *   categoryAccessor="class"
 *   valueAccessor="score"
 *   showOutliers
 * />
 * ```
 *
 * @example
 * ```tsx
 * // Hide outliers and color the boxes
 * <BoxPlot
 *   data={observations}
 *   categoryAccessor="region"
 *   valueAccessor="latency_ms"
 *   colorBy="region"
 *   showOutliers={false}
 * />
 * ```
 */
export declare const BoxPlot: {
    <TDatum extends Datum = Datum>(props: BoxPlotProps<TDatum> & React.RefAttributes<RealtimeFrameHandle>): React.ReactElement | null;
    displayName?: string;
};
