import React from 'react'; import { TableRowSelection, Key, GetRowKey, TransformColumns } from '../interfaces'; export declare type GetCheckDisabled = (record: RecordType) => boolean; export declare function arrDel(list: Key[], value: Key): React.Key[]; export declare function arrAdd(list: Key[], value: Key): React.Key[]; interface UseSelectionConfig { prefixCls: string; pageData: RecordType[]; getRowKey: GetRowKey; getRecordByKey: (key: Key) => RecordType; } export default function useSelection(rowSelection: TableRowSelection | undefined, config: UseSelectionConfig): [TransformColumns, Set]; export {};