import { type Agent, type AgentSideConnection, type AuthenticateRequest, type AuthenticateResponse, type CancelNotification, type InitializeRequest, type InitializeResponse, type ListSessionsRequest, type ListSessionsResponse, type LoadSessionRequest, type LoadSessionResponse, type NewSessionRequest, type NewSessionResponse, type PromptRequest, type PromptResponse, type ResumeSessionRequest, type ResumeSessionResponse, type SetSessionModeRequest, type SetSessionModeResponse } from "@agentclientprotocol/sdk"; import type { AgentDescriptor } from "../../domain/agent.js"; import type { OrchestrationRunResult } from "../../orchestration/index.js"; import type { ProviderInvokeOptions } from "../../providers/index.js"; import type { SessionHistoryResult, SessionSummary } from "../../sessions/index.js"; import type { AcpSessionStore } from "../domain/session.js"; interface OpenGoatAcpAgentOptions { defaultAgentId?: string; defaultSessionKeyPrefix?: string; replayHistoryLimit?: number; verbose?: boolean; } interface OpenGoatAcpAgentDeps { connection: AgentSideConnection; service: OpenGoatAcpService; sessionStore?: AcpSessionStore; options?: OpenGoatAcpAgentOptions; } interface OpenGoatAcpService { initialize(): Promise; listAgents(): Promise; runAgent(agentId: string, options: ProviderInvokeOptions): Promise; listSessions(agentId?: string, options?: { activeMinutes?: number; }): Promise; getSessionHistory(agentId?: string, options?: { sessionRef?: string; limit?: number; includeCompaction?: boolean; }): Promise; } export declare class OpenGoatAcpAgent implements Agent { private readonly connection; private readonly service; private readonly sessionStore; private readonly defaultAgentId; private readonly defaultSessionKeyPrefix; private readonly replayHistoryLimit; private readonly log; private readonly pendingPrompts; private readonly cancelledSessions; constructor(deps: OpenGoatAcpAgentDeps); initialize(_params: InitializeRequest): Promise; newSession(params: NewSessionRequest): Promise; loadSession(params: LoadSessionRequest): Promise; unstable_resumeSession(params: ResumeSessionRequest): Promise; unstable_listSessions(params: ListSessionsRequest): Promise; setSessionMode(params: SetSessionModeRequest): Promise; authenticate(_params: AuthenticateRequest): Promise; prompt(params: PromptRequest): Promise; cancel(params: CancelNotification): Promise; private executePromptRun; private resolvePrompt; private rejectPrompt; private buildModeState; private requireSession; private resolveAgentId; private replaySessionHistory; } export {};