import type { ABTestConfig, ABTestDataPoint, ABTestResult } from "../types.js"; interface StoredABTest { testId: string; ruleId: string; config: ABTestConfig; dataPoints: ABTestDataPoint[]; createdAt: string; } /** Result of starting an A/B test. */ export interface StartABTestResult { testId: string; status: "started" | "already_running" | "invalid_config"; startTime: string; endTime?: string; message: string; } export declare function loadTests(projectDir: string): StoredABTest[]; export declare function saveTests(projectDir: string, tests: StoredABTest[]): void; export declare function startABTest(projectDir: string, config: ABTestConfig): StartABTestResult; export declare function collectDataPoint(projectDir: string, testId: string, dataPoint: ABTestDataPoint): { collected: boolean; message: string; }; export declare function analyzeTest(projectDir: string, testId?: string): ABTestResult[]; export {}; //# sourceMappingURL=manager.d.ts.map