import { App } from 'vue'; export interface Lang { code?: string; name?: string; displayName?: string; nativeName?: string; revision?: number; rtl: boolean; } declare class I18n { private langCode; private ignoreCase; constructor(langCode: string, ignoreCase?: boolean); loadScript(src: string): HTMLScriptElement; unloadScript(): boolean; swtichLang(langCode: string): void; t(key: string): string; t2(key1: string, key2: string): string; info(): Lang | undefined; } export declare function createI18n(langCode: string, ignoreCase: boolean): I18n; export declare function I18nPlugin(app: App, langCode: string, ignoreCase?: boolean): void; export declare function useI18n(): { i18n: I18n; t: (key: string) => string; switchLang: (langCode: string) => void; lang: () => Lang | undefined; }; export {};