1import {NativeModules} from 'react-native'; 2 3interface INativeUtils { 4 exitApp: () => void; 5 // getRealPath: (filePath: string) => Promise<string>; 6} 7 8const NativeUtils = NativeModules.NativeUtils; 9 10export default NativeUtils as INativeUtils; 11