export default function useTableRowSelection(): {
    selectedRowKeys: import('react').Key[];
    selectedRows: any[];
    enableSelection: boolean;
    getCheckboxProps: (record: Record<string, any>) => {
        disabled: any;
    };
    clearSelections: () => void;
    onChange: (selectedRowKeys: React.Key[], selectedRows: any[]) => void;
    removeSelectedKeys: (rowKeys: React.Key[]) => import('react').Key[];
    removeSelectedKey: (rowKey: React.Key | React.Key[]) => import('react').Key[];
};
