import { MessageType } from '../../types/MessageType'; export type Props = { title: string; lastMessage?: MessageType; unread?: boolean; avatar?: string; onClick: () => void; selected?: boolean; /** * the current user on the chat ui */ currentUserId?: string; /** * Whether the user is online */ isOnline?: boolean; }; export default function Conversation({ title, lastMessage, onClick, avatar, selected, currentUserId, unread, isOnline }: Props): import("react/jsx-runtime").JSX.Element;