export interface ImportInfo { importedName: string; localName: string; sourceFile: string; targetFile: string; importType: "named" | "default" | "namespace" | "side-effect"; line: number; resolvedPath?: string; } export interface ExportInfo { exportedName: string; sourceFile: string; isReExport: boolean; originalSource?: string; line: number; } export declare class ImportResolver { private project; private projectRoot; private importGraph; private exportGraph; private pathAliases; private packageJsonPaths; constructor(projectRoot: string); private initializeProject; private findTsConfig; private addProjectFiles; private findFilesRecursively; private loadPathAliases; private loadPackageJsons; /** * Analyzes all imports in the project */ analyzeAllImports(): Promise; private analyzeFileImports; private parseImportDeclaration; private parseDynamicImport; private parseExportDeclaration; /** * Resolves the absolute path of an import */ resolveImportPath(importSpecifier: string, fromFile: string): string | undefined; private findActualFile; /** * Finds all imports for a specific query */ findQueryImports(queryName: string): ImportInfo[]; /** * Traces the complete flow of a query through imports */ traceQueryFlow(queryName: string): Map; /** * Generates a debug report of imports */ generateImportReport(): string; getImportGraph(): Map; getExportGraph(): Map; } //# sourceMappingURL=importResolver.d.ts.map