export interface CommunitySummarySourceNode { id: string; label: string; source_file: string; source_location: string; safe_source_url: string; file_type: string; degree: number; global_degree?: number; connected_communities?: string[]; confidence: string; } export interface CommunitySummaryNode { id: string; anchor_id: string; label: string; source_file: string; source_location: string; safe_source_url: string; file_type: string; degree: number; global_degree?: number; connected_communities?: string[]; confidence: string; search_text: string; } export interface CommunitySummaryData { summaryNodes: CommunitySummaryNode[]; topNodes: CommunitySummaryNode[]; topFiles: Array<[string, number]>; } export declare function buildCommunitySummaryData(nodes: CommunitySummarySourceNode[]): CommunitySummaryData;