import * as treeView from "@zag-js/tree-view"; import { VanillaMachine } from "@zag-js/vanilla"; import { Component } from "../lib"; interface Node { id: string; name: string; children?: Node[]; } export declare class TreeView extends Component { collection: ReturnType>; private domInitialized; initMachine(props: treeView.Props): VanillaMachine; initApi(): treeView.Api; renderNodes(): void; render(): void; } export declare function initTreeView(doc?: HTMLElement | Document, selector?: string): void; export {};