import { a as TObject, s as TString } from "../../helpers-DutyHbVD.mjs"; import { t as TUnsafe } from "../../unsafe-C_mX8nG4.mjs"; import { t as TBoolean } from "../../boolean-m0GDZxcD.mjs"; import { t as TOptional } from "../../optional-Bis1WTKK.mjs"; //#region extensions/crypto/src/tools/browser.d.ts /** * Browser Automation Tool — navigate, click, type, extract via PinchTab. * * Actions: * navigate — Navigate to a URL and extract page content * click — Click an element by CSS selector * type — Type text into an input field * extract — Extract structured data from current page * screenshot — Take a page screenshot (use sparingly) * status — Check if PinchTab is running * * Uses PinchTab HTTP API (Go binary, 12MB, stealth mode). * Token-efficient: ~800 tokens/page vs 10K+ for screenshots. * * Use cases: claim airdrops, interact with dApp UIs, scrape dashboards, * browse protocol docs, fill forms. */ declare function createBrowserTool(): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"status" | "type" | "navigate" | "click" | "extract" | "screenshot">; url: TOptional; selector: TOptional; text: TOptional; wait_for: TOptional; stealth: TOptional; format: TOptional; press_enter: TOptional; full_page: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createBrowserTool }; //# sourceMappingURL=browser.d.mts.map