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<T extends object>(allLeafColumns: Column<T, unknown>[], rows: Row<T>[]): Record<keyof T, number>;
