import { LRUCache } from 'lru-cache'; import type { ADB } from 'appium-adb'; import type { WebViewDetails } from '../types'; export declare const WEBVIEWS_DETAILS_CACHE: LRUCache; /** * Generates a cache key for webview details based on the device ID and webview name. * * @param adb - The ADB instance (may be null/undefined) * @param webview - The webview name * @returns A cache key string in the format `deviceId:webview` */ export declare function toDetailsCacheKey(adb: ADB, webview: string): string; /** * Retrieves web view details previously cached by `getWebviews` call. * * @param adb - The ADB instance (may be null/undefined) * @param webview - The webview name * @returns The cached webview details, or undefined if not found */ export declare function getWebviewDetails(adb: ADB, webview: string): WebViewDetails | undefined; //# sourceMappingURL=cache.d.ts.map