#import "React/RCTBridgeModule.h"
#import "React/RCTEventEmitter.h"
#import "React/RCTViewManager.h"

@interface RCT_EXTERN_MODULE(PersonaInquiry2, RCTEventEmitter)

RCT_EXTERN_METHOD(startInquiry:(NSDictionary *)options)

@end

@interface RCT_EXTERN_MODULE(PersonaInquiryView, RCTViewManager)

RCT_EXPORT_VIEW_PROPERTY(inquiry, NSDictionary)
RCT_EXPORT_VIEW_PROPERTY(onComplete, RCTDirectEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onCanceled, RCTDirectEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onError, RCTDirectEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onEvent, RCTDirectEventBlock)
RCT_EXPORT_VIEW_PROPERTY(onReady, RCTDirectEventBlock)

RCT_EXTERN_METHOD(create:(nonnull NSNumber *)reactTag withViewId:(nonnull NSNumber *)viewId)

@end
