import React from 'react'; import type { Locale } from 'src/components/locale'; export interface ConfigProviderProps { prefixCls?: string; locale?: Locale; children?: React.ReactNode; table?: { queryParamKeys?: boolean | string[]; ajaxActionErrorToast?: boolean; fetchActionErrorToast?: boolean; }; form?: { defaultValueForceUpdate?: boolean; }; } export interface ConfigConsumerProps { prefixCls?: string; locale?: Locale; table?: { queryParamKeys?: boolean | string[]; ajaxActionErrorToast?: boolean; fetchActionErrorToast?: boolean; }; form?: { defaultValueForceUpdate?: boolean; }; } export declare const ConfigContext: React.Context; export declare const ConfigConsumer: React.Consumer; declare const ProConfigProvider: React.FunctionComponent; export default ProConfigProvider;