1 | import * as React from 'react';
|
2 | import { ResolvedIntlConfig as CoreResolvedIntlConfig, IntlFormatters, Formatters } from '@formatjs/intl';
|
3 | import { DEFAULT_INTL_CONFIG } from './utils';
|
4 | export declare type IntlConfig = Omit<ResolvedIntlConfig, keyof typeof DEFAULT_INTL_CONFIG> & Partial<typeof DEFAULT_INTL_CONFIG>;
|
5 | export interface ResolvedIntlConfig extends CoreResolvedIntlConfig<React.ReactNode> {
|
6 | textComponent?: React.ComponentType | keyof React.ReactHTML;
|
7 | wrapRichTextChunksInFragment?: boolean;
|
8 | }
|
9 | export interface IntlShape extends ResolvedIntlConfig, IntlFormatters<React.ReactNode> {
|
10 | formatters: Formatters;
|
11 | }
|
12 |
|
\ | No newline at end of file |