import tsStatic from 'typescript';
/**
 * Wraps the typescript compiler `nodeModuleNameResolver` to ignore the
 * native modules and dependencies. Since, we need module resolver
 * to report type errors, we do not type check node_modules when
 * they are changed during the watch mode.
 */
export declare class ModuleResolver {
    private ts;
    private compilerOptions;
    private ignoreList;
    private ambientModules;
    constructor(ts: typeof tsStatic, compilerOptions: tsStatic.CompilerOptions);
    /**
     * Track ambient module
     */
    addAmbientModules(filePath: string, ambientModules: string[]): void;
    /**
     * Returns the resolved module path
     */
    resolve(importPath: string, modulePath: string): null | string;
}
