UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

18 lines 863 B
import { z } from 'zod/v4'; import type { ToolCallContext } from '../models/ToolCallContext'; import type { ToolCallResult } from '../models/ToolCallResult'; import { Tool } from './Tool'; export declare const DownloadPdfCoreSchema: z.ZodObject<{ url: z.ZodString; }, z.core.$strip>; export declare const DownloadPdfGptSchema: z.ZodObject<{ url: z.ZodString; rationale: z.ZodString; }, z.core.$strip>; export declare class DownloadPdfTool extends Tool<typeof DownloadPdfCoreSchema, typeof DownloadPdfGptSchema> { static readonly NAME = "downloadPdf"; constructor(); call(context: ToolCallContext, parameters: z.infer<typeof DownloadPdfCoreSchema>): Promise<ToolCallResult>; callFromGpt(context: ToolCallContext, parameters: z.infer<typeof DownloadPdfGptSchema>): Promise<ToolCallResult>; } //# sourceMappingURL=DownloadPdfTool.d.ts.map