import type { SymbolDefinition, ImportStatement, FileMetadata } from "./types"; /** * Configuration for path resolution */ export interface ResolverConfig { baseUrl?: string; paths?: Record; rootDir?: string; } /** * Resolves imports to actual file paths and symbols. * Uses priority-based resolution with confidence scoring. */ export declare class SymbolResolver { private config; private fileIndex; private symbolIndex; constructor(config?: ResolverConfig); /** * Index a file's metadata for resolution. */ indexFile(metadata: FileMetadata): void; /** * Resolve an import to a file path. */ resolveImportPath(importStmt: ImportStatement, fromFile: string): string | null; /** * Resolve a symbol name to its definition(s). * Returns results with confidence scores. */ resolveSymbol(symbolName: string, fromFile: string): Array<{ symbol: SymbolDefinition; confidence: number; }>; /** * Find all symbols exported from a file. */ getExportedSymbols(filePath: string): SymbolDefinition[]; /** * Get all files that could provide a symbol by name. */ getFilesProvidingSymbol(symbolName: string): string[]; /** * Clear all indexed data. */ clear(): void; private resolvePathAlias; private resolveRelativePath; private resolveAbsolutePath; private calculateConfidence; } //# sourceMappingURL=symbol-resolver.d.ts.map