/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ export declare class Tree { constructor(root: TreeNode); root: T; parent(t: T): T; children(t: T): T[]; firstChild(t: T): T; siblings(t: T): T[]; pathFromRoot(t: T): T[]; contains(tree: Tree): boolean; } export declare class TreeNode { value: T; children: TreeNode[]; constructor(value: T, children: TreeNode[]); toString(): string; }