export interface HeatmapCell { row: number; col: number; value: number; /** Optional custom tooltip label */ label?: string; } export type HeatmapPalette = 'brand' | 'green' | 'red' | 'blue' | 'orange' | 'purple' | 'diverging'; export type HeatmapSize = 'sm' | 'md' | 'lg'; export declare const HEATMAP_PALETTES: Record; interface HeatmapProps { data?: HeatmapCell[]; rows?: string[]; cols?: string[]; palette?: HeatmapPalette; colorLow?: string; colorMid?: string; colorHigh?: string; emptyColor?: string; /** Override scale domain */ domainMin?: number; domainMax?: number; size?: HeatmapSize; cellSize?: number; cellGap?: number; cellRadius?: number; interactive?: boolean; /** Show numeric value inside each cell */ showValues?: boolean; showLegend?: boolean; /** Rotate column labels for long headers */ rotateColLabels?: boolean; unit?: string; decimals?: number; legendLabel?: string; ariaLabel?: string; class?: string; onhover?: (cell: HeatmapCell | null) => void; onselect?: (cell: HeatmapCell) => void; } declare const Heatmap: import("svelte").Component; type Heatmap = ReturnType; export default Heatmap;