import { type StyleProp, type ViewStyle } from "../../style/index.js"; /** One heatmap cell. A bare number is shorthand for `{ value }`. */ export interface HeatmapCell { /** Intensity 0–1; drives the cell's fill (bucketed into levels in calendar mode). */ value: number; /** The exact tally shown in the inspect tooltip (e.g. GitHub's contribution count). */ count?: number; /** ISO date (`YYYY-MM-DD`); shown in the tooltip and drives the calendar's month labels. */ date?: string; /** Overrides the tooltip's derived "N contributions" heading. */ label?: string; } export type HeatmapValue = number | HeatmapCell; export interface HeatmapProps { /** The cells: intensities 0–1, or `{ value, count?, date?, label? }` for inspectable data. */ values: HeatmapValue[]; /** What the grid measures (e.g. "Contribution activity"); leads the accessible name. */ label?: string; /** GitHub-style: lay the cells into seven-row week columns with weekday + month labels. */ calendar?: boolean; /** A summary line above the grid (e.g. "248 contributions in the last year"). */ caption?: string; /** Hide the less-to-more legend row. */ hideLegend?: boolean; /** E2E hook forwarded to the root element. */ testID?: string; /** For sizing/composition only. */ style?: StyleProp; } export declare function Heatmap(props: HeatmapProps): import("react").JSX.Element; //# sourceMappingURL=heatmap.shared.d.ts.map