import { ComputedRef } from 'vue'; import type { DataTableSetupProps, RowKey, RowData, TableSelectionColumn, InternalRowData, TmNode } from './interface'; import { TreeMate } from 'treemate'; export declare function useCheck(props: DataTableSetupProps, data: { selectionColumnRef: ComputedRef; paginatedDataRef: ComputedRef; treeMateRef: ComputedRef>; }): { mergedCheckedRowKeySetRef: ComputedRef>; mergedCheckedRowKeysRef: ComputedRef; mergedInderminateRowKeySetRef: ComputedRef>; someRowsCheckedRef: ComputedRef; allRowsCheckedRef: ComputedRef; headerCheckboxDisabledRef: ComputedRef; doUpdateCheckedRowKeys: (keys: RowKey[], row: RowData | undefined, action: 'check' | 'uncheck' | 'checkAll' | 'uncheckAll') => void; doCheckAll: (checkWholeTable?: boolean) => void; doUncheckAll: (checkWholeTable?: boolean) => void; doCheck: (rowKey: RowKey | RowKey[], single: boolean | undefined, rowInfo: RowData) => void; doUncheck: (rowKey: RowKey | RowKey[], rowInfo: RowData) => void; };