1import { NativeModulesProxy, ProxyNativeModule } from '@unimodules/core'; 2 3export interface NotificationBehavior { 4 shouldShowAlert: boolean; 5 shouldPlaySound: boolean; 6 shouldSetBadge: boolean; 7} 8 9export interface NotificationsHandlerModule extends ProxyNativeModule { 10 handleNotificationAsync: ( 11 notificationId: string, 12 notificationBehavior: NotificationBehavior 13 ) => Promise<void>; 14} 15 16export default (NativeModulesProxy.ExpoNotificationsHandlerModule as any) as NotificationsHandlerModule; 17