import type { DoubleArray } from 'cheminfo-types'; import type { NormalizedData } from '../spectra/getBoxPlotData.js'; export interface AnnotationPosition { x: number | string; y: number | string; } export interface Annotation { type: string; layer?: number; properties?: { fillColor?: string; fillOpacity?: number; strokeWidth?: number; strokeColor?: string; position?: AnnotationPosition[]; }; } export interface ColorSpectrum { type: string; data: { x: DoubleArray; y: Float64Array; color: string[]; }; styles: { unselected: { lineWidth: number; lineStyle: number; }; selected: { lineWidth: number; lineStyle: number; }; }; annotations: Annotation[]; } export interface GetBoxPlotChartOptions { /** * Fill color for Q1-Q3 region * @default '#000' */ q13FillColor?: string; /** * Fill opacity for Q1-Q3 region * @default 0.3 */ q13FillOpacity?: number; /** * Stroke color for median line (empty string uses color gradient) * @default '' */ medianStrokeColor?: string; /** * Stroke width for median line * @default 3 */ medianStrokeWidth?: number; /** * Fill color for min-max region * @default '#000' */ minMaxFillColor?: string; /** * Fill opacity for min-max region * @default 0.15 */ minMaxFillOpacity?: number; } /** * Get box plot chart from normalized data * @param normalizedData - Normalized data with x and matrix * @param options - Chart styling options * @returns Color spectrum chart object */ export declare function getBoxPlotChart(normalizedData: NormalizedData, options?: GetBoxPlotChartOptions): ColorSpectrum; //# sourceMappingURL=getBoxPlotChart.d.ts.map