import type { Interaction, Message } from 'discord.js'; import type { PlatformActionEvent, PlatformAdapter, PlatformMessageEvent, PlatformSender } from '../types.js'; import { type DiscordSendableChannel } from './discord-adapter-types.js'; export declare class DiscordAdapter implements PlatformAdapter { readonly platform: "discord"; private readonly sender; private readonly messageCallbacks; private readonly interactionCallbacks; private readonly actionCallbacks; private readonly messageRecalledCallbacks; private readonly messageConversationMap; private client; private isActive; constructor(); start(): Promise; stop(): void; getSender(): PlatformSender; onMessage(callback: (event: PlatformMessageEvent) => void): void; onInteraction(callback: (interaction: Interaction) => Promise | void): void; onAction(callback: (event: PlatformActionEvent) => void): void; onMessageRecalled(callback: (event: unknown) => void): void; bindSession(conversationId: string, sessionId: string, creatorId: string): void; getSessionId(conversationId: string): string | null; isAdapterActive(): boolean; getConversationByMessageId(messageId: string): string | undefined; rememberMessageConversation(messageId: string, conversationId: string): void; forgetMessageConversation(messageId: string): void; forgetConversationMessages(conversationId: string): void; resolveTextChannel(conversationId: string): Promise; fetchMessage(conversationId: string, messageId: string): Promise; private handleMessageCreate; private handleInteractionCreate; } export declare const discordAdapter: DiscordAdapter; //# sourceMappingURL=discord-adapter.d.ts.map