UNPKG

@monitoro/herd

Version:

Automate your browser, build AI web tools and MCP servers with Monitoro Herd

24 lines (23 loc) 814 B
import { HerdClient } from "../HerdClient.js"; import { TrailAction } from "./types.js"; import { ResourceProvider } from "./ResourceProvider.js"; import { ExtractSelectors } from "../Page.js"; export declare function testTrailAction(herdClient: HerdClient, action: TrailAction, params: Record<string, any>, resources: ResourceProvider): Promise<{ status: string; result: any; message?: string; }>; export declare function testTrailSelector(herdClient: HerdClient, example: { url: string; selector: ExtractSelectors; }): Promise<{ status: string; result: any; message?: string; }>; export declare function execute(herdClient: HerdClient, path: string, { actionName, selectorId }: { actionName?: string; selectorId?: string; }): Promise<{ status: string; } | undefined>;