import { ConfigManager } from '../../config/config-manager.js';
import { TestResult, TestHistory, TestComparison, FlakyTest, TestBaseline } from './types.js';
export declare class TestingStore {
    private storageManager;
    private moduleName;
    constructor(configManager: ConfigManager);
    initialize(): Promise<void>;
    saveTestResult(result: TestResult): Promise<void>;
    getTestHistory(limit?: number): Promise<TestResult[]>;
    getLatestTestResult(): Promise<TestResult | null>;
    saveCoverageData(coverage: any): Promise<void>;
    getLatestCoverage(): Promise<any | null>;
    getCoverageHistory(days?: number): Promise<any[]>;
    trackFlakyTest(testName: string, suiteName: string, passed: boolean): Promise<void>;
    getFlakyTests(threshold?: number): Promise<FlakyTest[]>;
    setTestBaseline(name: string, baseline: TestBaseline): Promise<void>;
    getTestBaseline(name: string): Promise<TestBaseline | null>;
    getAllBaselines(): Promise<Record<string, TestBaseline>>;
    getTestHistoryForProject(projectId: string): Promise<TestHistory>;
    compareTestResults(baselineId: string, currentId: string): Promise<TestComparison>;
    saveFlakyTests(tests: FlakyTest[]): Promise<void>;
    setBaseline(resultId: string, projectId: string): Promise<void>;
    getTestResultById(id: string): Promise<TestResult | null>;
    getTestTrend(testName: string, days?: number): Promise<Array<{
        timestamp: string;
        passed: boolean;
        duration?: number;
    }>>;
    getSuccessRate(days?: number): Promise<number>;
    exportTestData(): Promise<any>;
    importTestData(data: any): Promise<void>;
    cleanupOldData(daysToKeep?: number): Promise<number>;
}
//# sourceMappingURL=store.d.ts.map