/** * Extract symbol references from a chunk's content. * * This is a cheap, language-agnostic heuristic: find identifier-shaped tokens * that look like function calls (`foo(`), class instantiations (`new Foo`), * decorators, JSX components, or Java/C#-style type usages. We skip language * keywords and self-references. * * It's not a type resolver — matches are by name. Multiple functions with the * same name across files will all appear as "impacted" when queried. That's * good enough for PageRank boosting and impact analysis, and significantly * cheaper than running a real LSP. */ /** * Extract referenced symbol names from a chunk's body. * Returns a list of { name, line } where line is 0-indexed offset within the chunk. */ export declare function extractReferences(content: string, selfName?: string | null): { name: string; line: number; }[];