import type React from 'react'; import type { UserResponse } from 'stream-chat'; import type { ReactEventHandler } from '../types'; import type { StreamMessage } from '../../../context/ChannelStateContext'; import type { DefaultStreamChatGenerics } from '../../../types/types'; export declare type CustomMentionHandler = (event: React.BaseSyntheticEvent, mentioned_users: UserResponse[]) => void; export declare type MentionedUserEventHandler = (event: React.BaseSyntheticEvent, mentionedUsers: UserResponse[]) => void; export declare const useMentionsHandler: (message?: StreamMessage | undefined, customMentionHandler?: { onMentionsClick?: CustomMentionHandler | undefined; onMentionsHover?: CustomMentionHandler | undefined; } | undefined) => { onMentionsClick: ReactEventHandler; onMentionsHover: ReactEventHandler; }; //# sourceMappingURL=useMentionsHandler.d.ts.map