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 MUST keep the inner expression synchronous. * Per-char delay is implemented by issuing one Runtime.evaluate per character * from TS land when `delayMs > 0`. When `delayMs === 0`, a single sync IIFE * types the whole string in one round-trip. */ export declare const typeTextTool: { name: string; description: string; inputSchema: { text: z.ZodString; selector: z.ZodOptional; nth: z.ZodOptional; clearFirst: z.ZodOptional; delayMs: z.ZodOptional; waitAfterMs: z.ZodOptional; }; handler: ({ text, selector, nth, clearFirst, delayMs, waitAfterMs, }: { text: string; selector?: string; nth?: number; clearFirst?: boolean; delayMs?: number; waitAfterMs?: number; }) => Promise<{ content: { type: "text"; text: string; }[]; }>; };