import type { ModuleManifest } from "../module-manifest"; import type { PathMapper } from "./path-mapper"; export interface ModuleRef { id: string; manifest: ModuleManifest; } export interface ResolveResult { resolvedPath: string; resolveFrom?: string; } export declare class Resolver { private pathMapper; readonly moduleByFolder: Map; readonly modulesById: Map; readonly interfacePackages: Map; stubModulePath?: string; constructor(pathMapper: PathMapper); resolve(request: string, parent?: { filename?: string; }): ResolveResult | undefined; private resolveInterfaceCore; private resolveInterfacePackage; private resolveLocalModule; }