/* Copyright 2026 Marimo. All rights reserved. */ /* oxlint-disable typescript/no-empty-object-type */ import type { RowData } from "@tanstack/react-table"; export type CellHoverTextState = Record>; export interface CellHoverTextTableState { cellHoverTexts: CellHoverTextState; } export interface CellHoverTextCell { /** * Returns precomputed hover text for the cell, if any. */ getHoverTitle?: () => string | undefined | null; } // Use declaration merging to add our new feature APIs declare module "@tanstack/react-table" { interface TableState extends CellHoverTextTableState {} interface Cell extends CellHoverTextCell {} }