/** * Module path resolution utilities. * * Resolves module paths against a lookup map with fuzzy matching support. */ export interface PathResolvable { id: number; fullPath: string; } /** * Resolve a module path against the lookup map. * Tries exact match first, then falls back to matching by final segment(s). * Returns undefined if no match or ambiguous (multiple candidates). * * @param modulePath The module path to resolve * @param moduleByPath Map of full paths to modules * @param constrainPrefix Optional prefix to constrain fuzzy matches */ export declare function resolveModulePath(modulePath: string, moduleByPath: Map, constrainPrefix?: string): T | undefined; export interface DirectoryHints { [moduleId: number]: string[]; } export interface ModuleWithMembers { id: number; members: Array<{ filePath: string; }>; } /** * Compute directory hints for each module based on current member file paths. * Returns the top 3 directories per module by member count. * * @param modules Array of modules with their members * @returns Map of module ID to top 3 directories */ export declare function computeModuleDirectoryHints(modules: ModuleWithMembers[]): Map; //# sourceMappingURL=module-path-resolver.d.ts.map