/** * Content Extraction Tools */ import { z } from 'zod'; import type { CDPManager } from '../cdp-manager.js'; import { PuppeteerManager } from '../puppeteer-manager.js'; import type { ConnectionManager } from '../connection-manager.js'; import type { ClickableCache } from '../clickable-cache.js'; export declare function createContentTools(puppeteerManager: PuppeteerManager, cdpManager: CDPManager, connectionManager: ConnectionManager, resolveConnectionFromReason: (connectionReason: string) => Promise, clickableCache: ClickableCache): { content: { description: string; zodSchema: z.ZodObject<{ action: z.ZodEnum<["extractText", "findInteractive", "verify"]>; connectionReason: z.ZodString; mode: z.ZodOptional>; section: z.ZodOptional; save: z.ZodOptional; types: z.ZodOptional, "many">>; showHidden: z.ZodOptional; search: z.ZodOptional; limit: z.ZodOptional; checks: z.ZodOptional, "many">>; }, "strict", z.ZodTypeAny, { action: "findInteractive" | "extractText" | "verify"; connectionReason: string; search?: string | undefined; limit?: number | undefined; section?: string | undefined; mode?: "full" | "outline" | "section" | undefined; save?: boolean | undefined; types?: ("number" | "search" | "link" | "url" | "file" | "other" | "text" | "button" | "email" | "password" | "tel" | "textarea" | "select" | "checkbox" | "radio" | "date")[] | undefined; showHidden?: boolean | undefined; checks?: ("viewport" | "scroll" | "touch" | "handlers" | "overflow" | "clickability" | "links")[] | undefined; }, { action: "findInteractive" | "extractText" | "verify"; connectionReason: string; search?: string | undefined; limit?: number | undefined; section?: string | undefined; mode?: "full" | "outline" | "section" | undefined; save?: boolean | undefined; types?: ("number" | "search" | "link" | "url" | "file" | "other" | "text" | "button" | "email" | "password" | "tel" | "textarea" | "select" | "checkbox" | "radio" | "date")[] | undefined; showHidden?: boolean | undefined; checks?: ("viewport" | "scroll" | "touch" | "handlers" | "overflow" | "clickability" | "links")[] | undefined; }>; inputSchema: import("zod-to-json-schema").JsonSchema7Type & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }; handler: (args: { action: "findInteractive" | "extractText" | "verify"; connectionReason: string; search?: string | undefined; limit?: number | undefined; section?: string | undefined; mode?: "full" | "outline" | "section" | undefined; save?: boolean | undefined; types?: ("number" | "search" | "link" | "url" | "file" | "other" | "text" | "button" | "email" | "password" | "tel" | "textarea" | "select" | "checkbox" | "radio" | "date")[] | undefined; showHidden?: boolean | undefined; checks?: ("viewport" | "scroll" | "touch" | "handlers" | "overflow" | "clickability" | "links")[] | undefined; }, abortSignal?: AbortSignal) => Promise; }; }; //# sourceMappingURL=content-tools.d.ts.map