import type { ChatHistoryBucket } from './types'; type ChatHistoryPanelProps = { buckets: ChatHistoryBucket[]; selectedConversationId?: string; loading?: boolean; onNewChat?: () => void; onSelectConversation?: (conversationId: string) => void; onRenameConversation?: (conversationId: string) => void; onDeleteConversation?: (conversationId: string) => void; }; export default function ChatHistoryPanel({ buckets, selectedConversationId, loading, onNewChat, onSelectConversation, onRenameConversation, onDeleteConversation, }: ChatHistoryPanelProps) { const hasSessions = buckets.some((bucket) => bucket.sessions.length > 0); return ( ); }