import * as React from 'react'; import { type TranslateFn, type LangType } from '../locale'; import '../locale/zh-CN'; import '../locale/en-US'; export declare type SizeType = 'small' | 'middle' | 'large'; declare type ConfigContext = { disabled?: boolean; size?: SizeType; locale?: LangType; getPopupContainer?: (node: HTMLElement) => Element; }; export interface ConfigProviderProps extends ConfigContext { children: React.ReactNode; } export declare const ConfigContext: React.Context; export declare const ConfigProvider: React.FC; export default ConfigProvider; export declare const useConfig: () => ConfigContext & { translate: TranslateFn; };