import type { Locale, createFormatter } from 'use-intl/core'; /** * Returns a formatter based on the given locale. * * The formatter automatically receives the request config, but * you can override it by passing in additional options. */ export default function getFormatter(opts?: { locale?: Locale; }): Promise>;