pub fn query_membrane_invitations_events() -> ExternResult<BTreeMap<EntryHashB64, SignedEvent<MembraneInvitationsEvent>>>