import type React from 'react'; import type { LocalMessage, UserResponse } from 'stream-chat'; import type { ReactEventHandler } from '../types'; export type CustomMentionHandler = (event: React.BaseSyntheticEvent, /** * @deprecated Use the third `message` argument to access mention metadata instead. * FIXME: Remove this argument in the next major release. */ mentioned_users: UserResponse[], message: LocalMessage) => void; export type MentionedUserEventHandler = (event: React.BaseSyntheticEvent, mentionedUsers: UserResponse[]) => void; export declare const useMentionsHandler: (message?: LocalMessage, customMentionHandler?: { onMentionsClick?: CustomMentionHandler; onMentionsHover?: CustomMentionHandler; }) => { onMentionsClick: ReactEventHandler; onMentionsHover: ReactEventHandler; }; //# sourceMappingURL=useMentionsHandler.d.ts.map