import { Selection } from 'd3-selection'; import { ComponentCore } from '../../core/component'; import { SeriesDataModel } from '../../data-models/series'; import { Spacing } from '../../types/spacing'; import { ExtendedSizeComponent } from '../../types/component'; import { HeatmapCellDatum } from './types'; import { HeatmapConfigInterface } from './config'; import * as s from './style'; export declare class Heatmap extends ComponentCore> implements ExtendedSizeComponent { static selectors: typeof s; protected _defaultConfig: HeatmapConfigInterface; config: HeatmapConfigInterface; datamodel: SeriesDataModel; cellsGroup: Selection; columnLabelsGroup: Selection; rowLabelsGroup: Selection; events: {}; /** Gap between a label and the grid in pixels. */ private _labelPadding; private _labelCollisionAnimFrameId; constructor(config?: HeatmapConfigInterface); get bleed(): Spacing; getWidth(): number; getHeight(): number; _render(customDuration?: number): void; private _renderColumnLabels; private _renderRowLabels; /** Hides row/column labels that overlap their neighbours. Runs in the next frame so the * just-rendered labels can be measured without forcing a synchronous reflow. */ private _resolveLabelOverlap; private _usesExtendedCellSize; private _getIntrinsicSize; private _getGridSize; private _getLabelFontSize; protected _mapEventDatum(datum: HeatmapCellDatum, index: number): { datum: unknown; index: number; }; }