import type { Domain } from '../domains/constants.js'; export interface LinkGraph { nodes: LinkNode[]; edges: LinkEdge[]; } export interface LinkNode { id: string; path: string; domain: Domain | null; title?: string; inDegree: number; outDegree: number; } export interface LinkEdge { source: string; target: string; linkText: string; lineNumber: number; } export interface DomainConnectionMatrix { domains: Domain[]; matrix: number[][]; totalConnections: number; } /** * Build a complete link graph for the documentation */ export declare function buildLinkGraph(docsPath: string): Promise; /** * Build a domain connection matrix showing how domains link to each other */ export declare function buildDomainConnectionMatrix(docsPath: string): Promise; /** * Get top connected domain pairs */ export declare function getTopConnectedDomains(docsPath: string, limit?: number): Promise<{ from: Domain; to: Domain; count: number; }[]>; /** * Get backlinks for a specific file */ export declare function getBacklinks(targetFile: string, docsPath: string): Promise<{ source: string; linkText: string; lineNumber: number; }[]>; /** * Find orphan files (files with no incoming links) */ export declare function findOrphanFiles(docsPath: string): Promise; /** * Find highly connected files (hubs) */ export declare function findHubFiles(docsPath: string, minDegree?: number): Promise; /** * Get link statistics summary */ export declare function getLinkStatistics(docsPath: string): Promise<{ totalNodes: number; totalEdges: number; avgInDegree: number; avgOutDegree: number; orphanCount: number; hubCount: number; crossDomainPercentage: number; }>; //# sourceMappingURL=tracker.d.ts.map