/** * * @param {import('appium-adb').ADB} adb * @param {string} bundleId * @returns */ export function getChromeVersion(adb: import('appium-adb').ADB, bundleId: string): Promise; export function getChromedriverDir(osName?: string): string; /** * * @param {string} osName * @returns {Promise} */ export function getChromedriverBinaryPath(osName?: string): Promise; /**获取当前系统安装的chrome版本 */ export function getCurrentInstallChromeVersion(): Promise; /** * @returns {keyof OS} */ export const getOsName: (() => string) & _.MemoizedFunction; export const CD_BASE_DIR: string; export const CD_VER: string | undefined; export const CD_MOST_RECENT_VER: string; export const CHROMEDRIVER_CHROME_MAPPING: any; export const CHROMEDRIVER_DOWNLOAD_DIR: string; /** * * @param {import('./types').ChromedriverVersionMapping} mapping * @returns {string} */ export function getMostRecentChromedriver(mapping?: import('./types').ChromedriverVersionMapping): string; /** * * @param {string} url * @param {import('axios').AxiosRequestConfig['headers']} headers * @param {Pick} opts * @returns */ export function retrieveData(url: string, headers: import('axios').AxiosRequestConfig['headers'], opts?: Pick): Promise; export const getOsInfo: (() => Promise) & _.MemoizedFunction; export const getCpuType: (() => string) & _.MemoizedFunction; import { OS } from './constants'; /** * Generates log prefix string * * @param {any} obj log owner instance * @param {string?} sessionId Optional session identifier * @returns {string} */ export function generateLogPrefix(obj: any, sessionId?: string | null): string; /** * Converts the given object to an integer number if possible * * @param {any} value to be converted * @returns {number | null} */ export function convertToInt(value: any): number | null; import _ from 'lodash'; export { OS }; //# sourceMappingURL=utils.d.ts.map