/** * Copyright (c) 2025 Mihajlo Stojanovski * All rights reserved. */ import { NormalizedSystemMetrics } from "../telemetry/collectors/common"; import { Finding, TestResultLite, TelemetryWindow } from "../types"; /** * Correlation Engine * Enterprise principle: pure function, correlation language (not causation), capped. */ export declare class CorrelationEngine { /** * Correlate failed tests with telemetry windows to identify infrastructure issues * Detects elevated CPU load, memory pressure, CPU steal, and I/O wait during test failures * * @param failedTests - Array of failed test results * @param telemetry - Array of system telemetry samples * @returns Array of correlation findings (not causation - requires human interpretation) */ static correlate(failedTests: TestResultLite[], telemetry: NormalizedSystemMetrics[]): Finding[]; /** * Get telemetry window for a test. */ static getWindowSummary(test: TestResultLite, telemetry: NormalizedSystemMetrics[]): TelemetryWindow | null; private static getWindow; } //# sourceMappingURL=correlate.d.ts.map