import { GraphData, GraphNode, GraphLink, DependencyMap } from './types';
export declare class GraphBuilder {
    private nodes;
    private links;
    private changeFrequency;
    buildGraph(files: string[], dependencyMap: DependencyMap): GraphData;
    addNode(filePath: string): GraphNode;
    updateNode(filePath: string, changes: Partial<GraphNode>): GraphNode | null;
    removeNode(filePath: string): boolean;
    addLink(source: string, target: string, type: 'import' | 'require'): GraphLink;
    removeLink(source: string, target: string): boolean;
    getGraphData(): GraphData;
    getNode(filePath: string): GraphNode | undefined;
    private getFileType;
    getStats(): {
        fileCount: number;
        connectionCount: number;
        changeCount: number;
        lastChangeTime: number;
    };
}
