import type { SyntaxNode } from "../../../infrastructure/parser/ts-utils.js"; export type CallSite = { readonly call: SyntaxNode; readonly member: string | null; readonly receiver: SyntaxNode | null; /** Dotted spelling of the callee, for a diagnostic core. */ readonly calleeText: string; readonly ownerOperation: string; }; /** * Every call inside a declaration body, tagged with the operation that owns it. * The owner is the qualified name a linker reads, not a display label. */ export declare function callSitesOf(root: SyntaxNode): readonly CallSite[]; /** The class a definition sits in, for the ancestry walk. */ export declare function classOfDefinition(node: SyntaxNode): string | null;