import * as React from "react"; import { IntlConfig } from "react-intl"; import { Wrapper } from "./Wrapper.js"; /** * A class to provide a simple interface for setting up your React component unit tests, with support for `react-intl`. * * This class shouldn't be used when using `react-intl-redux`, as that uses a different provider component. */ export declare abstract class WrapperWithIntl, P extends React.ComponentProps = React.ComponentProps> extends Wrapper { /** * The props to be passed to `react-intl`'s `IntlProvider` component */ protected abstract intlProviderProps: Partial; /** * Returns the merged `IntlProvider` props */ protected get mergedIntlProviderProps(): { wrapRichTextChunksInFragment?: boolean | undefined; locale: string; defaultRichTextElements?: Record> | undefined; onWarn?: import("@formatjs/intl").OnWarnFn | undefined; fallbackOnEmptyString?: boolean | undefined; formats?: import("react-intl").CustomFormats | undefined; messages: Record | Record; timeZone?: string | undefined; textComponent?: (React.ComponentType | keyof React.JSX.IntrinsicElements) | undefined; defaultLocale: string; defaultFormats?: import("react-intl").CustomFormats | undefined; onError?: import("@formatjs/intl").OnErrorFn | undefined; }; /** * The component that wraps the component you're testing */ protected WrappingComponent: React.FC; }