///
/**
* @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
*/
import * as ts from 'typescript';
import { FileSystem } from '../../../src/ngtsc/file_system';
import { NgtscCompilerHost } from '../../../src/ngtsc/file_system/src/compiler_host';
/**
* Represents a compiler host that resolves a module import as a JavaScript source file if
* available, instead of the .d.ts typings file that would have been resolved by TypeScript. This
* is necessary for packages that have their typings in the same directory as the sources, which
* would otherwise let TypeScript prefer the .d.ts file instead of the JavaScript source file.
*/
export declare class NgccSourcesCompilerHost extends NgtscCompilerHost {
protected entryPointPath: string;
private cache;
constructor(fs: FileSystem, options: ts.CompilerOptions, entryPointPath: string);
resolveModuleNames(moduleNames: string[], containingFile: string, reusedNames?: string[], redirectedReference?: ts.ResolvedProjectReference): Array;
}