import { DesktopNotificationEvent } from './notification-event-type'; /** * Callback for notification events. The specific type of userInfo can be chosen * as long as it's a Record. */ export declare type NotificationCallback = Record> = (event: DesktopNotificationEvent, id: string, userInfo: T) => void; /** * This is used internally to handle notification events sent from the native * side. */ export declare const notificationCallback: NotificationCallback; /** Sets a handler for notification events. */ export declare const onNotificationEvent: = Record>(callback: NotificationCallback | null) => void;