import React from 'react'; import { IIntlCtxValue } from '../../types'; /** * @description * A factory that create HOC to consume the intl-context. * The component wrapped by the HOC will get intl-related values from props. * Other wind components use intl-context to read localization-related config. */ declare const withIntl: any>(mapIntlToProps?: MapIntlToProps | undefined) => (WrappedComponent: React.ComponentType) => React.ForwardRefExoticComponent any ? R : never), keyof (MapIntlToProps extends (value: IIntlCtxValue, hocProps: any) => infer P ? P : never)>>>; export default withIntl;