import { EventEmitter } from '@omnitron-dev/eventemitter'; import type { ILogger } from '@omnitron-dev/titan/module/logger'; import type { IHealthStatus, ServiceProxy, IProcessOptions } from './types.js'; export declare class ProcessHealthChecker extends EventEmitter { private readonly logger; private checkers; private healthHistory; private failureCounts; private checkInProgress; private criticalEmitted; constructor(logger: ILogger); startMonitoring(processId: string, proxy: ServiceProxy, options: IProcessOptions['health']): void; stopMonitoring(processId: string): void; destroy(): void; getHealth(processId: string): IHealthStatus | null; getHealthHistory(processId: string): IHealthStatus[]; isHealthy(processId: string): boolean; private performHealthCheck; private checkHealth; private basicHealthCheck; private recordHealth; private withTimeout; private delay; analyzeTrends(processId: string): { trend: 'improving' | 'degrading' | 'stable'; availability: number; avgResponseTime?: number; }; getDegradationStrategy(processId: string): { action: 'continue' | 'reduce_load' | 'circuit_break' | 'replace'; loadReductionPercent?: number; reason: string; }; shouldReduceLoad(processId: string): { reduce: boolean; percent: number; }; } //# sourceMappingURL=process-health.d.ts.map