import * as tree from '@zag-js/tree-view';
import type { TreeNode } from './buildTree';
interface Props {
    rootNode: TreeNode;
    nodeMap: Record<string, TreeNode | undefined>;
    dragElement?: HTMLElement;
    onSelectionChange?: (event: tree.SelectionChangeDetails) => void;
}
declare const Tree: import("svelte").Component<Props, {}, "dragElement">;
type Tree = ReturnType<typeof Tree>;
export default Tree;
