/** * `debug_element` (batch-14 composite) — one-call deep-dive on a DOM element. * * Combines: * - `query_dom_node` (selector → outerHTML) * - `get_event_listeners` (selector → bound handlers) * - `take_node_screenshot` (selector → PNG dataURL preview, optional) * - `highlight_node` (selector → visual overlay, optional) * * Useful when an AI agent says "what is this `.feed-item` doing?" and wants * one consolidated answer instead of 4 round-trips. */ import { z } from 'zod'; export declare const debugElementTool: { name: string; description: string; inputSchema: { selector: z.ZodString; perNodeMaxLen: z.ZodOptional; withScreenshot: z.ZodOptional; withHighlight: z.ZodOptional; includeAncestors: z.ZodOptional; }; handler: ({ selector, perNodeMaxLen, withScreenshot, withHighlight, includeAncestors, }: { selector: string; perNodeMaxLen?: number; withScreenshot?: boolean; withHighlight?: boolean; includeAncestors?: boolean; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; };