export default function useTree(props: any, emit: (event: string, ...args: any[]) => void): {};