
#if !defined(RCT_NEW_ARCH_ENABLED)

#ifndef RNScanbotBarcodeScannerLegacyView_h
#define RNScanbotBarcodeScannerLegacyView_h

#import <React/UIView+React.h>
#import <React/RCTComponent.h>

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

@interface RNScanbotBarcodeScannerLegacyView: UIView
@property (nonatomic, copy) RCTDirectEventBlock _Nonnull onBarcodeScannerResult;
@property (nonatomic, copy) RCTDirectEventBlock _Nonnull onSelectBarcodeResult;
@property (nonatomic, copy) RCTDirectEventBlock _Nonnull onError;

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

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

