import { ConfigManager } from '../../config/config-manager.js';
import { AnalysisResult, CodeReview, MetricsHistory, HistoryEntry, CodeMetrics } from './types.js';
export declare class CodeAnalysisStore {
    private storageManager;
    private moduleName;
    constructor(configManager: ConfigManager);
    initialize(): Promise<void>;
    saveAnalysisResult(result: AnalysisResult): Promise<void>;
    getAnalysisHistory(limit?: number): Promise<AnalysisResult[]>;
    getLatestAnalysis(): Promise<AnalysisResult | null>;
    saveCodeReview(review: CodeReview): Promise<void>;
    getCodeReviews(fileFilter?: string): Promise<CodeReview[]>;
    saveMetricsHistory(projectId: string, entry: HistoryEntry): Promise<void>;
    getMetricsHistory(projectId: string): Promise<MetricsHistory | null>;
    setBaseline(projectId: string, commit: string, metrics: CodeMetrics): Promise<void>;
    getMetricsTrend(projectId: string, metricPath: string, days?: number): Promise<Array<{
        timestamp: string;
        value: number;
    }>>;
    getQualityScore(projectId: string): Promise<number>;
    private getNestedValue;
    saveCustomRules(projectId: string, rules: any[]): Promise<void>;
    getCustomRules(projectId: string): Promise<any[]>;
    exportAnalysisData(projectId: string): Promise<any>;
    importAnalysisData(projectId: string, data: any): Promise<void>;
    cleanupOldData(daysToKeep?: number): Promise<number>;
}
//# sourceMappingURL=store.d.ts.map