import { useApi } from './api.mjs';

/**
 Returns utilities for translating content and formatting values
    according to the current localization of the user.
 */
function useI18n() {
  return useApi().i18n;
}

export { useI18n };
