import { ComputedRef, PropType, Ref, VNodeTypes, DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { Locale } from '.';
export type LocaleComponentName = Exclude<keyof Locale, 'locale'>;
export interface LocaleReceiverProps {
    componentName?: string;
    defaultLocale?: Locale | Function;
    children: (locale: Locale, localeCode?: string, fullLocale?: Locale) => VNodeTypes;
}
interface LocaleInterface {
    [key: string]: any;
}
export interface LocaleReceiverContext {
    antLocale?: LocaleInterface;
}
declare const _default: DefineComponent<ExtractPropTypes<{
    componentName: PropType<LocaleComponentName>;
    defaultLocale: {
        type: (FunctionConstructor | ObjectConstructor)[];
    };
    children: {
        type: PropType<(locale: any, localeCode?: string, fullLocale?: object) => VNodeTypes>;
    };
}>, () => VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>[] | VNodeTypes | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
    componentName: PropType<LocaleComponentName>;
    defaultLocale: {
        type: (FunctionConstructor | ObjectConstructor)[];
    };
    children: {
        type: PropType<(locale: any, localeCode?: string, fullLocale?: object) => VNodeTypes>;
    };
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default _default;
export declare function useLocaleReceiver<T extends LocaleComponentName>(componentName: T, defaultLocale?: Locale[T] | Function | ComputedRef<Locale[T] | Function>, propsLocale?: Ref<Locale[T]>): [ComputedRef<Locale[T]>];
