/** * Per-platform caches for UI elements, screenshots, UI tree output, and scale factors. * * Storage now lives in `SharedState` (see `./shared-state-class.ts`), owned * by the default RuntimeContext. This module re-exports the singleton's * Maps directly so existing consumers continue to receive the same * Map references they always have. */ import type { UiElement } from "../../adb/ui-parser.js"; export declare const lastScreenshotMap: Map; export declare const lastUiTreeMap: Map; export declare const screenshotScaleMap: Map; export declare function getCachedElements(platform: string): UiElement[]; export declare function setCachedElements(platform: string, elements: UiElement[]): void; export declare function invalidateUiTreeCache(platform?: string): void; //# sourceMappingURL=shared-state.d.ts.map