import { AnimatePresence, motion } from "framer-motion"; import { Moon, Sun, Sparkles, LayoutGrid, Bell } from "lucide-react"; import { Button } from "@/components/ui/button"; import { useAutoHideHeader } from "@/hooks/useAutoHideHeader"; interface HeaderProps { mode: "night" | "day"; onToggleMode: () => void; onOpenDrawer: () => void; onRegenerate: () => void; onNotify: () => void; } export function Header({ mode, onToggleMode, onOpenDrawer, onRegenerate, onNotify }: HeaderProps) { const visible = useAutoHideHeader(60, 3000); return ( <> {/* invisible top hover strip ensures reveal works even when chrome is hidden */}