import type { ColumnSizingState, Table, VisibilityState } from "@tanstack/react-table";
interface UseColumnResizeOptions<TData> {
    enabled: boolean;
    table: Table<TData>;
    columnVisibility: VisibilityState;
    hasSelectionColumn: boolean;
    scrollContainerRef: React.RefObject<HTMLDivElement | null>;
    columnSizing: ColumnSizingState;
    setColumnSizing: React.Dispatch<React.SetStateAction<ColumnSizingState>>;
}
export declare const useColumnResize: <TData>({ enabled, table, columnVisibility, hasSelectionColumn, scrollContainerRef, columnSizing, setColumnSizing, }: UseColumnResizeOptions<TData>) => {
    trackUserResize: (updaterOrValue: ColumnSizingState | ((old: ColumnSizingState) => ColumnSizingState)) => void;
    lastDataColumnId: string | undefined;
    clearUserResized: (columnId: string) => void;
};
export {};
