import { PropTypes } from '@zag-js/vue'; import { ComputedRef, MaybeRef } from 'vue'; import { EmitFn, Optional } from '../../types'; import { TreeCollection, TreeNode } from '../collection'; import { RootEmits } from './tree-view.types'; import * as treeView from '@zag-js/tree-view'; export interface UseTreeViewProps extends Optional, 'id'> { /** * The collection of tree nodes */ collection: TreeCollection; } export interface UseTreeViewReturn extends ComputedRef> { } export declare const useTreeView: (props: MaybeRef>, emit?: EmitFn>) => UseTreeViewReturn;