import { Column, Row } from '@tanstack/react-table'; /** * Calculate the maximum width for each column based on header and cell content * @param table - TanStack Table instance * @returns Record mapping column IDs to their calculated maximum widths */ export default function calculateColumnMaxWidth(allLeafColumns: Column[], rows: Row[]): Record;