import React, { RefObject } from 'react'; import { OneChatMessage } from '../../../context/ChannelStateContext'; import type { ReactEventHandler } from '../types'; import type { DefaultOneChatGenerics } from '../../../types'; export declare const reactionHandlerWarning = "Reaction handler was called, but it is missing one of its required arguments.\nMake sure the ChannelAction and ChannelState contexts are properly set and the hook is initialized with a valid message."; export declare const useReactionHandler: (message?: OneChatMessage | undefined) => (reactionType: string, event?: React.BaseSyntheticEvent) => Promise; export declare const useReactionClick: (message?: OneChatMessage | undefined, reactionSelectorRef?: RefObject, messageWrapperRef?: RefObject, closeReactionSelectorOnClick?: boolean) => { isReactionEnabled: boolean; onReactionListClick: ReactEventHandler; showDetailedReactions: boolean; }; //# sourceMappingURL=useReactionHandler.d.ts.map