1 | /**
|
2 | * @license
|
3 | * Copyright Google Inc. All Rights Reserved.
|
4 | *
|
5 | * Use of this source code is governed by an MIT-style license that can be
|
6 | * found in the LICENSE file at https://angular.io/license
|
7 | */
|
8 | /**
|
9 | * asserts that the given fileName is an absolute path.
|
10 | *
|
11 | * The TypeScript API works in absolute paths, so we must be careful to resolve
|
12 | * paths before handing them over to TypeScript.
|
13 | */
|
14 | export declare function assertAbsolute(fileName: string): void;
|
15 | /**
|
16 | * Takes a context (ts.SourceFile.fileName of the current file) and the import URL of an ES6
|
17 | * import and generates a googmodule module name for the imported module.
|
18 | */
|
19 | export declare function pathToModuleName(rootModulePath: string, context: string, fileName: string): string;
|