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;
    set depth(v: number);
    get depth(): number;
    set expand(value: boolean);
    get expand(): boolean;
    get left(): string;
    private sub;
    private _depth;
    private _expand;
    private isWrite;
    constructor(treeItemService: TreeItemService, depth: number, offset: number);
    ngOnInit(): void;
    ngOnDestroy(): void;
}
