/** * Import path resolution for wiring consumer inspection. * * Adapted from codebase-explorer * `src/reconcile/featureCompleteness/importPathResolver.ts`. * * FilePathIndex keeps lookups O(1) — linear scans over 10k+ files made * full Capsule-Pro inspection unusable as a repo-wide gate. */ export declare function normalizeRepoPath(path: string): string; /** Precomputed path lookup tables for a scan universe. */ export declare class FilePathIndex { private readonly caseInsensitive; private readonly exact; /** Trailing path fragments → canonical file key (shortest wins). */ private readonly byTail; constructor(fileContents: Map, caseInsensitive: boolean); private setExact; private indexTails; private setTail; findExact(candidate: string): string | undefined; findWithSuffix(suffix: string): string | undefined; } export declare function resolveImportPath(fromFile: string, specifier: string, fileContents: Map, caseInsensitive: boolean): string | undefined; export declare function parseImportSpecifiers(content: string): Array<{ symbols: string[]; specifier: string; }>; export declare function parseSideEffectImports(content: string): string[]; export declare function resolveLocalImportClosure(entryFile: string, fileContents: Map, caseInsensitive: boolean, maxDepth?: number): string[]; //# sourceMappingURL=import-path-resolver.d.ts.map