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