import { type HeatmapScale } from './heatmap-scale'; import { type HeatmapPalette } from './heatmap-variants'; export interface HeatmapLegendProps { /** * `stepped` separates the ten steps; `continuous` joins them in a bar. * A quantile or threshold scale always shows its bands, one swatch per * step it uses, with the cut points between them. */ variant?: 'stepped' | 'continuous'; /** Palette. Inside a Heatmap it defaults to the Heatmap's. */ palette?: HeatmapPalette; /** Scale. Inside a Heatmap it defaults to the Heatmap's resolved scale. */ scale?: HeatmapScale; /** Values an `auto` or quantile scale is worked out from (outside a Heatmap). */ values?: readonly number[]; /** Formats the end labels. Inside a Heatmap it defaults to the Heatmap's. */ valueFormatter?: (value: number) => string; /** Show the key for empty cells. Inside a Heatmap: when any cell is empty. */ showEmpty?: boolean; /** Show the key for low-sample cells. Inside a Heatmap: when any cell is. */ showLowSample?: boolean; /** Show the key for totals withheld to protect small numbers. Inside a * Heatmap: when any total it draws is withheld. */ showWithheldTotal?: boolean; /** The sample threshold, named in the low-sample key. Inside a Heatmap it * defaults to the Heatmap's `minCount`. */ minCount?: number; className?: string; } /** * Heatmap.Legend: the colour steps with the low and high ends of the scale, * plus keys for empty and low-sample cells and withheld totals. A diverging scale shows its * midpoint between the two hues as a neutral swatch carrying the midpoint * value, the colour of a cell exactly on it. Inside a Heatmap it reads the * Heatmap's scale; render it elsewhere with `legend={false}` on the Heatmap * and the same `scale`, `palette` and `values` here. */ export declare const HeatmapLegend: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=heatmap-legend.d.ts.map