import * as React from 'react'; import { Locale } from '../locale-provider'; import { ConfigConsumer, withConfigConsumer, ConfigContext, CSPConfig, ConfigConsumerProps } from './context'; export { ConfigContext, withConfigConsumer, ConfigConsumer, CSPConfig, ConfigConsumerProps }; export declare const configConsumerProps: string[]; export interface ConfigProviderProps { prefixCls?: string; children?: React.ReactNode; locale?: Locale; direction?: 'ltr' | 'rtl'; csOrigin?: string; } declare class ConfigProvider extends React.Component { static config: ConfigProviderProps; getPrefixCls: (suffixCls: string, customizePrefixCls?: string | undefined) => string; renderProvider: (context: ConfigConsumerProps, legacyLocale: Locale) => JSX.Element; render(): JSX.Element; } export default ConfigProvider;