import type { ReactElement } from 'react'; import type { HeatmapCellInfo } from './heatmap-model'; export interface HeatmapTooltipProps { /** The cell the tooltip describes. */ cell: HeatmapCellInfo; /** * Tooltip text. Defaults to the Heatmap's `renderTooltip`, or to the * sentence every cell is named with ("Tuesday, 10:00: 26%, 10 of 39"). * Plain text only: the kit Tooltip never carries interactive content. */ label?: string; /** Controlled open state. */ open?: boolean; onOpenChange?: (open: boolean) => void; /** Logical side. Default `'top'`. */ side?: 'top' | 'end' | 'bottom' | 'start'; /** The trigger. */ children: ReactElement; } /** * Heatmap.Tooltip: the kit Tooltip with a cell's description. The grid uses * it for the cell under the pointer or the keyboard focus; a consumer can * use it to describe a cell somewhere else, with the same wording and the * same privacy masking. */ export declare function HeatmapTooltip({ cell, label, open, onOpenChange, side, children, }: HeatmapTooltipProps): import("react/jsx-runtime").JSX.Element; export declare namespace HeatmapTooltip { var displayName: string; } /** * The anchor the grid hangs a cell's tooltip on: an inert box over the * cell, so the cell itself never re-mounts (and never drops focus) when the * tooltip moves to it. Takes the text, not a cell, so a group header cell * (which has no single row) gets one too. */ export declare function HeatmapCellTooltip({ label, onOpenChange, }: { label: string; onOpenChange: (open: boolean) => void; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=heatmap-tooltip.d.ts.map