/** How far past the quartiles a whisker may reach, in interquartile ranges, or to the extremes (`'min-max'`). */ export type WhiskerExtent = number | 'min-max'; /** Tukey's reach: a value more than one and a half interquartile ranges past the box is an outlier. */ export declare const DEFAULT_EXTENT = 1.5; export declare const isWhiskerExtent: (value: unknown) => value is WhiskerExtent; /** The five-number summary one box draws, with the extras it may show. A value past a whisker is an outlier. */ export interface BoxSummary { lowerWhisker: number; q1: number; median: number; q3: number; upperWhisker: number; count: number; mean: number; /** The median's rough 95% interval (McGill, Tukey and Larsen): two boxes whose notches miss differ in median. */ notchLower: number; notchUpper: number; } /** * Summarises one box's values: the quartiles by linear interpolation between order statistics (the method * R, NumPy and d3 default to), and Tukey whiskers that reach the furthest value inside `extent` interquartile * ranges of the box. `null` when there is nothing to summarise. */ export declare const summariseBox: (values: readonly number[], extent: WhiskerExtent) => BoxSummary | null;