import { SortingField } from '@reltio/mdm-sdk';
import { ColumnData, ColumnSize } from '../../types/basicTable';
type UseTableColumnsProps = {
    defaultColumns: string[];
    columns: ColumnSize[];
    allColumnsData: ColumnData[];
    onChangeColumns: (columns: {
        id: string;
        size?: number;
    }[]) => void;
};
export declare const useTableColumns: ({ defaultColumns, columns, allColumnsData, onChangeColumns }: UseTableColumnsProps) => {
    handleChangeColumns: (newColumns: string[]) => void;
    handleReorderingColumn: (oldPositionId: string, newPositionId: string) => void;
    handleSorting: (field: string) => void;
    visibleColumnIds: string[];
    visibleColumnsData: ColumnData[];
    sorting: SortingField;
    handleChangeColumnsSize: (newColumnsSize: ColumnSize[]) => void;
};
export {};
