import { BaseChannel } from './index'; /** * Discord Channel — v1.1.0 * * Supports: * - Discord Bot via Gateway (WebSocket) or HTTP interactions * - Slash commands, message content intent * - Thread-based conversations * - Reactions, embeds * * Env vars: * DISCORD_BOT_TOKEN — bot token * DISCORD_APPLICATION_ID — application ID for slash commands */ export interface DiscordChannelConfig { /** Bot token */ botToken?: string; /** Application ID */ applicationId?: string; /** Guild IDs to register slash commands (empty = global) */ guildIds?: string[]; /** Whether to use threads for conversations */ useThreads?: boolean; } export declare class DiscordChannel extends BaseChannel { readonly type = "discord"; private config; private ws; private heartbeatInterval; private sequenceNumber; private sessionId; private resumeUrl; constructor(config?: DiscordChannelConfig); start(): Promise; stop(): Promise; private identify; private startHeartbeat; private stopHeartbeat; private sendHeartbeat; private handleMessage; sendMessage(channelId: string, content: string): Promise; private splitMessage; } //# sourceMappingURL=discord.d.ts.map