import { WebToolkit } from "timi-web"; import AiChatComposerView from "./AiChatComposer.vue"; import AiChatMessageListView from "./AiChatMessageList.vue"; import AiChatPanelView from "./AiChatPanel.vue"; import AiChatThinkingView from "./AiChatThinking.vue"; export const AiChatComposer = WebToolkit.withInstall(AiChatComposerView); export const AiChatMessageList = WebToolkit.withInstall(AiChatMessageListView); export const AiChatPanel = WebToolkit.withInstall(AiChatPanelView); export const AiChatThinking = WebToolkit.withInstall(AiChatThinkingView); export default AiChatPanel; export { useAiChat, AiChatHttpError, AiChatStreamError, ensureChatResponse, parseSseData, readSseStream } from "./useAiChat"; export { parseAssistantResponse } from "./useAiChat"; export type { AiChatCitationFormatter, AiChatErrorMessages, AiChatEventAction, AiChatMessage, AiChatMessageStatusFormatter, AiChatRequestContext, AiChatRoleNameFormatter, AiChatRoleNames, AiChatStreamEvent, AiCitation, AiMessageRole, AiThinking, UseAiChatOptions } from "./types";