import { ResolvedIntlConfig } from './types'; import * as React from 'react'; import { FormatXMLElementFn } from 'intl-messageformat'; export declare function invariantIntlContext(intl?: any): asserts intl; export declare const DEFAULT_INTL_CONFIG: Pick; /** * Takes a `formatXMLElementFn`, and composes it in function, which passes * argument `parts` through, assigning unique key to each part, to prevent * "Each child in a list should have a unique "key"" React error. * @param formatXMLElementFn */ export declare function assignUniqueKeysToParts(formatXMLElementFn: FormatXMLElementFn): FormatXMLElementFn; export declare function shallowEqual = Record>(objA?: T, objB?: T): boolean;