import type { UiElement } from "../../adb/ui-parser.js"; /** * SharedState — encapsulates the per-platform caches that used to live as * module-level `Map`s in `shared-state.ts`. The legacy module re-exports * the singleton instance's Maps directly so existing consumers * (`ctx.lastScreenshotMap`, etc.) keep working. */ export declare class SharedState { readonly cachedElementsMap: Map; readonly lastScreenshotMap: Map>; readonly lastUiTreeMap: Map; readonly screenshotScaleMap: Map; getCachedElements(platform: string): UiElement[]; setCachedElements(platform: string, elements: UiElement[]): void; invalidateUiTreeCache(platform?: string): void; } //# sourceMappingURL=shared-state-class.d.ts.map