1{"version":3,"file":"NotificationsHandlerModule.js","sourceRoot":"","sources":["../src/NotificationsHandlerModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAqB,MAAM,kBAAkB,CAAC;AAuBzE,eAAgB,kBAAkB,CAAC,8BAAoE,CAAC","sourcesContent":["import { NativeModulesProxy, ProxyNativeModule } from '@unimodules/core';\n\nexport interface BaseNotificationBehavior {\n  shouldShowAlert: boolean;\n  shouldPlaySound: boolean;\n  shouldSetBadge: boolean;\n}\n\nexport interface AndroidNotificationBehavior extends BaseNotificationBehavior {\n  priority?: 'min' | 'low' | 'default' | 'high' | 'max';\n}\n\nexport interface IosNotificationBehavior extends BaseNotificationBehavior {}\n\nexport type NativeNotificationBehavior = AndroidNotificationBehavior | IosNotificationBehavior;\n\nexport interface NotificationsHandlerModule extends ProxyNativeModule {\n  handleNotificationAsync: (\n    notificationId: string,\n    notificationBehavior: NativeNotificationBehavior\n  ) => Promise<void>;\n}\n\nexport default (NativeModulesProxy.ExpoNotificationsHandlerModule as any) as NotificationsHandlerModule;\n"]}