/** * Manages the table grid cache and observes DOM changes that require grid rebuilding. * Watches for structural changes (rows/cells added/removed) and attribute changes * (colspan, rowspan, hidden, style) that affect grid layout and focusability. */ declare function useGridCache(tableRef: HTMLTableElement | null, enabled: boolean): { getTableGrid: (_tableRef: HTMLTableElement) => { grid: (Element | undefined)[][]; positions: Map; }; activeCell: Element | null; setActiveCell: import("react").Dispatch>; }; export { useGridCache };