import { App, Ref } from 'vue'; import { LanguageType, LocalesType, TranslationsType, GetTranslationType, Global$tVUType } from './Localization.types'; declare global { interface VcGlobalSingletons { localization: { locales: Ref; tLocale: Ref; translator: Ref; }; } } declare module '@vue/runtime-core' { interface ComponentCustomProperties { $tVU: Global$tVUType; } } /** * Updates the locale messages by combining the existing messages with the new dictionary for a specified locale. * * @param {string} locale - The code of the locale for which messages are being updated. * @param {TranslationsType} dictionary - The dictionary object containing translations for the specified locale. * @return {void} - Does not return a value. */ declare function updateLocaleMessages(locale: string, dictionary: TranslationsType): void; declare function changeLocale(locale: string): void; export declare const tVUManage: { updateLocaleMessages: typeof updateLocaleMessages; changeLocale: typeof changeLocale; }; export declare const tVU: Global$tVUType; export default function (app: App, lang?: LanguageType, getTranslation?: GetTranslationType): void; export {};