import React from 'react'; import { AvatarProps } from '../Avatar'; import type { StreamMessage } from '../../context/ChannelStateContext'; import type { DefaultStreamChatGenerics } from '../../types/types'; export declare type EventComponentProps = { /** Message object */ message: StreamMessage; /** Custom UI component to display user avatar, defaults to and accepts same props as: [Avatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/Avatar.tsx) */ Avatar?: React.ComponentType; }; export declare const EventComponent: (props: EventComponentProps) => JSX.Element | null; //# sourceMappingURL=EventComponent.d.ts.map