//
//  RangersAppLogEmitter.h
//  Pods
//
//  Created by bytedance on 2022/6/24.
//


#if __has_include(<React/RCTBridge.h>)
#import <React/RCTBridge.h>
#else
#import "RCTBridge.h"
#endif

#if __has_include(<React/RCTEventEmitter.h>)
#import <React/RCTEventEmitter.h>
#else
#import "RCTEventEmitter.h"
#endif

#if __has_include(<React/RCTRootView.h>)
#import <React/RCTRootView.h>
#else
#import "RCTRootView.h"
#endif

@interface RangersAppLogEmitter : RCTEventEmitter <RCTBridgeModule>

+ (void)sendEvent:(nonnull NSString *) name body:(nullable NSDictionary *)body widthBridge:(nonnull RCTBridge *) bridge;

+ (void)sendPageShowEvent:(nullable NSDictionary *) params widthBridge:(nonnull RCTBridge *) bridge;

+ (void)sendPageHideEvent:(nullable NSDictionary *) params widthBridge:(nonnull RCTBridge *) bridge;

+ (void)sendPageShowEventByRootView:(nonnull RCTRootView *) rootView withParams:(nullable NSDictionary *) params;

+ (void)sendPageHideEventByRootView:(nonnull RCTRootView *) rootView withParams:(nullable NSDictionary *) params;

+ (void)sendPagePickerEventByRootView:(nonnull RCTRootView *) rootView withParams:(nullable NSDictionary *) params;

@end
