import { LikeC4Model } from '@likec4/core/model'; import { ElementShape, Fqn } from '@likec4/core/types'; import { TreeCollection } from '@zag-js/collection'; import { ElementStates } from './state/utils'; import * as tree from '@zag-js/tree-view'; export interface TreeNodeData { id: Fqn; title: string; icon?: string | undefined; shape: ElementShape; children: TreeNodeData[]; state: 'include-explicit' | 'include-implicit' | 'exclude' | 'disabled' | 'not-present'; } export interface ElementsTreeProps extends tree.Props { } export declare function createTreeCollection(model: LikeC4Model, states?: ElementStates): TreeCollection; export type TreeApi = tree.Api; export declare function useElementsTree(): TreeApi;