export interface Reference { file: string; line: number; column?: number; context: string; type: "import" | "usage" | "unknown"; } export interface ReferenceFinderOptions { cwd: string; excludeFiles?: string[]; maxResults?: number; } /** * Find references to a symbol using grep (fallback when LSP unavailable) * This is a best-effort search - not as accurate as LSP but works everywhere */ export declare function findReferencesGrep(symbol: string, options: ReferenceFinderOptions): Promise; /** * Find files that import a specific file * More accurate than symbol search for finding dependents */ export declare function findImportersOf(targetFile: string, options: ReferenceFinderOptions): Promise; /** * Find all references to exports from a file * Combines symbol search with import search for better coverage */ export declare function findAllReferencesToFile(targetFile: string, exportedSymbols: string[], options: ReferenceFinderOptions): Promise; //# sourceMappingURL=references.d.ts.map