///
import { MyTableProps } from '../types/prop';
declare type selectionProps = {
innerDataSource: T[];
currentRowKey: string;
currentPageDataSource: T[];
checkIfHiddenRow?: Function;
hasPageChangeEvent?: boolean;
funcExpExecute: Function;
getRealIndexById: (id: string) => number;
};
declare const useSelection: (props: import("../types/prop").TableBasePropTypes & import("../types/prop").TablePaginationPropTypes & import("../types/prop").TableEditPropTypes & import("../types/prop").TableRowExpandPropTypes & import("../types/prop").TableRowSelectPropType & import("../types/event").TableBaseEventTypes & import("../types/event").TableRowExpandEventTypes & import("../types/event").TableEditEventTypes & import("../types/event").TablePaginationEventTypes & selectionProps) => {
rowSelection: {
type: "checkbox" | "radio";
selectedRowKeys: any[];
checkStrictly: boolean;
onChange: (_: any, sltrows: any[]) => void;
getCheckboxProps: (record: T) => Partial>;
} | undefined;
selectedRows: any[];
selectedRowKeys: any[];
currentPageSelectedRows: any[];
currentPageSelectedRowKeys: any[];
setSelectedRows: import("react").Dispatch>;
setSelectedRowKeys: import("react").Dispatch>;
setCurrentPageSelectedRows: import("react").Dispatch>;
setCurrentPageSelectedRowKeys: import("react").Dispatch>;
setSelectedRowsRule: (selectedRowsRule: string | string[] | T[]) => void;
onRowSelected: (_sltrows: any[], doOnSelectChange: boolean, _currentPageSelectedRows?: any[]) => void;
onRowSelectClick: (record: any, index?: number) => void;
checkStrictly: boolean;
};
export default useSelection;