import type { Translations } from 'c15t'; /** * Hook for accessing translations in the current language. * * @remarks * This hook provides access to the translations for the currently selected language. * It automatically handles language selection based on the translation configuration. * Falls back to English if the selected language is not available. * * @returns The translations for the current language * * @example * ```tsx * function CookieBanner() { * const translations = useTranslations(); * * return ( *
{translations.cookieBanner.description}
*