import { AudioBubble } from '@/features/blocks/bubbles/audio' import { EmbedBubble } from '@/features/blocks/bubbles/embed' import { CustomEmbedBubble } from '@/features/blocks/bubbles/embed/components/CustomEmbedBubble' import { ImageBubble } from '@/features/blocks/bubbles/image' import { TextBubble } from '@/features/blocks/bubbles/textBubble' import { VideoBubble } from '@/features/blocks/bubbles/video' import { InputSubmitContent } from '@/types' import type { AudioBubbleBlock, ChatMessage, CustomEmbedBubble as CustomEmbedBubbleProps, EmbedBubbleBlock, ImageBubbleBlock, Settings, TextBubbleBlock, VideoBubbleBlock, } from '@indite.io/schemas' import { BubbleBlockType } from '@indite.io/schemas/features/blocks/bubbles/constants' import { Match, Switch } from 'solid-js' type Props = { message: ChatMessage typingEmulation: Settings['typingEmulation'] isTypingSkipped: boolean onTransitionEnd?: (ref?: HTMLDivElement) => void onCompleted: (reply?: InputSubmitContent) => void } export const HostBubble = (props: Props) => ( )