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