import * as react_jsx_runtime from 'react/jsx-runtime'; /** * CopilotChatHistory — WealthX DS (Molecule) * * The Copilot's chat-history panel: a scrollable list of past conversations. * The current conversation is highlighted with a "current" badge and inline * rename / delete actions; the rest are tappable rows that reopen the thread. * * Pure display — the host supplies the conversations and wires the callbacks. */ interface CopilotConversation { id: string; /** Conversation title (usually the first user message). */ title: string; /** Relative time, e.g. "a few seconds ago" / "20 hours ago". */ timeLabel: string; } interface CopilotChatHistoryProps { conversations: CopilotConversation[]; /** Id of the conversation currently open — gets the highlight + actions. */ currentId?: string; /** Panel heading. Defaults to "Chat History". */ title?: string; onSelect?: (id: string) => void; onRename?: (id: string) => void; onDelete?: (id: string) => void; onClose?: () => void; /** Shown when there are no conversations. */ emptyLabel?: string; className?: string; } declare function CopilotChatHistory({ conversations, currentId, title, onSelect, onRename, onDelete, onClose, emptyLabel, className, }: CopilotChatHistoryProps): react_jsx_runtime.JSX.Element; export { CopilotChatHistory, type CopilotChatHistoryProps, type CopilotConversation };