import { ColumnOrderState, RowData } from '@tanstack/react-table';
import type { TableSettings } from '../types';
import type { Dispatch, SetStateAction } from 'react';
interface UseColumnOrderProps<TData extends RowData = RowData> {
    settings: TableSettings<TData>;
    setSettings: Dispatch<SetStateAction<TableSettings<TData>>>;
}
type ColumnOrderResult = {
    columnOrder: ColumnOrderState;
    onColumnOrderChange: (updater: SetStateAction<ColumnOrderState>) => void;
};
export declare const useColumnOrder: <TData extends RowData = RowData>({ settings, setSettings, }: UseColumnOrderProps<TData>) => ColumnOrderResult;
export {};
//# sourceMappingURL=useColumnOrder.d.ts.map