import { type StyleProp, type ViewStyle } from "../../style/index.js"; import { type ChartSkin } from "../shared/types.js"; export interface BoxSample { /** Stable identity, used as the React key when present. */ id?: string | number; /** The category label under the box. */ label: string; /** Raw samples; the chart computes quartiles, whiskers, and outliers. */ values: number[]; } export interface BoxPlotProps { /** One box per category, in order. */ data: BoxSample[]; /** Optional heading shown above the plot. */ title?: string; success?: boolean; destructive?: boolean; compact?: boolean; hideGrid?: boolean; hideAxes?: boolean; /** Formats tick labels, the flag, and the accessible name. */ formatValue?: (v: number) => string; /** Scrub-to-inspect: the selected category index (controlled). Pass null for none. */ selected?: number | null; /** Scrub-to-inspect: the initially selected category (uncontrolled). */ defaultSelected?: number; /** Fired when a press/scrub selects a category (or clears it with null). */ onSelect?: (index: number | null) => void; /** E2E hook forwarded to the root element. */ testID?: string; /** Outer layout composition only (width/flex within a parent), never a restyle hook. */ style?: StyleProp; } /** Build a BoxPlot from a platform skin. */ export declare function createBoxPlot(skin: ChartSkin): (props: BoxPlotProps) => import("react").JSX.Element; //# sourceMappingURL=box-plot.shared.d.ts.map