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