import { IConfig } from '../types/models/config.model';
interface EventHandlersHook {
    handleMessageSent: (event: {
        message: string;
        roomJID: string;
        user: any;
        messageType: 'text' | 'media';
        metadata?: any;
    }) => Promise<void>;
    handleMessageFailed: (event: {
        message: string;
        roomJID: string;
        error: Error;
        messageType: 'text' | 'media';
    }) => void;
    handleMessageEdited: (event: {
        messageId: string;
        newMessage: string;
        roomJID: string;
        user: any;
    }) => void;
}
export declare const useEventHandlers: (config?: IConfig) => EventHandlersHook;
export {};
