import { ensureSimulatorAppRunningAsync } from './apple/utils/ensureSimulatorAppRunningAsync'; import { SimControl } from './internal'; export declare function isPlatformSupported(): boolean; /** * Ensure Xcode is installed an recent enough to be used with Expo. * * @return true when Xcode is installed, false when the process should end. */ export declare function ensureXcodeInstalledAsync(): Promise; export declare function ensureXcodeCommandLineToolsInstalledAsync(): Promise; export declare function isSimulatorInstalledAsync(): Promise; /** * Ensure a simulator is booted and the Simulator app is opened. * This is where any timeout related error handling should live. */ export declare function ensureSimulatorOpenAsync({ udid, osType }?: { udid?: string; osType?: string; }, tryAgain?: boolean): Promise; export declare function isSimulatorBootedAsync({ udid, }?: { udid?: string; }): Promise; export declare function activateSimulatorWindowAsync(): Promise; export declare function closeSimulatorAppAsync(): Promise; export declare function isExpoClientInstalledOnSimulatorAsync({ udid, }: { udid: string; }): Promise; export declare function waitForExpoClientInstalledOnSimulatorAsync({ udid, }: { udid: string; }): Promise; export declare function waitForExpoClientUninstalledOnSimulatorAsync({ udid, }: { udid: string; }): Promise; export declare function expoVersionOnSimulatorAsync({ udid, }: { udid: string; }): Promise; export declare function doesExpoClientNeedUpdatedAsync(simulator: Pick, sdkVersion?: string): Promise; export declare function _downloadSimulatorAppAsync(url?: string, downloadProgressCallback?: (roundedProgress: number) => void): Promise; export declare function installExpoOnSimulatorAsync({ url, simulator, version, }: { simulator: Pick; url?: string; version?: string; }): Promise; export declare function uninstallExpoAppFromSimulatorAsync({ udid }?: { udid?: string; }): Promise; export declare function upgradeExpoAsync(options?: { udid?: string; url?: string; version?: string; }): Promise; export declare function resolveApplicationIdAsync(projectRoot: string): Promise; export declare function openProjectAsync({ projectRoot, shouldPrompt, devClient, udid, scheme, skipNativeLogs, applicationId, }: { projectRoot: string; shouldPrompt?: boolean; devClient?: boolean; scheme?: string; udid?: string; skipNativeLogs?: boolean; applicationId?: string; }): Promise<{ success: true; url: string; udid: string; bundleIdentifier: string; } | { success: false; error: string; }>; export declare function streamLogsAsync({ bundleIdentifier, udid, }: { bundleIdentifier: string; udid: string; }): Promise; export declare function openWebProjectAsync({ projectRoot, shouldPrompt, }: { shouldPrompt: boolean; projectRoot: string; }): Promise<{ success: true; url: string; } | { success: false; error: string; }>; /** * Sort the devices so the last simulator that was opened (user's default) is the first suggested. * * @param devices */ export declare function sortDefaultDeviceToBeginningAsync(devices: SimControl.SimulatorDevice[], osType?: string): Promise; export declare function promptForSimulatorAsync(devices: SimControl.SimulatorDevice[], osType?: string): Promise; export { ensureSimulatorAppRunningAsync };