import type { ReactNode } from 'react'; import type { ChartBaseProps } from './chartExtra.js'; export interface HeatmapProps = Record> extends ChartBaseProps { data: D[]; /** `matrix` = x by y grid; `calendar` = GitHub-style day grid. Default `matrix`. */ variant?: 'matrix' | 'calendar'; /** Matrix: key for the column category. Default `'x'`. */ xKey?: string; /** Matrix: key for the row category. Default `'y'`. */ yKey?: string; /** Key for the cell value. Default `'value'`. */ valueKey?: string; /** Calendar: key holding a `yyyy-MM-dd` date. Default `'date'`. */ dateKey?: string; /** Calendar: number of weeks shown, ending at `endDate`. Default `26`. */ weeks?: number; /** Calendar: last day shown (`yyyy-MM-dd`). Defaults to the latest date in `data`. */ endDate?: string; /** Matrix: explicit category order. */ xOrder?: string[]; yOrder?: string[]; /** Colors from lowest to highest value. Default: 5 steps of the primary token. */ colorScale?: string[]; /** Cell size in px. Default: up to 28 (matrix) / 13 (calendar), shrunk to fit the container (min 5). */ cellSize?: number; /** Print the value inside matrix cells. */ showValues?: boolean; /** Show the low-to-high legend. Default `true`. */ legend?: boolean; valueFormatter?: (value: number) => string; renderTooltip?: (params: { title: string; value: number | null; }) => ReactNode; } /** Matrix or calendar heatmap with a configurable color scale. */ export declare function Heatmap>({ data: dataProp, variant, xKey, yKey, valueKey, dateKey, weeks: weeksProp, endDate, xOrder, yOrder, colorScale: colorProp, cellSize, showValues, legend, valueFormatter, renderTooltip, label, animate, loading, empty, className, style, sx, }: HeatmapProps): import("react/jsx-runtime").JSX.Element;