import type { DetailedHTMLProps, HTMLAttributes } from "react"; import type { ActionButtons, ActionButtonsProps, ActionItem } from "./action-buttons"; import type { ActivityTimeline, ActivityTimelineProps } from "./activity-timeline"; import type { AIAgents, AIAgentsProps } from "./ai-agents"; import type { AIEmployees, AIEmployeesProps } from "./ai-employees"; import type { BlankState, BlankStateProps } from "./blank-state"; import type { ChatBox, ChatBoxProps } from "./chat-box"; import type { ChatInput, ChatInputProps } from "./chat-input"; import type { ChatStream, ChatStreamProps, ConversationDetail } from "./chat-stream"; import type { CruiseCanvas, CruiseCanvasProps } from "./cruise-canvas"; import type { DropdownSelect, DropdownSelectProps, DropdownOptions } from "./dropdown-select"; import type { ElevoCard, ElevoCardProps } from "./elevo-card"; import type { ElevoLogo } from "./elevo-logo"; import type { ActionClickDetail, ElevoSidebar, ElevoSidebarProps, ProjectActionClickDetail } from "./elevo-sidebar"; import type { FlowTabs, FlowTabsProps } from "./flow-tabs"; import type { GanttChart, GanttChartProps } from "./gantt-chart"; import type { GanttNode } from "./gantt-chart/interfaces"; import type { GoalCardList, GoalCardListProps } from "./goal-card-list"; import type { HomeContainer, HomeContainerProps } from "./home-container"; import type { IconButton, IconButtonProps } from "./icon-button"; import type { McpTools, McpToolsProps } from "./mcp-tools"; import type { NoticeDropdown, NoticeDropdownProps, NoticeItem } from "./notice-dropdown"; import type { NoticeList, NoticeListProps } from "./notice-list"; import type { PageContainer, PageContainerProps } from "./page-container"; import type { PreviewContainer, PreviewContainerProps } from "./preview-container"; import type { ProjectConversations, ProjectConversationsProps, ActionClickDetail as PCActionClickDetail, Conversation } from "./project-conversations"; import type { Knowledge, ProjectKnowledges, ProjectKnowledgesProps } from "./project-knowledges"; import type { RunningFlow, RunningFlowProps } from "./running-flow"; import type { ShowCase, ShowCaseProps } from "./show-case"; import type { ShowCases, ShowCasesProps } from "./show-cases"; import type { EditActivityDetail, Stage, StageFlow, StageFlowProps } from "./stage-flow"; import type { StatWithMiniChart, StatWithMiniChartProps } from "./stat-with-mini-chart"; import type { StickyContainer, StickyContainerProps } from "./sticky-container"; import type { Tab, TabList, TabListProps } from "./tab-list"; import type { ChatPayload } from "./shared/interfaces"; import type { FeedbackDetail } from "./cruise-canvas/interfaces"; import type { GoalItem } from "./goal-card-list/CardItem/CardItem"; import type { PersonalActionClickDetail } from "./elevo-sidebar/ChatHistory"; import type { ChatPanel, ChatPanelProps } from "./chat-panel"; import type { SpaceChatGuide, SpaceChatGuideProps } from "./space-workbench/space-chat-guide"; declare global { namespace JSX { interface IntrinsicElements { "ai-portal--action-buttons": DetailedHTMLProps, ActionButtons> & ActionButtonsProps & { onChange?: (event: CustomEvent) => void; }; "ai-portal--activity-timeline": DetailedHTMLProps, ActivityTimeline> & ActivityTimelineProps; "ai-portal--ai-agents": DetailedHTMLProps, AIAgents> & AIAgentsProps; "ai-portal--ai-employees": DetailedHTMLProps, AIEmployees> & AIEmployeesProps; "ai-portal--blank-state": DetailedHTMLProps, BlankState> & BlankStateProps; "ai-portal--chat-box": DetailedHTMLProps, ChatBox> & ChatBoxProps & { onChatSubmit?: (event: CustomEvent) => void; }; "ai-portal--chat-input": DetailedHTMLProps, ChatInput> & ChatInputProps & { onChatSubmit?: (event: CustomEvent) => void; }; "ai-portal--chat-stream": DetailedHTMLProps, ChatStream> & ChatStreamProps & { onSplitChange?: (event: CustomEvent) => void; onShare?: (event: CustomEvent) => void; onTerminate?: (event: CustomEvent) => void; onFeedbackSubmit?: (event: CustomEvent) => void; onFeedbackOnView?: (event: CustomEvent) => void; onUiSwitch?: (event: CustomEvent<"canvas" | "chat">) => void; onDetailChange?: (event: CustomEvent) => void; }; "ai-portal--cruise-canvas": DetailedHTMLProps, CruiseCanvas> & CruiseCanvasProps & { onShare?: (event: CustomEvent) => void; onTerminate?: (event: CustomEvent) => void; onFeedbackSubmit?: (event: CustomEvent) => void; onFeedbackOnView?: (event: CustomEvent) => void; onUiSwitch?: (event: CustomEvent<"canvas" | "chat">) => void; onDetailChange?: (event: CustomEvent) => void; }; "ai-portal--dropdown-select": DetailedHTMLProps, DropdownSelect> & DropdownSelectProps & { onChange?: (event: CustomEvent) => void; }; "ai-portal--elevo-card": DetailedHTMLProps, ElevoCard> & ElevoCardProps; "ai-portal--elevo-logo": DetailedHTMLProps, ElevoLogo>; "ai-portal--elevo-sidebar": DetailedHTMLProps, ElevoSidebar> & ElevoSidebarProps & { onLogout?: () => void; onAddProject?: () => void; onActionClick?: (event: CustomEvent) => void; onProjectActionClick?: (event: CustomEvent) => void; onAddServiceflow?: (event: CustomEvent) => void; onPersonalActionClick?: (event: CustomEvent) => void; }; "ai-portal--flow-tabs": DetailedHTMLProps, FlowTabs> & FlowTabsProps & { onTabClick?: (event: CustomEvent) => void; }; "ai-portal--gantt-chart": DetailedHTMLProps, GanttChart> & GanttChartProps & { onNodeClick?: (event: CustomEvent) => void; onFullscreenClick?: (event: CustomEvent) => void; }; "ai-portal--goal-card-list": DetailedHTMLProps, GoalCardList> & GoalCardListProps & { onItemClick?: (event: CustomEvent) => void; onItemStatusChange?: (event: CustomEvent) => void; onItemTitleChange?: (event: CustomEvent) => void; onItemNewChat?: (event: CustomEvent) => void; }; "ai-portal--home-container": DetailedHTMLProps, HomeContainer> & HomeContainerProps; "ai-portal--icon-button": DetailedHTMLProps, IconButton> & IconButtonProps; "ai-portal--mcp-tools": DetailedHTMLProps, McpTools> & McpToolsProps; "ai-portal--notice-dropdown": DetailedHTMLProps, NoticeDropdown> & NoticeDropdownProps & { onMarkAllRead?: (event: CustomEvent) => void; onNoticeClick?: (event: CustomEvent) => void; }; "ai-portal--notice-list": DetailedHTMLProps, NoticeList> & NoticeListProps & { onNoticeClick?: (event: CustomEvent) => void; onMarkItemsRead?: (event: CustomEvent) => void; onMarkAllRead?: (event: CustomEvent) => void; }; "ai-portal--page-container": DetailedHTMLProps, PageContainer> & PageContainerProps; "ai-portal--preview-container": DetailedHTMLProps, PreviewContainer> & PreviewContainerProps; "ai-portal--project-conversations": DetailedHTMLProps, ProjectConversations> & ProjectConversationsProps & { onActionClick?: (event: CustomEvent) => void; onGoalClick?: (event: CustomEvent) => void; }; "ai-portal--project-knowledges": DetailedHTMLProps, ProjectKnowledges> & ProjectKnowledgesProps & { onActionClick?: (event: CustomEvent) => void; onItemClick?: (event: CustomEvent) => void; }; "ai-portal--running-flow": DetailedHTMLProps, RunningFlow> & RunningFlowProps & { onActiveChange?: (event: CustomEvent) => void; }; "ai-portal--show-case": DetailedHTMLProps, ShowCase> & ShowCaseProps; "ai-portal--show-cases": DetailedHTMLProps, ShowCases> & ShowCasesProps; "ai-portal--stage-flow": DetailedHTMLProps, StageFlow> & StageFlowProps & { onChange?: (event: CustomEvent) => void; onAddActivity?: (event: CustomEvent<{ stage: Stage; }>) => void; onEditActivity?: (event: CustomEvent) => void; }; "ai-portal--stat-with-mini-chart": DetailedHTMLProps, StatWithMiniChart> & StatWithMiniChartProps; "ai-portal--sticky-container": DetailedHTMLProps, StickyContainer> & StickyContainerProps; "ai-portal--tab-list": DetailedHTMLProps, TabList> & TabListProps & { onTabClick?: (event: CustomEvent) => void; }; "ai-portal--chat-panel": DetailedHTMLProps, ChatPanel> & Omit & { help?: { render: () => React.ReactNode; }; }; "ai-portal--space-chat-guide": DetailedHTMLProps, SpaceChatGuide> & SpaceChatGuideProps; } } }