import { BaselineCalculator, type MetricPoint } from './baseline-calculator'; export interface AnomalyThresholds { errorRateDelta?: number; latencyDelta?: number; throughputDrop?: number; minSamples?: number; } export interface AnomalySignal { type: 'error_rate_spike' | 'latency_regression' | 'throughput_drop'; delta: number; point: MetricPoint; baseline: ReturnType; } export declare class AnomalyDetector { private readonly baseline; private readonly thresholds; constructor(options?: AnomalyThresholds); evaluate(point: MetricPoint): AnomalySignal[]; private relativeDelta; private relativeDrop; }