import * as _angular_core from '@angular/core'; import { AfterViewInit, OnDestroy } from '@angular/core'; interface TreeNode { id: string; label: string; icon?: string; selectable?: boolean; expanded?: boolean; children?: TreeNode[]; } interface Tree { nodes: TreeNode[]; } /** * Component rendering a tree. */ declare class TreeComponent implements AfterViewInit, OnDestroy { private treeService; private elRef; private items?; private _observer; /** * The tree to be rendered */ tree: _angular_core.InputSignal; /** * Whether or not multiple nodes should be selectable. Only works when selection is enableed by * setting 'selectable' attribute: * * ```html * ; /** * Host attribute to enable persistent selection of nodes. */ selectable: string | null; private __focusedIndex; private set _focusedIndex(value); get _focusedIndex(): number; /** * IDs of nodes that should be set 'selected'. */ set selectedNodes(nodeIds: string[]); /** * Emitted when selection changes */ selectionChange: _angular_core.OutputEmitterRef; readonly tabindex = "0"; onKeydown(event: KeyboardEvent): void; setTreeEffect: _angular_core.EffectRef; setTreeMultiselectEffect: _angular_core.EffectRef; constructor(); private _toggle; private _selectFocusedNode; private _getFocusedNodeId; private _getVisibleNodes; ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { TreeComponent }; export type { Tree, TreeNode };