'use client'; /** * This file was automatically generated by the Stencil React Output Target. * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. */ /* eslint-disable */ import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime'; import { createComponent } from '@stencil/react-output-target/runtime'; import { type AiChatCustomEvent, type ChatMessage } from "hxy-stencil-ai-chat"; import { AiChat as AiChatElement, defineCustomElement as defineAiChat } from "hxy-stencil-ai-chat/dist/components/ai-chat.js"; import React from 'react'; export type AiChatEvents = { onMessageClick: EventName>, onMessageLongPress: EventName>, onMessageSend: EventName> }; export const AiChat: StencilReactComponent = /*@__PURE__*/ createComponent({ tagName: 'ai-chat', elementClass: AiChatElement, // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project. react: React, events: { onMessageClick: 'messageClick', onMessageLongPress: 'messageLongPress', onMessageSend: 'messageSend' } as AiChatEvents, defineCustomElement: defineAiChat });