/*
    Scanbot SDK ReactNative Module
    Copyright (c) 2017 doo GmbH. All rights reserved.
*/

/**
 * @providesModule react-native-scanbot-sdk
 */

import {NativeModules} from 'react-native';

let ScanbotSDK = NativeModules.ScanbotSDK;
if (!ScanbotSDK) {
  throw Error('ScanbotSDK native module was not loaded.');
}
ScanbotSDK.UI = NativeModules.SBSDKDefaultUi;
ScanbotSDK.Internal = NativeModules.SBSDKInternal;

export default ScanbotSDK;

export * from './components/barcode-camera-view/scanbot-barcode-camera-view';
export * from './components/barcode-camera-view/scanbot-barcode-camera-view-types';
