/**
 * Utilities for converting grid cell ranges to chart configurations
 */
import type { ChartConfig, GridCellRange, NormalizedRange, RangeToChartOptions } from './types';
/**
 * Normalize a grid cell range so that start is always top-left and end is bottom-right
 */
export declare function normalizeRange(range: GridCellRange): NormalizedRange;
/**
 * Get default colors for chart series
 * Using a vibrant, distinct color palette that works well for all chart types
 * Colors are chosen for maximum visual distinction, especially in pie charts
 */
export declare const DEFAULT_COLORS: string[];
/**
 * Build a chart configuration from a grid cell range
 *
 * @param options - Configuration options including range, data, and chart type
 * @returns ChartConfig ready to be rendered
 */
export declare function buildChartConfigFromRange(options: RangeToChartOptions): ChartConfig;
/**
 * Update an existing chart config with a new chart type
 */
export declare function updateChartType(config: ChartConfig, newType: ChartConfig['type']): ChartConfig;
/**
 * Update an existing chart config with a new theme
 */
export declare function updateChartTheme(config: ChartConfig, newTheme: 'light' | 'dark'): ChartConfig;
