import type { DataSeries, FillRegion, InternalPoint, LegendItem, PointStyle } from '..'; import { type AxisRanges } from '../core/types'; export type { AxisRanges }; export declare function filter_series_to_ranges>(series: readonly DataSeries[], ranges: AxisRanges): (DataSeries & { filtered_data: InternalPoint[]; })[]; export type LegendFill = FillRegion & { idx: number; source_type: `fill_region` | `error_band`; source_idx: number; }; export type ScatterLegendItem = LegendItem & { has_explicit_label?: boolean; }; export declare function build_legend_data>(series: readonly DataSeries[], computed_fills: readonly LegendFill[], color_scale_fn: (value: number) => string): ScatterLegendItem[]; export declare function pick_tooltip_bg>(point: { color_value?: number | null; point_style?: PointStyle; }, series: DataSeries | undefined, color_scale_fn: (value: number) => string): string;