UNPKG

349 BTypeScriptView Raw
1import { CreateIntlFn } from '@formatjs/intl';
2import * as React from 'react';
3import type { IntlConfig, IntlShape } from '../types';
4/**
5 * Create intl object
6 * @param config intl config
7 * @param cache cache for formatter instances to prevent memory leak
8 */
9export declare const createIntl: CreateIntlFn<React.ReactNode, IntlConfig, IntlShape>;