import React from "react";
import { changeConfirmLocale, getConfirmLocale } from './confirmLocale';
import ComponentsProps from "./componentsProps";
/** 国际化props */
export interface localeProps {
    /** 语言 */
    [name: string]: {
        /** 组件名 */
        [name: string]: {
            /** 键值 */
            [name: string]: any;
        };
    };
}
export interface GlobalContextProps {
    /** 当前语言 */
    language?: string;
    /** 所有语言配置 name为语言列表 */
    locale?: localeProps;
    /** intlFormat, 国际化语言 */
    intlFormat?: Function;
    /** 每个组件的默认props */
    componentsProps?: ComponentsProps;
    [name: string]: any;
}
declare const GlobalContext: React.Context<GlobalContextProps>;
export { changeConfirmLocale, getConfirmLocale };
export default GlobalContext;
