import { Moon, PanelLeftClose, RefreshCcw, Settings, SquarePen, Sun } from "lucide-react"; import { useTranslation } from "react-i18next"; import { ChatList } from "@/components/ChatList"; import { ConnectionBadge } from "@/components/ConnectionBadge"; import { Button } from "@/components/ui/button"; import { Separator } from "@/components/ui/separator"; import type { ChatSummary } from "@/lib/types"; interface SidebarProps { sessions: ChatSummary[]; activeKey: string | null; loading: boolean; theme: "light" | "dark"; onToggleTheme: () => void; onNewChat: () => void; onSelect: (key: string) => void; onRefresh: () => void; onRequestDelete: (key: string, label: string) => void; onCollapse: () => void; activeView?: "chat" | "settings"; onOpenSettings: () => void; } export function Sidebar(props: SidebarProps) { const { t } = useTranslation(); return ( ); }