import { ITree } from "../interfaces/ITree";
import { ITreeItem } from "../interfaces/ITreeItem";
export declare class Node {
  parent: Node;
  item: ITreeItem;
  isPlaceHolder: boolean;
  children: Map<string, Node>;
  visible: boolean;
  private _tree;
  private _childrenLoaded;
  private _isLazyLoad;
  constructor(tree: ITree, item?: ITreeItem, parent?: Node, isPlaceHolder?: boolean);
  refresh(newItem: ITreeItem): void;
  isDisabled(): boolean;
  updateChildren(children: Array<ITreeItem>): void;
  addChild(tree: ITree, item: ITreeItem): void;
  removeChild(id: string): boolean;
  addPlaceHolder(): void;
  getNode(id: string): Node;
  needLoad(): boolean;
  isExpandable(): boolean;
  getChildren(): Array<Node>;
}
