import { OnInit, OnDestroy } from '@angular/core';
import { TreeItemService } from '../tree-item/tree-item.service';
export declare function treeDepthFactory(depth: number): number;
export declare class TreeComponent implements OnDestroy, OnInit {
    private treeItemService;
    private offset;
    depth: number;
    open: boolean;
    readonly left: string;
    private sub;
    private _open;
    private isWrite;
    constructor(treeItemService: TreeItemService, depth: number, offset: number);
    ngOnInit(): void;
    ngOnDestroy(): void;
}
