import type { D3SymbolName } from '../../labels'; import type { AxisRanges, DataSeries, FillRegion, InternalPoint, LegendItem, PointStyle } from '../core/types'; export type MaterializedSeries> = DataSeries & { points: InternalPoint[]; orig_series_idx: number; }; export declare function materialize_series_points>(series: readonly (DataSeries | null | undefined)[]): MaterializedSeries[]; export declare function filter_series_to_ranges>(materialized: readonly MaterializedSeries[], ranges: AxisRanges): (DataSeries & { filtered_data: InternalPoint[]; })[]; export type LegendFill = FillRegion & { idx: number; source_type: `fill_region` | `error_band`; source_idx: number; }; export declare const scatter_series_label: (data_series: DataSeries) => string | null; export declare function build_legend_data>(series: readonly DataSeries[], computed_fills: readonly LegendFill[], color_scale_fn: (value: number) => string, default_symbol?: D3SymbolName): LegendItem[]; export declare function pick_tooltip_bg>(point: { color_value?: number | null; point_style?: PointStyle; }, series: DataSeries | undefined, color_scale_fn: (value: number) => string): string;