import type { ActOutcome } from '../provider.js'; import type { ActInput, InteractiveElement, Target } from '../types.js'; import type { BrowserConfig } from '../types.js'; import type { AgentBrowserClient, InspectElement } from './client.js'; export declare function mapElement(el: InspectElement): InteractiveElement; export declare function resolveElementId(knownElements: Map, target: Target): string | null; export declare function executeAction(client: AgentBrowserClient, tabId: string, action: string, elementId: string, value?: string, timeoutMs?: number): Promise; export interface SemanticResolveContext { client: AgentBrowserClient; config: BrowserConfig; tabId: string; } export declare function resolveSemanticAndAct(ctx: SemanticResolveContext, input: ActInput): Promise<{ elementId: string; } | ActOutcome>;