import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; export declare class AgentSessions extends ClientSDK { /** * List ai-agent monitor sessions for this workspace. Newest first, capped at 50. */ list(request?: operations.ListAgentSessionsRequest | undefined, options?: RequestOptions): Promise; /** * Retrieve one ai-agent monitor session by id. */ get(request: operations.GetAgentSessionRequest, options?: RequestOptions): Promise; /** * Incrementally read a session's event log (steps, tool calls, report deltas, approvals, status transitions). Pass the previous response's `latestSeq` as `after` to fetch only new events. */ events(request: operations.ListAgentSessionEventsRequest, options?: RequestOptions): Promise; /** * Approve a halted ai-agent monitor session. Proxies to the ai-agent service, minting a fresh CLI session for the caller so the ai-agent's own auth applies. */ approve(request: operations.ApproveAgentSessionRequest, options?: RequestOptions): Promise; /** * Stop (cancel) a running, queued, or halted ai-agent monitor session. Proxies to the ai-agent service, minting a fresh CLI session for the caller so the ai-agent's own auth applies. Idempotent — stopping an already-terminal session is a 200 no-op. */ stop(request: operations.StopAgentSessionRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=agentsessions.d.ts.map