/** * Monitoring utilities for test performance and metrics */ export type MonitoringTestMetrics = { suite: string; test: string; duration: number; status: 'passed' | 'failed' | 'skipped'; memoryUsage: NodeJS.MemoryUsage; timestamp: number; }; export type MonitoringConfig = { enabled: boolean; collectMetrics: boolean; reportToConsole: boolean; reportToFile?: string; webhookUrl?: string; retentionPeriod: number; }; export declare class TestMonitor { private metrics; private readonly config; constructor(config?: Partial); recordTestStart(suite: string, test: string): () => void; recordTestFailure(suite: string, test: string): void; recordTestSkip(suite: string, test: string): void; getMetrics(): MonitoringTestMetrics[]; getAggregatedMetrics(): { summary: { total: number; passed: number; failed: number; skipped: number; passRate: number; }; performance: { avgDuration: number; maxDuration: number; minDuration: number; }; }; clearOldMetrics(): void; private reportMetric; } export declare const globalMonitor: TestMonitor; //# sourceMappingURL=index.d.ts.map