import { KnowledgeGraph } from '../contracts/graph.js'; export interface GraphSummaryTopModule { label: string; degree: number; } export interface GraphSummaryEntrypoint { label: string; source_file: string; } export interface GraphSummaryRuntimePath { from: string; to: string; hops: number; } export interface GraphSummary { graph_version?: string; generated_at?: string; node_count: number; edge_count: number; file_count: number; community_count: number; source_domains: Record; source_domains_status?: 'not_detected'; source_domains_reason?: string; frameworks: string[]; top_modules: GraphSummaryTopModule[]; entrypoints: GraphSummaryEntrypoint[]; runtime_paths: GraphSummaryRuntimePath[]; runtime_paths_status?: 'not_detected'; runtime_paths_reason?: string; } export declare function buildGraphSummary(graph: KnowledgeGraph): GraphSummary;