/** * @license * Copyright Google LLC 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 */ /// import * as ts from 'typescript'; import { AstResult } from './types'; /** * Traverse the template AST and look for the symbol located at `position`, then * return its definition and span of bound text. * @param info * @param position */ export declare function getDefinitionAndBoundSpan(info: AstResult, position: number): ts.DefinitionInfoAndBoundSpan | undefined; /** * Gets an Angular-specific definition in a TypeScript source file. */ export declare function getTsDefinitionAndBoundSpan(sf: ts.SourceFile, position: number, tsLsHost: Readonly): ts.DefinitionInfoAndBoundSpan | undefined;