import type { MessageContextValue } from '../../context'; import type { ReactionGroupResponse, ReactionResponse } from 'stream-chat'; import type { ReactionsComparator } from './types'; export type MessageReactionsProps = Partial> & { /** Own reactions, used to mark reaction types as own. Defaults to the message's own reactions. */ own_reactions?: ReactionResponse[]; /** Summary per reaction type. Defaults to the message's `reaction_groups`. */ reaction_groups?: Record; /** Latest reactions, used for the reacting user names. Defaults to the message's latest ones. */ reactions?: ReactionResponse[]; /** * Comparator that orders the reaction types. Defaults to `sortReactions` from `MessageContext`, * then to ascending time of the first reaction. */ sortReactions?: ReactionsComparator; /** Aligns the list to the opposite side of the message. Defaults to false. */ flipHorizontalPosition?: boolean; verticalPosition?: 'top' | 'bottom' | null; visualStyle?: 'clustered' | 'segmented' | null; capLimit?: { [key in Extract]?: number; }; }; declare const UnMemoizedMessageReactions: (props: MessageReactionsProps) => import("react/jsx-runtime").JSX.Element | null; /** Displays the list of reactions on a message. */ export declare const MessageReactions: typeof UnMemoizedMessageReactions; export {}; //# sourceMappingURL=MessageReactions.d.ts.map