import { App } from 'vue';
import { I18n } from 'vue-i18n';
export declare interface Lang {
    [propName: number | string]: string | number | Lang | Lang[] | string[];
}
export declare type I18nMessages = {
    'zh-CN': Record<string, any>;
    'en-US': Record<string, any>;
};
export declare let i18nInstance: I18n;
export declare const setupI18n: (app: App, messages: I18nMessages, loadOnlineMessage?: boolean) => Promise<void>;
/**
 * 翻译函数 - 支持多种格式
 * @param key 翻译键或完整消息
 * @param params 插值参数
 * @returns 翻译后的字符串
 */
export declare function Translate(key: string, params?: Record<string, unknown>): string;
/**
 * 获取当前语言
 */
export declare function getCurrentLocale(): string;
export default setupI18n;
