export interface ABTest {
    id: string;
    name: string;
    controlGroup: string[];
    experimentGroup: string[];
    predictions: {
        id: string;
        wasCorrect: boolean;
        group: 'control' | 'experiment';
    }[];
    startedAt: string;
}
export declare class ABTestFramework {
    private tests;
    private counter;
    createTest(name: string, controlSize: number, experimentSize: number): ABTest;
    recordPrediction(testId: string, predictionId: string, wasCorrect: boolean, group: 'control' | 'experiment'): void;
    getAccuracy(testId: string, group: 'control' | 'experiment'): number;
    computeSignificance(testId: string): {
        pValue: number;
        isSignificant: boolean;
        winner: 'control' | 'experiment' | 'none';
    };
    getTest(testId: string): ABTest | undefined;
    getAllTests(): ABTest[];
    getStats(testId: string): {
        controlAccuracy: number;
        experimentAccuracy: number;
        totalPredictions: number;
    };
    private normalCDF;
}
//# sourceMappingURL=ab-test-framework.d.ts.map