import { GeomStyleReaders, MainAxis, Observation, SceneLayer } from '@graphysdk/react'; import { Box, Outlier } from '../utils/read-boxplot'; import { BoxplotKeys } from './utils/boxplot-keys'; import { PanelSize } from './utils/panel-path'; /** * What one pass paints: every whisker below, every box above them under the overpaint, then each box's median * and mean, and the outliers on top. */ export interface BoxplotPaintProps { boxes: readonly Box[]; outliers: readonly Outlier[]; mainAxis: MainAxis; /** A notched box is a path, which has no percentage units, so it is drawn in the panel's pixels. */ panelSize: PanelSize; /** The layer the marks are drawn from, so a notched box's path redraws on a resize rather than morphing. */ source: SceneLayer; styleReaders: GeomStyleReaders; /** What identifies each mark across a data change, so a spring moves a mark rather than swapping it. */ keys: BoxplotKeys; /** The observation under the pointer: paints in the `hovered` state. */ hovered?: Observation; } export declare const BoxplotPaint: ({ boxes, outliers, mainAxis, panelSize, source, styleReaders, keys, hovered, }: BoxplotPaintProps) => import("react/jsx-runtime").JSX.Element;