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