import type { HttpClient } from "../core/http.js"; import type { SendChatMessageRequest, SendChatMessageResponse, ChatConversationListResponse, ConversationDetailResponse, OneclawResponse } from "../types.js"; /** * Agent Chat — send messages to agents via Shroud LLM, * manage conversations, and retrieve message history. */ export declare class ChatResource { private readonly http; constructor(http: HttpClient); /** * Send a message to an agent and receive a response. * The message is routed through Shroud LLM for processing. */ sendMessage(agentId: string, data: SendChatMessageRequest): Promise>; /** * Send a message and return the raw Response for SSE streaming. * The caller is responsible for reading the event stream. */ sendMessageStream(agentId: string, data: SendChatMessageRequest): Promise; /** List all conversations for an agent. */ listConversations(agentId: string): Promise>; /** Get a conversation with its messages. */ getConversation(agentId: string, conversationId: string): Promise>; /** Archive (delete) a conversation. */ deleteConversation(agentId: string, conversationId: string): Promise>; } //# sourceMappingURL=chat.d.ts.map