import { useState, useRef, useEffect } from 'react' import { Package, GitBranch, RefreshCw, Sparkles, FileText, Bell, Settings, FolderOpen, Check, Github, FolderPlus, CircleDot } from 'lucide-react' export interface VaultOption { label: string path: string } interface StatusBarProps { noteCount: number modifiedCount?: number vaultPath: string vaults: VaultOption[] onSwitchVault: (path: string) => void onOpenSettings?: () => void onOpenLocalFolder?: () => void onCreateNewVault?: () => void onConnectGitHub?: () => void hasGitHub?: boolean } function VaultMenuItem({ vault, isActive, onSelect }: { vault: VaultOption; isActive: boolean; onSelect: () => void }) { return (