import { ComputerUseSession, type ComputerUseOptions } from "./session.js"; import type { ToolResultBlock, ToolUseBlock } from "./types.js"; export interface AnthropicComputerOptions extends ComputerUseOptions { /** Answer the earlier `computer_20251124` tool (one `computer` tool with an * `action` field), for models and platforms that do not take the toolset. */ legacy?: boolean; } /** Runs Claude's computer use calls (`computer_toolset_20260801`, or the earlier * `computer_20251124` tool) on a browser page reached through Browser Gateway. * The page is the whole "display". */ export declare class AnthropicComputerExecutor { readonly session: ComputerUseSession; private readonly opts; private constructor(); static connect(opts: AnthropicComputerOptions): Promise; /** The `tools` entry. The earlier tool also declares the display size, so call * it after connecting and keep the page size fixed. */ declaration(): Record; /** Answers every computer call in one assistant turn, in order, stopping at the first failure. */ run(content: unknown[]): Promise; /** Runs one call; never throws for a failed action. */ runOne(call: ToolUseBlock): Promise; close(): Promise; private isCall; private dispatch; private withHeld; private point; private pointOr; private cursor; private describe; } //# sourceMappingURL=anthropic-computer.d.ts.map