import { Button } from "@/components/ui/button" import { Badge } from "@/components/ui/badge" import { History, Search, Sparkles, Share2, Home } from "lucide-react" import Link from "next/link" import type { LucideIcon } from "lucide-react" interface ChatHeaderProps { isResearchMode: boolean useHybrid: boolean currentSessionId: string | null showHistory: boolean isLoading: boolean onToggleHistory: () => void onToggleSidebar?: () => void onShare: () => void HistoryIcon?: LucideIcon } export function ChatHeader({ isResearchMode, useHybrid, currentSessionId, showHistory, onToggleHistory, onToggleSidebar, onShare, HistoryIcon }: ChatHeaderProps) { return (

AmaniQuery

Conversational Legal Intelligence

{isResearchMode && ( Research )} {useHybrid && !isResearchMode && ( Hybrid )}
{currentSessionId && ( )}
) }