Public declaration syntax from forge-swift/Sources/ForgeHealth/Events.swift Original source SHA-256: f76f5f4daca51c08bb013c01889cb5b8775e87323ba9879c7efee1b7c18c047e Function bodies and constant values are omitted. This is not the complete implementation. Source line 15 public struct LifecycleEvent: Codable, Sendable Source line 17 public let from: LifecycleState /// The state after the transition. public let to: LifecycleState /// When the transition occurred. public let timestamp: Timestamp /// Optional reason for the transition. public let reason: String? /// The agent DID (if available). public let agentDid: String? public init( from: LifecycleState, to: LifecycleState, timestamp: Timestamp; Source line 19 public let to: LifecycleState /// When the transition occurred. public let timestamp: Timestamp /// Optional reason for the transition. public let reason: String? /// The agent DID (if available). public let agentDid: String? public init( from: LifecycleState, to: LifecycleState, timestamp: Timestamp; Source line 21 public let timestamp: Timestamp /// Optional reason for the transition. public let reason: String? /// The agent DID (if available). public let agentDid: String? public init( from: LifecycleState, to: LifecycleState, timestamp: Timestamp; Source line 23 public let reason: String? /// The agent DID (if available). public let agentDid: String? public init( from: LifecycleState, to: LifecycleState, timestamp: Timestamp; Source line 25 public let agentDid: String? public init( from: LifecycleState, to: LifecycleState, timestamp: Timestamp; Source line 27 public init( from: LifecycleState, to: LifecycleState, timestamp: Timestamp; Source line 48 public static func from( transition: LifecycleTransition, reason: String?; Source line 65 public func toForgeEvent() -> ForgeEvent