next-intl
Version:
Internationalization (i18n) for Next.js
15 lines (14 loc) • 645 B
TypeScript
/**
* This is the main entry file when non-'react-server'
* environments import from 'next-intl'.
*
* Maintainer notes:
* - Make sure this mirrors the API from 'react-server'.
* - Make sure everything exported from this module is
* supported in all Next.js versions that are supported.
*/
import { useFormatter as base_useFormatter, useTranslations as base_useTranslations } from 'use-intl';
export * from 'use-intl';
export declare const useTranslations: typeof base_useTranslations;
export declare const useFormatter: typeof base_useFormatter;
export { default as NextIntlClientProvider } from '../shared/NextIntlClientProvider.js';