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