9 lines
296 B
Plaintext
9 lines
296 B
Plaintext
import { TreeEmits, TreeProps } from "./tree.type";
|
|
import { ComputedRef } from "vue";
|
|
import { Tree, TreeData } from "./tree";
|
|
export declare type UseTree = (props: TreeProps, emit: TreeEmits) => {
|
|
tree: Tree;
|
|
nodeList: ComputedRef<TreeData[]>;
|
|
};
|
|
export declare const useTree: UseTree;
|