import { Key, RowSelection } from '../types'; export interface SelectionState { checked: boolean; indeterminate: boolean; disabled: boolean; } export interface UseSelectionOptions> { rowSelection: () => RowSelection | undefined; getRowKey: (record: TRecord, index: number) => Key; data: () => TRecord[]; visibleData: () => TRecord[]; childrenColumnName?: () => string | undefined; onSelectionChange?: () => void; } export declare function useSelection>(options: UseSelectionOptions): { selectedKeySet: import('vue').ComputedRef>; isSelected: (key: Key) => boolean; isDisabled: (record: TRecord) => boolean; getSelectionState: (record: TRecord, index: number) => SelectionState; toggleRow: (record: TRecord, index: number, nativeEvent?: MouseEvent) => void; toggleAll: (selected: boolean) => void; allCheckedState: import('vue').ComputedRef<"all" | "partial" | "none">; invertSelection: () => void; clearSelection: () => void; getChangeableRowKeys: () => Key[]; }; //# sourceMappingURL=useSelection.d.ts.map