import { TemplateResult as TemplateResult$1 } from "../../node_modules/lit-html/development/lit-html.js"; import { TreeItem } from "./treeContext.js"; import * as _$lit from "lit"; import { LitElement, PropertyValues } from "lit"; //#region src/gui/tree/EFTree.d.ts /** * Generic tree component for displaying hierarchical data. * * Takes an array of TreeItem objects and renders them as an expandable tree. * Provides context for selection and expand/collapse state. * * @fires tree-select - When an item is selected. Detail: { id: string, item: TreeItem } * * @example * ```html * console.log('Selected:', e.detail.id)} * > * ``` */ declare class EFTree extends LitElement { static styles: _$lit.CSSResult; /** Tree items to display */ items: TreeItem[]; /** Optional header text */ header: string; /** Whether to show the header */ showHeader: boolean; /** Currently selected item ID (can be set externally) */ selectedId: string | null; /** Whether to expand all items by default */ expandAll: boolean; private treeState; private treeActions; private providedContext; private findItem; private initializeExpandedState; protected willUpdate(changedProperties: PropertyValues): void; protected updated(changedProperties: PropertyValues): void; connectedCallback(): void; render(): TemplateResult$1<1>; } declare global { interface HTMLElementTagNameMap { "ef-tree": EFTree; } } //#endregion export { EFTree }; //# sourceMappingURL=EFTree.d.ts.map