import { default as React } from 'react'; import { ColumnSizeInput } from '../types'; /** * Computes inline styles for column width, minWidth, and maxWidth constraints. * * Uses direct CSS properties (not CSS custom properties) so that * `element.style.minWidth` is readable in tests and by the browser. * * With `table-layout: fixed` + `width: 100%` on the table, the browser uses * cell `width` values to allocate column space. Setting `width: maxWidth` * means constrained columns get exactly `maxWidth` pixels, and unconstrained * columns share the remainder. `max-width` alone is ignored by browsers for * column distribution in fixed-layout tables. * * @param column - Column size properties (width, minWidth, maxWidth) * @returns React.CSSProperties with the computed styles */ declare const getColumnSizeStyles: (column: ColumnSizeInput) => React.CSSProperties; export default getColumnSizeStyles;