/** * Discord Bot DM client. * * Sends direct messages to a user via the Discord Bot API (REST only, no gateway). * Requires: bot token + user ID. */ export interface DiscordConfig { botToken: string; userId: string; channelId?: string; } /** * Open (or retrieve cached) DM channel with a user. * Returns the channel ID for sending messages. */ export declare function openDMChannel(config: DiscordConfig): Promise; /** * Send a DM to the configured user. * Automatically opens a DM channel if needed. */ export declare function sendDiscordDM(config: DiscordConfig, message: string): Promise; /** * Validate bot token by fetching bot user info. * Returns the bot's username if valid. */ export declare function validateBotToken(token: string): Promise<{ valid: boolean; username: string; }>;