import { useTranslation } from 'react-i18next';

/** Returns i18n helpers bound to the ui namespace. */
export function useUiTranslation(): ReturnType<typeof useTranslation> {
  return useTranslation('ui');
}
