import type { HttpClient } from "../core/http.js"; import type { CreateChannelRequest, ChannelResponse, ChannelListResponse, UpdateChannelRequest, SendChannelMessageRequest, ChannelMessageResponse, ChannelMessageListResponse, OneclawResponse } from "../types.js"; /** * Agent Channels — register external messaging channels * (Telegram, WhatsApp, Discord) and send/receive messages. */ export declare class ChannelsResource { private readonly http; constructor(http: HttpClient); /** Register a new messaging channel for an agent. */ create(agentId: string, data: CreateChannelRequest): Promise>; /** List all channels for an agent. */ list(agentId: string): Promise>; /** Update a channel's name, active status, or config. */ update(agentId: string, channelId: string, data: UpdateChannelRequest): Promise>; /** Delete a channel. */ delete(agentId: string, channelId: string): Promise>; /** Send an outbound message via a channel. */ sendMessage(agentId: string, channelId: string, data: SendChannelMessageRequest): Promise>; /** List message history for a channel. */ listMessages(agentId: string, channelId: string, limit?: number): Promise>; } //# sourceMappingURL=channels.d.ts.map