
#import <UserNotifications/UserNotifications.h>

#ifdef RCT_NEW_ARCH_ENABLED
#import "RNLibraryRnSpec.h"
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>

@interface ReReactNativeSDK : RCTEventEmitter <NativeLibraryRnSpec>
#else
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>

@interface ReReactNativeSDK : RCTEventEmitter <RCTBridgeModule>
#endif

- (void)initSdkWithAppId:(NSString *)appId;
+ (void)willPresentNotification:(UNNotification *)notification
         withCompletionHandler:(void (^)(UNNotificationPresentationOptions options))completionHandler;
+ didReceiveRemoteNotification:(nonnull NSDictionary *)userInfo;

- (void) didReceiveNotificationResponse:(UNNotificationResponse *)response;

- (void) continueUserActivity:(nonnull NSUserActivity *)userActivity;

- (void) openURL:(NSURL *)url;
@end
