import type { DropOptions as DndDropOptions, NodeModel } from "@minoru/react-dnd-treeview"; import type { TreeProps } from "./Tree.js"; export declare const useTree: >(props: TreeProps) => { vm: { nodes: import("./index.js").NodeFormatted[]; openNodeIds: string[]; lockedOpenNodeIds: string[]; loadingNodeIds: string[]; rootId: string; }; handleDrop: (newTree: NodeModel[], options: DndDropOptions) => Promise; changeOpen: (newOpenIds: NodeModel["id"][]) => void; canDrag: (node: NodeModel | undefined) => boolean; canDrop: (tree: NodeModel[], options: DndDropOptions) => boolean; sort: (a: NodeModel, b: NodeModel) => number; };