import { KnowledgeGraph as FileGraph } from '../../03-knowledge/graph/knowledge-graph-builder';
export interface PatternGraphNode {
    id: string;
    type: string;
    label: string;
    weight: number;
}
export interface PatternGraphEdge {
    from: string;
    to: string;
    type: string;
    weight: number;
}
export interface TechProficiency {
    technology: string;
    category: string;
    signalsCount: number;
    proficiencyScore: number;
    lastSeen: string;
    trend: 'up' | 'down' | 'stable';
}
export interface BlastRadius {
    target: string;
    riskScore: number;
    dependents: string[];
    totalFiles: number;
    complexity: number;
    recommendation: string;
}
export declare function saveFileKnowledgeGraph(project: string, dirPath: string): FileGraph;
export declare function getFileKnowledgeGraph(project: string): {
    files: Array<{
        file: string;
        complexity: number;
        importedBy: number;
        isEntryPoint: boolean;
        riskScore: number;
    }>;
    deps: Array<{
        from: string;
        to: string;
    }>;
    stats: {
        totalFiles: number;
        totalDeps: number;
        avgComplexity: number;
        highRiskCount: number;
    };
};
export declare function savePatternEntities(project: string, nodes: PatternGraphNode[]): number;
export declare function savePatternRelationships(project: string, edges: PatternGraphEdge[]): number;
export declare function getPatternGraphStats(project: string): {
    totalNodes: number;
    totalEdges: number;
    byType: Record<string, number>;
    byRelType: Record<string, number>;
};
export declare function saveTechProficiency(project: string, tech: TechProficiency): void;
export declare function getTechProficiency(project: string): TechProficiency[];
export declare function computeBlastRadius(project: string, targetFile: string): BlastRadius;
export declare function getTopBlastRadii(project: string, limit?: number): BlastRadius[];
export declare function getPredictiveInsights(project: string, limit?: number): Array<{
    type: string;
    target: string;
    score: number;
    recommendation: string;
    createdAt: string;
}>;
//# sourceMappingURL=knowledge-graph-store.d.ts.map