/* Copyright 2026 Marimo. All rights reserved. */ /* oxlint-disable typescript/no-empty-object-type */ import type { RowData } from "@tanstack/react-table"; export type CellStyleState = Record< string, Record >; export interface CellStylingTableState { cellStyling: CellStyleState | undefined | null; } export interface CellStylingCell { /** * Returns additional styling for the cell. */ getUserStyling?: () => React.CSSProperties; } // Use declaration merging to add our new feature APIs declare module "@tanstack/react-table" { interface TableState extends CellStylingTableState {} interface Cell extends CellStylingCell {} }