UNPKG

donobu

Version:

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

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