// import {
//   NativeModules,
//   requireNativeComponent,
//   type NativeModule,
// } from 'react-native';

// interface OdpModuleType {
//   start(key: string, host: string): void;
//   uploadLogs(): void;
//   onDestroy(): void;
// }

// export const OdpModule = NativeModules.OdpModule as OdpModuleType &
//   NativeModule;

//   const LINKING_ERROR =
//   `The package 'react-native-ctp-odp' doesn't seem to be linked. Make sure: \n\n` +
//   Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
//   '- You rebuilt the app after installing the package\n' +
//   '- You are not using Expo Go\n';
// type CtpOdpProps = {
//   color: string;
//   style: ViewStyle;
// };
// const ComponentName = 'CtpOdpView';
// export const CtpOdpView =
//   UIManager.getViewManagerConfig(ComponentName) != null
//     ? requireNativeComponent<CtpOdpProps>(ComponentName)
//     : () => {
//         throw new Error(LINKING_ERROR);
//       };
//# sourceMappingURL=OdpModule.js.map