import { Check, Copy, Download, Maximize, Minimize, Minus, Plus } from 'lucide-react' import { m } from '@/ui/paraglide/messages.js' export interface ImageControlBarProps { zoom: number onZoomIn: () => void onZoomOut: () => void onFit: () => void onDownload: () => void canDownload: boolean onCopy?: () => void copied?: boolean canCopy?: boolean /** When false, hides the download affordance. Defaults to true. */ allowDownload?: boolean /** When provided, renders a fullscreen toggle (used by compare mode). */ fullscreen?: { isFullScreen: boolean; onToggle: () => void } } export function ImageControlBar({ zoom, onZoomIn, onZoomOut, onFit, onDownload, canDownload, onCopy, copied = false, canCopy = true, allowDownload = true, fullscreen, }: ImageControlBarProps) { return (