export type HealthStatus = 'healthy' | 'degraded' | 'unavailable' | 'failed'; export interface HealthCheckResult { name: string; status: HealthStatus; source: string; measuredAt: number; detail: string; value?: number; threshold?: number; oldestAgeMs?: number; errorCategory?: string; } export interface HealthSnapshot { version: 1; status: HealthStatus; measuredAt: number; checks: HealthCheckResult[]; } export declare function aggregateHealthStatus(checks: readonly HealthCheckResult[]): HealthStatus; export declare function createHealthSnapshot(checks: HealthCheckResult[], measuredAt?: number): HealthSnapshot; //# sourceMappingURL=health-snapshot.d.ts.map