import type { HeatmapDescriber } from './heatmap-format'; import type { BodyRow, HeatmapColumn, HeatmapRow, HeatmapTotals, ModelCell } from './heatmap-model'; import type { HeatmapAggregate } from './heatmap-scale'; /** Starts fetching the table chunk ahead of a switch to the table view, so * the switch does not wait on the download. Safe to call repeatedly. */ export declare function preloadHeatmapTable(): void; export interface HeatmapTableViewProps { title: string; rowsLabel?: string; rows: readonly HeatmapRow[]; columns: readonly HeatmapColumn[]; matrix: readonly ModelCell[][]; /** Group headers and rows in display order, every group expanded. */ body: readonly BodyRow[]; grouped: boolean; /** Each group's public id, for the table's row ids (never a label). */ groupIds: ReadonlyMap; describer: HeatmapDescriber; /** The grid's totals, withheld ones already reduced to a value-less * cell, so the table can show nothing the grid does not. */ totals: HeatmapTotals | null; rowTotals: HeatmapAggregate | false; columnTotals: HeatmapAggregate | false; groupColumnMethod: HeatmapAggregate; /** The table failed to load or render (announced by the heatmap). */ onLoadError?: () => void; } /** * The heatmap's "View as table": the same rows, columns, values, counts and * totals as a DataTable, so every number is reachable without colour and * without a pointer. Group header rows carry their totals, and rows stay in * their groups in the grid's order. Labels go through the same privacy * masking as the grid. */ export declare function HeatmapTableView({ title, rowsLabel, rows, columns, matrix, body, grouped, groupIds, describer, totals, rowTotals, columnTotals, groupColumnMethod, onLoadError, }: HeatmapTableViewProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=heatmap-table-view.d.ts.map