'use client'; import { cn } from '@/lib/utils'; import { useImageGen } from '@/hooks/useImageGen'; import { useTranslation } from '@/hooks/useTranslation'; import type { TranslationKey } from '@/i18n'; import { Tooltip, TooltipContent, TooltipTrigger, } from '@/components/ui/tooltip'; export function ImageGenToggle() { const { state, setEnabled } = useImageGen(); const { t } = useTranslation(); const handleToggle = () => { setEnabled(!state.enabled); }; return ( {t('composer.designAgentTooltip' as TranslationKey)} ); }