import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class AgentRuns extends ClientSDK { /** * List runs for an agent */ listAgentRuns(request: operations.ListAgentRunsRequest, options?: RequestOptions): Promise; /** * Start a saved agent run * * @remarks * Starts an asynchronous background run for a saved agent and returns the queued run record. Use the run retrieval endpoint to poll status or the events endpoint to stream progress. */ createAgentRun(request: operations.CreateAgentRunRequest, options?: RequestOptions): Promise; /** * Stream agent run events * * @remarks * Streams Server-Sent Events for the gateway response linked to this agent run. Terminal runs emit a single terminal event and close. */ streamAgentRunEvents(request: operations.StreamAgentRunEventsRequest, options?: RequestOptions): Promise; /** * Wake a sleeping agent run * * @remarks * Interrupts a short sleep tool call on a background run by forwarding follow-up input to the gateway response. */ wakeAgentRun(request: operations.WakeAgentRunRequest, options?: RequestOptions): Promise; /** * Approve or deny a pending MCP tool call * * @remarks * Creates a continuation run for an mcp_approval_request emitted by the source run. The gateway binds the single-use decision to the original server, tool, and arguments; denying never invokes the remote MCP tool. */ decideAgentRunMcpApproval(request: operations.DecideAgentRunMcpApprovalRequest, options?: RequestOptions): Promise; /** * Retrieve an agent run */ getAgentRun(request: operations.GetAgentRunRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=agentruns.d.ts.map