import type { ChannelChatMessageMessage } from '@twitchfy/eventsub';
import type { EventSubConnection } from '../enums';
import { type ChatBot } from '../structures';
import type { EventSubConnectionMap } from '../interfaces';
/**
 * Handle the message received from the chat.
 * @param this The current instance of the chatbot.
 * @param data The message received from the chat.
 * @internal
 */
export declare function handleOnMessage<T extends EventSubConnection>(this: ChatBot<T>, data: ChannelChatMessageMessage<EventSubConnectionMap[T]>): Promise<any>;
