import * as react_intl from 'react-intl'; /** * Returns current context from `IntlShape`. When there is no context returns * an `IntlShape` with default `{locale: 'en', messages: {}}` * Removes the need for an `IntlProvodier` to be present in the DOM Tree */ declare const useSafeIntl: () => react_intl.IntlShape; type T = (id: string, values?: Record) => string; declare function getTranslator(): T; export { type T, getTranslator, useSafeIntl };