UNPKG

donobu

Version:

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

22 lines 1.1 kB
import { z } from 'zod/v4'; import type { ToolCallContext } from '../models/ToolCallContext'; import type { ToolCallResult } from '../models/ToolCallResult'; import { Tool } from './Tool'; export declare const AssertCoreSchema: z.ZodObject<{ assertionToTestFor: z.ZodString; retries: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; retryWaitSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; }, z.core.$strip>; export declare const AssertToolGptSchema: z.ZodObject<{ assertionToTestFor: z.ZodString; retries: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; retryWaitSeconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>; rationale: z.ZodString; }, z.core.$strip>; export declare class AssertTool extends Tool<typeof AssertCoreSchema, typeof AssertToolGptSchema> { static readonly NAME = "assert"; constructor(); call(context: ToolCallContext, parameters: z.infer<typeof AssertCoreSchema>): Promise<ToolCallResult>; callFromGpt(context: ToolCallContext, parameters: z.infer<typeof AssertToolGptSchema>): Promise<ToolCallResult>; } //# sourceMappingURL=AssertTool.d.ts.map