import { Scale } from 'vega'; import { NestField } from '../../data_tree'; export declare const MEASURE_SERIES_LABEL_SCALE = "measureSeriesLabel"; /** * Maps the measure-series legend's domain (raw measure field names) to each * field's `# label`. Labels live in scale data so they render verbatim: an * explicit `# label=""` deliberately shows a blank legend entry, the same * way it hides an axis title. Domain and range dedupe in lockstep because * d3 dedupes an ordinal scale's domain but not its range; a repeated y * measure would otherwise shift later labels onto the wrong measure. */ export declare function getMeasureSeriesLabelScale(explore: NestField, yFieldPaths: string[]): Scale;