import { TreeContext, TreeItem } from "./treeContext.js";
import * as lit14 from "lit";
import { LitElement, nothing } from "lit";
import * as lit_html13 from "lit-html";

//#region src/gui/tree/EFTreeItem.d.ts

/**
 * Generic tree item component.
 *
 * Renders a single item in a tree with:
 * - Expand/collapse toggle for items with children
 * - Optional icon
 * - Label
 * - Recursive children rendering
 *
 * @fires tree-item-click - When item is clicked (for selection)
 */
declare class EFTreeItem extends LitElement {
  static styles: lit14.CSSResult;
  treeContext?: TreeContext;
  item: TreeItem;
  private localExpanded;
  get isSelected(): boolean;
  get isExpanded(): boolean;
  get hasChildren(): boolean;
  private handleClick;
  private handleExpandClick;
  render(): lit_html13.TemplateResult<1> | typeof nothing;
}
declare global {
  interface HTMLElementTagNameMap {
    "ef-tree-item": EFTreeItem;
  }
}
//#endregion
export { EFTreeItem };
//# sourceMappingURL=EFTreeItem.d.ts.map