import { VegaChartProps } from '../../component/types';
import { Config } from 'vega';
import { RenderMetadata } from '../../component/render-result-metadata';
import { BarChartPluginInstance } from './bar-chart-plugin';
/**
 * The slice of the bar chart plugin instance the spec generator reads,
 * narrowed so tests can construct a real, fully typed value.
 */
export type BarChartSpecInputs = Pick<BarChartPluginInstance, 'getMetadata' | 'field' | 'chartDisplay' | 'getTopNSeries' | 'syntheticSeriesField' | 'hasMultipleSeriesFields'>;
export declare function generateBarChartVegaSpecV2(metadata: RenderMetadata, plugin: BarChartSpecInputs, vegaConfig?: Config): VegaChartProps;
