1import { NativeModules } from 'react-native';
2import './setUpErrorHandler.fx';
3
4export { disableErrorHandling } from './DevLauncherErrorManager';
5
6export function registerErrorHandlers() {
7  console.warn(
8    'DevLauncher.registerErrorHandlers has been deprecated. To enable error handlers you need to import "expo-dev-launcher" at the top of your index.js.'
9  );
10}
11
12export function isDevelopmentBuild(): boolean {
13  return !!NativeModules.EXDevLauncher;
14}
15
16export type DevLauncherExtension = {
17  navigateToLauncherAsync: () => Promise<void>;
18};
19