/** * @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'; export declare class NgccProcessor { private readonly compilerNgcc; private readonly propertiesToConsider; private readonly compilationWarnings; private readonly compilationErrors; private readonly basePath; private readonly tsConfigPath; private _processedModules; private _logger; private _nodeModulesDirectory; constructor(compilerNgcc: typeof import('@angular/compiler-cli/ngcc'), propertiesToConsider: string[], compilationWarnings: (Error | string)[], compilationErrors: (Error | string)[], basePath: string, tsConfigPath: string); /** Process the entire node modules tree. */ process(): void; /** Process a module and it's depedencies. */ processModule(moduleName: string, resolvedModule: ts.ResolvedModule | ts.ResolvedTypeReferenceDirective): void; invalidate(fileName: string): void; /** * Try resolve a package.json file from the resolved .d.ts file. */ private tryResolvePackage; private findNodeModulesDirectory; }