///
import { TableProps, GetRowKeyType } from '../interface';
declare type Key = string | number;
export default function useRowSelection(props: TableProps, pageData: any, data: any, getRowKey: GetRowKeyType): {
selectedRowKeys: Key[];
indeterminateKeys: Key[];
onCheckAll: (checked: any) => void;
onCheck: (checked: any, record: any) => void;
onCheckRadio: (key: any, record: any) => void;
setSelectedRowKeys: React.Dispatch>;
allSelectedRowKeys: Key[];
flattenData: T[];
};
export {};