import { FolderPlus, Plus, RefreshCw, Search, X, PanelLeftClose } from 'lucide-react'; import type { TFunction } from 'i18next'; import { Button } from '../../../ui/button'; import { Input } from '../../../ui/input'; import { IS_PLATFORM } from '../../../../constants/config'; type SidebarHeaderProps = { isPWA: boolean; isMobile: boolean; isLoading: boolean; projectsCount: number; searchFilter: string; onSearchFilterChange: (value: string) => void; onClearSearchFilter: () => void; onRefresh: () => void; isRefreshing: boolean; onCreateProject: () => void; onCollapseSidebar: () => void; t: TFunction; }; export default function SidebarHeader({ isPWA, isMobile, isLoading, projectsCount, searchFilter, onSearchFilterChange, onClearSearchFilter, onRefresh, isRefreshing, onCreateProject, onCollapseSidebar, t, }: SidebarHeaderProps) { const LogoBlock = () => (