import { ColumnSizingState, RowData } from '@tanstack/react-table';
import type { TableSettings } from '../types';
import type { Dispatch, SetStateAction } from 'react';
interface UseColumnSizingProps<TData extends RowData = RowData> {
    settings: TableSettings<TData>;
    setSettings: Dispatch<SetStateAction<TableSettings<TData>>>;
}
type ColumnSizingResult = {
    columnSizing: ColumnSizingState;
    onColumnSizingChange: (updater: SetStateAction<ColumnSizingState>) => void;
};
export declare const useColumnSizing: <TData extends RowData = RowData>({ settings, setSettings, }: UseColumnSizingProps<TData>) => ColumnSizingResult;
export {};
//# sourceMappingURL=useColumnSizing.d.ts.map