import type { XcodeVersion } from 'appium-xcode'; import type { Ios } from '@limrun/api'; export declare const SAFARI_STARTUP_TIMEOUT_MS: number; export declare const MOBILE_SAFARI_BUNDLE_ID = "com.apple.mobilesafari"; export declare const SIMULATOR_APP_NAME = "Simulator.app"; export declare const MIN_SUPPORTED_XCODE_VERSION = 14; /** * @param timeout - Timeout in milliseconds (default: DEFAULT_SIM_SHUTDOWN_TIMEOUT_MS). * @returns Promise that resolves when all simulators are killed. */ export declare function killAllSimulators(timeout?: number): Promise; export interface SimulatorInfoOptions { devicesSetPath?: string | null; limClient?: import('@limrun/api').Ios.InstanceClient; } /** * @param udid - The simulator UDID. * @param opts - Options including devicesSetPath and limClient. * @returns Promise that resolves to simulator info or undefined if not found. */ export declare function getSimulatorInfo(udid: string, opts?: SimulatorInfoOptions): Promise; /** * @param udid - The simulator UDID. * @returns Promise that resolves to true if simulator exists, false otherwise. */ export declare function simExists(udid: string): Promise; /** * @returns Promise that resolves to the developer root path. */ export declare function getDeveloperRoot(): Promise; /** * Asserts that the Xcode version meets the minimum supported version requirement. * * @template V - The Xcode version type. * @param xcodeVersion - The Xcode version to check. * @returns The same Xcode version if it meets the requirement. * @throws {Error} If the Xcode version is below the minimum supported version. */ export declare function assertXcodeVersion(xcodeVersion: V): V; export interface GetDevicesOptions { devicesSetPath?: string | null; limClient?: Ios.InstanceClient; } /** * @param opts - Options including devicesSetPath and limClient * @returns Promise that resolves to a record of devices grouped by SDK version */ export declare function getDevices(opts?: GetDevicesOptions): Promise>; //# sourceMappingURL=utils.d.ts.map