import { BaseChartProps, Formatter } from '../../types';
/**
 * Heatmap data structure
 */
export interface HeatmapData {
    /** 2D array of values (rows × columns) */
    data: number[][];
    /** Optional row labels (defaults to indices) */
    rowLabels?: string[];
    /** Optional column labels (defaults to indices) */
    columnLabels?: string[];
}
/**
 * Color scale configuration
 */
export type ColorScale = 'viridis' | 'plasma' | 'inferno' | 'magma' | 'blues' | 'oranges' | 'greens' | 'reds' | 'grays' | 'custom';
export interface HeatmapProps extends HeatmapData, Omit<BaseChartProps, 'legendFontSize'> {
    /** X-axis label */
    xLabel?: string;
    /** Y-axis label */
    yLabel?: string;
    /** Chart title */
    title?: string;
    /** Color scale to use */
    colorScale?: ColorScale;
    /** Custom color array (used when colorScale='custom') */
    customColors?: string[];
    /** Minimum value for color mapping (auto-calculated if not provided) */
    valueMin?: number;
    /** Maximum value for color mapping (auto-calculated if not provided) */
    valueMax?: number;
    /** Show value labels in cells */
    showValues?: boolean;
    /** Show color bar legend */
    showColorBar?: boolean;
    /** Cell border color */
    cellBorderColor?: string;
    /** Cell border width */
    cellBorderWidth?: number;
    /** Value formatter for cell labels */
    valueFormat?: Formatter;
    /** Custom overlays and children */
    children?: React.ReactNode;
    /** Callback when cell is clicked */
    onCellClick?: (row: number, col: number, value: number) => void;
    /** Callback when cell is hovered */
    onCellHover?: (row: number, col: number, value: number) => void;
}
