
#if !defined(RCT_NEW_ARCH_ENABLED)

#ifndef RNScanbotBarcodeScannerLegacyView_h
#define RNScanbotBarcodeScannerLegacyView_h

#import "RNScanbotBarcodeScannerViewControllerWrapper.h"
#import <React/RCTComponent.h>
#import "BarcodeItem.h"

@interface RNScanbotBarcodeScannerLegacyView: UIView<    
    SBSDKBarcodeScannerViewControllerDelegate,
    SBSDKBarcodeTrackingOverlayControllerDelegate
>
@property (nonatomic, copy) RCTDirectEventBlock onBarcodeScannerResult;
@property (nonatomic, copy) RCTDirectEventBlock onSelectBarcodeResult;

- (void) freezeCamera;
- (void) unfreezeCamera;
- (void) bindBarcodeItemOverlayView:(nonnull NSString *)barcodeItemUuid bindingConfig:(nonnull NSString *)bindingConfigJson;
@end

#endif /* RNScanbotBarcodeScannerPaperView_h */
#endif /* Old Arch */
