import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export interface HeatmapCell {
    x: string | number;
    y: string | number;
    value: number;
    /** Optional per-cell color override (wins over the colorScale). */
    color?: string;
    /** Per-cell tooltip override. */
    label?: ReactNode;
}
export interface HeatmapProps extends Omit<ComponentPropsWithoutRef<"div">, "title" | "onChange"> {
    data: HeatmapCell[];
    /** Explicit column order. Inferred from data when omitted. */
    xLabels?: (string | number)[];
    /** Explicit row order. Inferred from data when omitted. */
    yLabels?: (string | number)[];
    /**
     * N color stops from low → high. Cell value is bucketed across
     * [domainMin, domainMax] to pick a stop. Default = accent ramp.
     */
    colorScale?: string[];
    /** Lower bound of value domain. Default = data min. */
    domainMin?: number;
    /** Upper bound of value domain. Default = data max. */
    domainMax?: number;
    /** Render the value text inside each cell. Default false. */
    showValues?: boolean;
    /** Format the value for tooltip + in-cell display. */
    formatValue?: (value: number) => string;
    /** Format x / y axis labels. Default `String`. */
    formatX?: (x: string | number) => string;
    formatY?: (y: string | number) => string;
    /** Fixed cell width / height in px. Default 28×28. */
    cellSize?: number;
    /** Gap between cells in px. Default 2. */
    cellGap?: number;
    /** Cell corner radius (CSS value). Default `var(--ods-radius-1)`. */
    cellRadius?: string;
    title?: ReactNode;
    /** Big number rendered on the right of the header. */
    total?: ReactNode;
    /** Show a horizontal color-scale legend below the grid. Default true. */
    showLegend?: boolean;
    /** Optional legend caption. */
    legendCaption?: ReactNode;
    /** Suppress the mount fade-in animation. */
    disableAnimation?: boolean;
    /** Accessible label — auto-generated when omitted. */
    "aria-label"?: string;
    onCellHover?: (cell: HeatmapCell | null) => void;
    onCellClick?: (cell: HeatmapCell) => void;
}
export declare const Heatmap: import("react").ForwardRefExoticComponent<HeatmapProps & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Heatmap.d.ts.map