import { NativeModules } from 'react-native'
import { ApxorWidget } from './apxor_embedded_view'
import ApxorStoryWidget from './apxor_story_widget'

type RNApxorRTMPluginType = object

const { RNApxorRTMPlugin } = NativeModules

export default RNApxorRTMPlugin as RNApxorRTMPluginType

export { ApxorWidget, ApxorStoryWidget }
