import { ComputerUseSession, type ComputerUseOptions } from "./session.js"; import type { ToolResultBlock, ToolUseBlock } from "./types.js"; export interface AnthropicBrowserOptions extends ComputerUseOptions { /** Offer and run `read_console` and `read_network`. Default false. */ logs?: boolean; /** Offer and run `javascript_exec`. Default false: page code runs with the page's cookies. */ javascript?: boolean; /** Attach a screenshot to the last result of each turn. Default false. */ attachScreenshot?: boolean; } /** Runs Claude's `browser_toolset_20260801` calls on a browser reached through * Browser Gateway and answers each with the result block the API expects. */ export declare class AnthropicBrowserExecutor { readonly session: ComputerUseSession; private readonly opts; private readonly downloadsReported; private logCursor; private constructor(); static connect(opts: AnthropicBrowserOptions): Promise; /** The `tools` entry for this executor: optional members on only when it runs them. */ declaration(): { type: string; configs?: Record; }; /** Answers every browser call in one assistant turn, in order. After the first * failure the rest are answered with the halt text and not run. Other blocks * (text, thinking, your own tools) are skipped. */ run(content: unknown[]): Promise; /** Runs one call and returns its result; never throws for a failed action. */ runOne(call: ToolUseBlock): Promise; close(): Promise; private dispatch; private click; private formInput; private readLogs; private refAction; private point; private tabIdFrom; private requireTab; private enforceUrlPolicy; private stateBlock; private downloadChanges; private attachObservation; } //# sourceMappingURL=anthropic-browser.d.ts.map