import type { Ref } from 'vue'; import type { BaseType, EmitFn2 } from '../../_utils/types'; import type { TableDataWithRaw, TableRowSelection } from '../interface'; import { TableData } from '../interface'; export declare const useRowSelection: ({ selectedKeys, defaultSelectedKeys, rowSelection, currentAllRowKeys, currentAllEnabledRowKeys, emit, }: { selectedKeys: Ref; defaultSelectedKeys: Ref; rowSelection: Ref; currentAllRowKeys: Ref; currentAllEnabledRowKeys: Ref; emit: EmitFn2<{ "update:selectedKeys": (rowKeys: BaseType[]) => true; "select": (rowKeys: BaseType[], rowKey: BaseType, record: TableData) => true; "selectAll": (checked: boolean) => true; "selectionChange": (rowKeys: BaseType[]) => true; }>; }) => { isRadio: import("vue").ComputedRef; selectedRowKeys: import("vue").ComputedRef; currentSelectedRowKeys: import("vue").ComputedRef; handleSelectAll: (checked: boolean) => void; handleSelect: (checked: boolean, record: TableDataWithRaw) => void; handleSelectAllLeafs: (record: TableDataWithRaw, checked: boolean) => void; select: (rowKey: BaseType | BaseType[], checked?: boolean) => void; selectAll: (checked?: boolean) => void; clearSelected: () => void; };