Function useNotifications
useNotifications(): { close: (notification: Notification) => void; getPermissionState: () => NotificationPermission; isSupported: boolean; requestPermission: () => Promise<NotificationPermission>; show: ( title: string, options?: CustomNotificationOptions, ) => Promise<null | Notification>;} Returns {
close: (notification: Notification) => void;
getPermissionState: () => NotificationPermission;
isSupported: boolean;
requestPermission: () => Promise<NotificationPermission>;
show: (
title: string,
options?: CustomNotificationOptions,
) => Promise<null | Notification>;
}