import { NativeModules } from 'react-native' ; interface RNIWrapperViewModule { notifyComponentWillUnmount ( node , params ) : void ; } ; const MODULE_NAME = "RNIWrapperViewModule" ; export const RNIWrapperViewModule = NativeModules [ MODULE_NAME ] ;