/**
 * Derives pivot configuration from a saved chart's configuration and metric query
 * This enables consistent pivoting across all chart types
 */
import { type ItemsMap } from '../types/field';
import type { MetricQuery } from '../types/metricQuery';
import type { PivotConfiguration } from '../types/pivot';
import { type SavedChartDAO } from '../types/savedCharts';
export declare function derivePivotConfigurationFromChart(savedChart: Pick<SavedChartDAO, 'chartConfig' | 'pivotConfig'>, metricQuery: MetricQuery, fields: ItemsMap): PivotConfiguration | undefined;
//# sourceMappingURL=derivePivotConfigFromChart.d.ts.map