import CDP from "chrome-remote-interface"; import type { Config } from "../config/loader.js"; export interface WeaveError { success: false; error_code: string; message: string; suggestion?: string; human_needed?: boolean; tab_id?: string; url?: string; } export interface ClickResult { success: true; clicked: string; ref: string; execution_ms: number; tab_id: string; url: string; title: string; url_changed: boolean; /** Only present when include_map:true was passed or url_changed is true. */ page_map?: string; dom_changed: boolean; stuck_warning: boolean; stuck_hint?: string; sniper_warning?: string; } export declare function weaveClick(session: CDP.Client, args: { id?: string; label?: string; intent?: string; backendNodeId?: number; x?: number; y?: number; include_map?: boolean; mark?: number; }, config: Config): Promise;