import type { MaybeRefOrGetter, ShallowRef } from 'vue'; import type { ColorScale } from './colorScale.js'; import type { PivotCell, PivotGroup, PivotProps } from './pivot.js'; export { isLinearColorScale as isLinearScale } from './colorScale.js'; export type HeatmapThresholds = ColorScale; export interface HeatmapCell extends PivotCell { value: number; bucketIndex: number; mixPercentage?: number; readonly color: string | undefined; } export interface HeatmapGroup extends PivotGroup { x: number; width: number; hasOverlap: boolean; labelOffset: number; } export interface HeatmapProps extends PivotProps { thresholds: MaybeRefOrGetter; cellSize?: string | number | (string | number)[]; gap?: string | number; groupGap?: string | number; } interface LinearColors { from: string; to: string; method: string; } export declare function useHeatmap(props: HeatmapProps): { rows: import("vue").ComputedRef; rowItems: Readonly, Map>>; groups: import("vue").ComputedRef; hasExplicitColumns: import("vue").ComputedRef; cellWidth: Readonly>; cellHeight: Readonly>; gap: Readonly>; cellStep: Readonly>; rowStep: Readonly>; totalWidth: Readonly>; totalHeight: Readonly>; bucketBoundaries: ShallowRef; bucketColors: ShallowRef; linearColors: ShallowRef; colorSpaceClass: ShallowRef; };