import type { StringRecord } from '@appium/types'; import type { AppInfo, AppDict, Page } from '../types'; export declare const WEB_CONTENT_BUNDLE_ID = "com.apple.WebKit.WebContent"; /** * Takes a dictionary from the remote debugger and converts it into a more * manageable AppInfo object with understandable keys. * * @param dict - Dictionary from the remote debugger containing application information. * @returns A tuple containing the application ID and the AppInfo object. */ export declare function appInfoFromDict(dict: Record): [string, AppInfo]; /** * Takes a dictionary from the remote debugger and converts it into an array * of Page objects with understandable keys. Filters out non-web pages. * * @param pageDict - Dictionary from the remote debugger containing page information. * @returns An array of Page objects representing the available pages. */ export declare function pageArrayFromDict(pageDict: StringRecord): Page[]; /** * Finds all application identifier keys that match the given bundle ID. * If no matches are found and the bundle ID is not WEB_CONTENT_BUNDLE_ID, * falls back to searching for WEB_CONTENT_BUNDLE_ID. * * @param bundleId - The bundle identifier to search for. * @param appDict - The application dictionary to search in. * @returns An array of unique application identifier keys matching the bundle ID. */ export declare function appIdsForBundle(bundleId: string, appDict: AppDict): string[]; //# sourceMappingURL=inspector.d.ts.map