interface SimDevice { udid: string; name: string; state: "Booted" | "Shutdown" | "Shutting Down" | "Creating"; isAvailable: boolean; runtime: string; deviceTypeIdentifier: string; } declare function listSimulators(): Promise; declare function findDevice(deviceName: string, runtimeFilter?: string): Promise; declare function bootSimulator(udid: string): Promise; declare function shutdownAll(): Promise; declare function eraseSimulator(udid: string): Promise; declare function localizeSimulator(udid: string, language: string, locale?: string): Promise; declare function setInterfaceStyle(udid: string, style: "light" | "dark"): Promise; declare function overrideStatusBar(udid: string, options?: { time?: string; batteryLevel?: number; batteryState?: "charged" | "charging" | "discharging"; wifiMode?: "active" | "searching" | "failed"; cellularMode?: "active" | "searching" | "failed" | "notSupported"; dataNetwork?: "wifi" | "3g" | "4g" | "lte" | "lte-a" | "lte+" | "5g" | "5g+" | "5g-uwb"; }): Promise; interface SnapshotOptions { scheme?: string; workspace?: string; project?: string; devices: string[]; languages: string[]; outputDirectory?: string; clearPreviousScreenshots?: boolean; launchArguments?: string[]; concurrent?: boolean; numberOfRetries?: number; darkMode?: boolean; overrideStatusBar?: boolean; eraseSimulatorBeforeRun?: boolean; derivedDataPath?: string; testPlan?: string; configuration?: string; xcargs?: string; onOutput?: (chunk: string) => void; } interface ScreenshotResult { success: boolean; screenshots: Record>; failedDevices: string[]; } /** * Capture screenshots across a device x language matrix. * * Mirrors Fastlane snapshot's runner: * 1. Validate macOS * 2. Build device x language matrix * 3. For each combination: boot sim, set locale, run xcodebuild test, collect screenshots * 4. Return aggregated ScreenshotResult */ declare function captureScreenshots(options: SnapshotOptions): Promise; type index_ScreenshotResult = ScreenshotResult; type index_SimDevice = SimDevice; type index_SnapshotOptions = SnapshotOptions; declare const index_bootSimulator: typeof bootSimulator; declare const index_captureScreenshots: typeof captureScreenshots; declare const index_eraseSimulator: typeof eraseSimulator; declare const index_findDevice: typeof findDevice; declare const index_listSimulators: typeof listSimulators; declare const index_localizeSimulator: typeof localizeSimulator; declare const index_overrideStatusBar: typeof overrideStatusBar; declare const index_setInterfaceStyle: typeof setInterfaceStyle; declare const index_shutdownAll: typeof shutdownAll; declare namespace index { export { type index_ScreenshotResult as ScreenshotResult, type index_SimDevice as SimDevice, type index_SnapshotOptions as SnapshotOptions, index_bootSimulator as bootSimulator, index_captureScreenshots as captureScreenshots, index_eraseSimulator as eraseSimulator, index_findDevice as findDevice, index_listSimulators as listSimulators, index_localizeSimulator as localizeSimulator, index_overrideStatusBar as overrideStatusBar, index_setInterfaceStyle as setInterfaceStyle, index_shutdownAll as shutdownAll }; } export { type SnapshotOptions as S, type ScreenshotResult as a, bootSimulator as b, captureScreenshots as c, localizeSimulator as d, eraseSimulator as e, findDevice as f, setInterfaceStyle as g, type SimDevice as h, index as i, listSimulators as l, overrideStatusBar as o, shutdownAll as s };