import { AccessibilityNode } from "../parsers/ui-dump.js"; import { FindWithFallbacksResult, FindOptions } from "../types/icon-recognition.js"; import type { ScreenMetadata, ScalingState, ScreenshotResult } from "./ui-automator.js"; import type { VisualSnapshot } from "../types/index.js"; export interface FallbackFindDeps { find(deviceId: string, selector: Record): Promise; dump(deviceId: string): Promise; screenshot(deviceId: string, options?: Record): Promise; getScreenMetadata(deviceId: string): Promise; visualSnapshot(deviceId: string, options?: { includeBase64?: boolean; }): Promise; getScalingState(): ScalingState | null; } export declare function findWithFallbacks(deps: FallbackFindDeps, deviceId: string, selector: { resourceId?: string; text?: string; textContains?: string; className?: string; }, options?: FindOptions): Promise;