import { UseDataTableResizing } from '../types';
/**
 * Custom hook to manage column resizing logic for DataTable
 * Handles auto-resize functionality and column width calculations
 * @param props - Configuration and table state for resizing
 * @returns resizing utilities and callbacks
 */
export default function useDataTableResizing<T extends object>({ setColumnSizing, columnResize, columnAction, columnSizingState, columnInitialSize, allLeafColumns, rows, }: UseDataTableResizing<T>): {
    columnMaxWidth: Record<keyof T, number>;
    handleAutoResize: (columnKey: keyof T) => void;
    handleAutoResizeAll: () => void;
};
