import type Database from 'better-sqlite3'; import type { EnrichedModuleCallEdge, ModuleCallEdge } from '../schema.js'; import type { InteractionRepository } from './interaction-repository.js'; /** * Service for module-level call graph analysis. * Extracted from InteractionRepository to separate call graph analysis from CRUD. */ export declare class CallGraphService { private db; constructor(db: Database.Database); /** * Get the module-level call graph (for detecting interactions). */ getModuleCallGraph(): ModuleCallEdge[]; /** * Get enriched module-level call graph with symbol details. * When moduleIds is provided, only returns edges touching those modules. */ getEnrichedModuleCallGraph(moduleIds?: Set): EnrichedModuleCallEdge[]; /** * Sync interactions from the module call graph. * Creates or updates interactions based on detected module edges. */ syncFromCallGraph(interactionRepo: InteractionRepository): { created: number; updated: number; }; } //# sourceMappingURL=call-graph-service.d.ts.map