import { z } from 'zod'; /** * WIP gotcha: `Runtime.evaluate` with `awaitPromise:true` does NOT correctly * serialize the resolved value of a returned Promise (even `Promise.resolve(42)` * comes back as `{}`). So this tool keeps the inner expression synchronous. * Per-step delay is implemented by issuing one Runtime.evaluate per pointermove * step from TS land when `stepDelayMs > 0`. When `stepDelayMs === 0`, the entire * sequence runs in a single sync IIFE. */ export declare const dragTool: { name: string; description: string; inputSchema: { fromSelector: z.ZodString; fromNth: z.ZodOptional; toSelector: z.ZodOptional; toNth: z.ZodOptional; dx: z.ZodOptional; dy: z.ZodOptional; steps: z.ZodOptional; stepDelayMs: z.ZodOptional; waitAfterMs: z.ZodOptional; }; handler: ({ fromSelector, fromNth, toSelector, toNth, dx, dy, steps, stepDelayMs, waitAfterMs, }: { fromSelector: string; fromNth?: number; toSelector?: string; toNth?: number; dx?: number; dy?: number; steps?: number; stepDelayMs?: number; waitAfterMs?: number; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; };