import { VisibilityState, RowData } from '@tanstack/react-table';
import type { TableSettings } from '../types';
import type { Dispatch, SetStateAction } from 'react';
interface UseColumnVisibilityProps<TData extends RowData = RowData> {
    settings: TableSettings<TData>;
    setSettings: Dispatch<SetStateAction<TableSettings<TData>>>;
}
export declare const useColumnVisibility: <TData extends RowData = RowData>({ settings, setSettings }: UseColumnVisibilityProps<TData>) => {
    columnVisibility: VisibilityState;
    onColumnVisibilityChange: (updater: SetStateAction<VisibilityState>) => void;
};
export {};
//# sourceMappingURL=useColumnVisibility.d.ts.map