import React from 'react';
import { DynamicListColumn } from '../../components';
import { Column } from '../../components/List/List.model';
import { Data } from '../../types';
/**
 * Handles the resizing logic of the columns
 * @param columns The list of column definitions
 * @param onColumnSizesChanged Callback that will be called when the column sizes change
 * @returns an object containing the refs to the columns (add these to all column header elements),
 *          the mouseDown handler (add this to the element that should be used to resize the column),
 *          and the ResizeIndicator element (render this to show the resize indicator)
 */
export declare const useResize: <T extends Data>(columns: Column<T>[] | DynamicListColumn<T>[], onColumnSizesChanged: (columnSizes: string) => void) => {
    cols: {
        ref: React.RefObject<HTMLTableCellElement>;
        orgSize: string | undefined;
    }[];
    mouseDown: (index: number) => void;
    ResizeIndicator: JSX.Element;
};
//# sourceMappingURL=useResize.d.ts.map