import { IntlCache, CustomFormats, Formatters, OnErrorFn, ResolvedIntlConfig } from './types'; import { NumberFormatOptions } from '@formatjs/ecma402-abstract'; export declare function filterProps, K extends string>(props: T, allowlist: Array, defaults?: Partial): Pick; export declare const DEFAULT_INTL_CONFIG: Pick, 'fallbackOnEmptyString' | 'formats' | 'messages' | 'timeZone' | 'defaultLocale' | 'defaultFormats' | 'onError' | 'onWarn'>; export declare function createIntlCache(): IntlCache; /** * Create intl formatters and populate cache * @param cache explicit cache to prevent leaking memory */ export declare function createFormatters(cache?: IntlCache): Formatters; export declare function getNamedFormat(formats: CustomFormats, type: T, name: string, onError: OnErrorFn): NumberFormatOptions | Intl.DateTimeFormatOptions | Intl.RelativeTimeFormatOptions | undefined;