import { ChartSeriesMarkerType } from '../internal/components/chart-series-marker'; import { ChartDataTypes, InternalChartSeries, MixedLineBarChartProps, ScaleType } from './interfaces'; import { ScaledBarGroup } from './make-scaled-bar-groups'; export declare const chartLegendMap: Record; export declare function computeDomainX(series: readonly InternalChartSeries[], xScaleType: ScaleType): T[]; export declare function computeDomainY(series: readonly InternalChartSeries[], scaleType: 'linear' | 'log', stackedBars: boolean): number[]; export declare const nextValidDomainIndex: (nextGroupIndex: number, barGroups: ScaledBarGroup[], direction?: number) => number; /** * Find the subset of series that are individually navigable with keyboard. * Lines and thresholds are navigated individually, while bar series are grouped as one. */ export declare function findNavigableSeries(series: ReadonlyArray>): { navigableSeries: MixedLineBarChartProps.ChartSeries[]; navigableBarSeriesIndex: number; }; /** * Checks if two x values are equal. * With a special treat for Date values which need to be converted to numbers first. */ export declare const matchesX: (x1: T, x2: T) => boolean; export declare type OffsetMap = Record; export interface StackedOffsets { positiveOffsets: OffsetMap; negativeOffsets: OffsetMap; } /** * Calculates list of offset maps from all data by accumulating each value */ export declare function calculateOffsetMaps(data: Array[]>): StackedOffsets[]; /** * Returns string or number value for ChartDataTypes key */ export declare const getKeyValue: (key: ChartDataTypes) => string | number; //# sourceMappingURL=utils.d.ts.map