/** * With two value axes on a chart the question is which series is read off * which one. An axis answers it with `keys`: the value fields (or series ids) * it carries. Everything unclaimed goes to the first axis that asked for * nothing in particular — so a single-axis chart never notices any of this. */ /** What the binding needs to know about a series. */ export interface BindableSeries { readonly id: string; axisKeys?(): string[]; } /** What it needs to know about a value axis. */ export interface BindableAxis { readonly keys?: readonly string[]; } /** * Maps series id → the value axis it is drawn against. Axes are matched in * declaration order; a series matching none of the `keys` falls back to the * first axis without keys, and failing that to the first axis at all. */ export declare function bindSeriesToValueAxes(series: S[], axes: A[]): Map;