Public declaration syntax from forge-ts/packages/forge-health/src/error.ts Original source SHA-256: 63e498097776b9282ffba0e30e040471d25a75b9834436d0439407718e0473d4 Function bodies and constant values are omitted. This is not the complete implementation. Source line 21 export const ForgeHealthErrorCode /* type inferred in source */; Source line 31 export type ForgeHealthErrorCodeType = (typeof ForgeHealthErrorCode)[keyof typeof ForgeHealthErrorCode]; Source line 52 export class ForgeHealthError extends Error { readonly code: ForgeHealthErrorCodeType; readonly from?: LifecycleStateType; readonly to?: LifecycleStateType; static invalidTransition( from: LifecycleStateType, to: LifecycleStateType, reason: string ): ForgeHealthError; static invalidState(state: LifecycleStateType, reason: string): ForgeHealthError; static monitorError(reason: string): ForgeHealthError; }