import * as addmediaCommands from './subcommands/addmedia'; import * as appinfoCommands from './subcommands/appinfo'; import * as bootCommands from './subcommands/boot'; import * as bootstatusCommands from './subcommands/bootstatus'; import * as createCommands from './subcommands/create'; import * as deleteCommands from './subcommands/delete'; import * as eraseCommands from './subcommands/erase'; import * as getappcontainerCommands from './subcommands/get_app_container'; import * as installCommands from './subcommands/install'; import * as ioCommands from './subcommands/io'; import * as keychainCommands from './subcommands/keychain'; import * as launchCommands from './subcommands/launch'; import * as listCommands from './subcommands/list'; import * as openurlCommands from './subcommands/openurl'; import * as pbcopyCommands from './subcommands/pbcopy'; import * as pbpasteCommands from './subcommands/pbpaste'; import * as privacyCommands from './subcommands/privacy'; import * as pushCommands from './subcommands/push'; import * as envCommands from './subcommands/getenv'; import * as shutdownCommands from './subcommands/shutdown'; import * as spawnCommands from './subcommands/spawn'; import * as terminateCommands from './subcommands/terminate'; import * as uiCommands from './subcommands/ui'; import * as uninstallCommands from './subcommands/uninstall'; import * as locationCommands from './subcommands/location'; import type { ExecOpts, SimctlOpts, ExecResult } from './types'; export declare class Simctl { addMedia: typeof addmediaCommands.addMedia; appInfo: typeof appinfoCommands.appInfo; bootDevice: typeof bootCommands.bootDevice; startBootMonitor: typeof bootstatusCommands.startBootMonitor; createDevice: typeof createCommands.createDevice; deleteDevice: typeof deleteCommands.deleteDevice; eraseDevice: typeof eraseCommands.eraseDevice; getAppContainer: typeof getappcontainerCommands.getAppContainer; getEnv: typeof envCommands.getEnv; installApp: typeof installCommands.installApp; getScreenshot: typeof ioCommands.getScreenshot; addRootCertificate: typeof keychainCommands.addRootCertificate; addCertificate: typeof keychainCommands.addCertificate; resetKeychain: typeof keychainCommands.resetKeychain; launchApp: typeof launchCommands.launchApp; getDevicesByParsing: typeof listCommands.getDevicesByParsing; getDevices: typeof listCommands.getDevices; getRuntimeForPlatformVersionViaJson: typeof listCommands.getRuntimeForPlatformVersionViaJson; getRuntimeForPlatformVersion: typeof listCommands.getRuntimeForPlatformVersion; getDeviceTypes: typeof listCommands.getDeviceTypes; list: typeof listCommands.list; setLocation: typeof locationCommands.setLocation; clearLocation: typeof locationCommands.clearLocation; openUrl: typeof openurlCommands.openUrl; setPasteboard: typeof pbcopyCommands.setPasteboard; getPasteboard: typeof pbpasteCommands.getPasteboard; grantPermission: typeof privacyCommands.grantPermission; revokePermission: typeof privacyCommands.revokePermission; resetPermission: typeof privacyCommands.resetPermission; pushNotification: typeof pushCommands.pushNotification; shutdownDevice: typeof shutdownCommands.shutdownDevice; spawnProcess: typeof spawnCommands.spawnProcess; spawnSubProcess: typeof spawnCommands.spawnSubProcess; terminateApp: typeof terminateCommands.terminateApp; getAppearance: typeof uiCommands.getAppearance; setAppearance: typeof uiCommands.setAppearance; getIncreaseContrast: typeof uiCommands.getIncreaseContrast; setIncreaseContrast: typeof uiCommands.setIncreaseContrast; getContentSize: typeof uiCommands.getContentSize; setContentSize: typeof uiCommands.setContentSize; removeApp: typeof uninstallCommands.removeApp; private xcrun; private execTimeout; private logErrors; private _udid; private _devicesSetPath; constructor(opts?: SimctlOpts); get udid(): string | null; get devicesSetPath(): string | null; set udid(value: string | null); set devicesSetPath(value: string | null); /** * @param commandName - Optional command name for error message * @returns The UDID string * @throws {Error} If UDID is not set */ requireUdid(commandName?: string | null): string; /** * @returns Promise resolving to the xcrun binary path */ requireXcrun(): Promise; /** * Execute the particular simctl command. * * @param subcommand - One of available simctl subcommands. * Execute `xcrun simctl` in Terminal to see the full list of available subcommands. * @param opts - Execution options * @return Either the result of teen process's `exec` or * `SubProcess` instance depending of `opts.asynchronous` value. * @throws {Error} If the simctl subcommand command returns non-zero return code. */ exec(subcommand: string, opts?: T): Promise>; } export default Simctl; //# sourceMappingURL=simctl.d.ts.map