/** * @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 AstPath { private path; constructor(path: T[]); readonly empty: boolean; readonly head: T | undefined; readonly tail: T | undefined; parentOf(node: T | undefined): T | undefined; childOf(node: T): T | undefined; first(ctor: { new (...args: any[]): N; }): N | undefined; push(node: T): void; pop(): T; }