import * as react_intl from 'react-intl'; import { Messages } from './types.d.js'; /** * Returns the default messages for `locale`. * this is returned by custom (`useIntl`) if `IntlContext` is not available. * This prevents error when `IntlProvider` is not used. */ declare const getDefaultMessages: (locale: string) => Messages; /** * Custom hook returning "intl" object. * Adds default values for missing messages, remains compatible with `` * Bypasses `invariantIntlContext` in react-intl. */ declare const useIntl: (locale?: string) => react_intl.IntlShape; export { getDefaultMessages, useIntl };