1import { ProxyNativeModule } from 'expo-modules-core';
2
3export interface BackgroundNotificationTasksModule extends ProxyNativeModule {
4  registerTaskAsync: (taskName: string) => Promise<null>;
5  unregisterTaskAsync: (taskName: string) => Promise<null>;
6}
7
8export enum BackgroundNotificationResult {
9  NoData = 1,
10  NewData = 2,
11  Failed = 3,
12}
13