Public declaration syntax from forge-ts/packages/forge-health/src/reporting.ts Original source SHA-256: c0437f725edf2fc0a1356473f4099994d519a36ab2a068cb54690a895139629b Function bodies and constant values are omitted. This is not the complete implementation. Source line 40 export type HealthStatus = | { readonly status: 'healthy' } | { readonly status: 'degraded'; readonly reasons: readonly string[] } | { readonly status: 'critical'; readonly reasons: readonly string[] }; Source line 50 export function healthy(): HealthStatus; Source line 60 export function degraded(reasons: string[]): HealthStatus; Source line 70 export function critical(reasons: string[]): HealthStatus; Source line 86 export function isHealthy(status: HealthStatus): boolean; Source line 102 export function isCritical(status: HealthStatus): boolean; Source line 118 export function reasons(status: HealthStatus): readonly string[]; Source line 151 export class HealthReport { readonly status: HealthStatus; readonly profile: HealthProfile; readonly lifecycleState: LifecycleStateType; readonly generatedAt: Timestamp; constructor( status: HealthStatus, profile: HealthProfile, lifecycleState: LifecycleStateType ); toJSON(): Record; }