import Foundation protocol XmppModule: Identifiable { var id: String { get } func reduce(oldState: ClientState, with event: Event) -> ClientState func process(state: ClientState, with event: Event) async -> Event? }