Safari(MacOS) Push Notification Click Event

I have integrated Safari Remote Web Push notification on macos as per the instructions given under

https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html

I am getting the push notifications as well but I can't see any information on how to capture 'Notification click' or 'Notification show' event anywhere in the documentation. Can someone please help me with the same?
STEPS TO REPRODUCE
Setup Safari web push notification as per steps mentioned in
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html

Click on the notification pushed from the backend/remote server. Click on it.