// pkg/notification/messages.go package notification // QueryPermission checks notification authorisation. Result: PermissionStatus type QueryPermission struct{} // TaskSend sends a notification. Falls back to dialog if platform fails. type TaskSend struct{ Opts NotificationOptions } // TaskRequestPermission requests notification authorisation. Result: bool (granted) type TaskRequestPermission struct{} // TaskClear clears pending notifications when the backend supports it. type TaskClear struct{} // ActionNotificationClicked is broadcast when a notification is clicked. type ActionNotificationClicked struct{ ID string }