import { ShallowRef, Ref } from 'vue';
import { BasicDataNode, DataEntity, DataNode, Key } from './interface';
export default function useMaxLevel<TreeDataType extends BasicDataNode = DataNode>(keyEntities: ShallowRef<Record<Key, DataEntity<TreeDataType>>>): {
    maxLevel: Ref<number, number>;
    levelEntities: ShallowRef<Map<number, Set<DataEntity<TreeDataType>>> | undefined, Map<number, Set<DataEntity<TreeDataType>>> | undefined>;
};
