import { default as React, RefObject } from 'react';
import { TableColumn } from './table-row';
interface UseResizableColumnsOptions {
    id?: string;
    columns: TableColumn[];
    minColumnWidth?: number;
}
interface UseResizableColumnsReturn {
    columnWidths: Record<string, number>;
    getColumnProps: (columnName: string) => {
        style: React.CSSProperties;
        ref?: RefObject<HTMLTableCellElement>;
    };
    getResizerProps: (columnName: string) => {
        onMouseDown: (e: React.MouseEvent<HTMLDivElement>) => void;
        className?: React.HTMLAttributes<HTMLDivElement>['className'];
    };
    columnRefs: Record<string, RefObject<HTMLTableCellElement>>;
}
declare const useResizableColumns: ({ id, columns, minColumnWidth, }: UseResizableColumnsOptions) => UseResizableColumnsReturn;
export default useResizableColumns;
