import { ChartSeries, ChartYConfig } from '../types'; import { NormalizedData } from './normalize'; /** A row's finite companion values for one series; fields share the series' unit. */ export declare function fieldValues(fields: Readonly> | undefined): number[]; export declare function computeYDomain(data: NormalizedData, series: readonly ChartSeries[], config?: ChartYConfig): readonly [number, number]; /** The smallest of 1, 2, 2.5, 5 × 10ⁿ at or above `value`. */ export declare function niceCeil(value: number): number; /** * A second value scale that shares the primary scale's gridlines: every secondary value is the * primary value times one factor, so zero and every tick line up, and the factor is chosen so * the secondary ticks land on round numbers. Returns null when the primary domain excludes zero * or the secondary values cannot fit on the same side of it. */ export declare function alignedSecondaryFactor(primary: readonly [number, number], primaryStep: number, values: readonly number[]): number | null;