You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
752 B

import { ExpoConfig } from '@expo/config';
import { StartDevServerOptions } from '../internal';
/**
* Sends a message over web sockets to any connected device,
* does nothing when the dev server is not running.
*
* @param method name of the command. In RN projects `reload`, and `devMenu` are available. In Expo Go, `sendDevCommand` is available.
* @param params
*/
export declare function broadcastMessage(method: 'reload' | 'devMenu' | 'sendDevCommand', params?: Record<string, any> | undefined): void;
export declare function startAsync(projectRoot: string, { exp, ...options }?: StartDevServerOptions & {
exp?: ExpoConfig;
}, verbose?: boolean): Promise<ExpoConfig>;
export declare function stopAsync(projectRoot: string): Promise<void>;