import * as vue0 from "vue"; import { App, VNode } from "vue"; import { KeyPrefix, Namespace, TFunction, i18n } from "i18next"; //#region index.d.ts declare module "vue" { interface ComponentCustomProperties { $t: TFunction; $i18next: i18n; } } interface VueI18NextOptions { i18next: i18n; rerenderOn?: ("languageChanged" | "loaded" | "added" | "removed")[]; slotStart?: string; slotEnd?: string; } declare function install(app: App, { i18next, rerenderOn, slotStart, slotEnd }: VueI18NextOptions): void; interface UseTranslationOptions { keyPrefix?: TKPrefix; lng?: string | readonly string[]; } declare function useTranslation = undefined>(ns?: N, options?: UseTranslationOptions): { i18next: i18n; t: TFunction; }; declare const TranslationComponent: vue0.DefineComponent<{ translation: { type: StringConstructor; required: true; }; }, () => (string | VNode)[], unknown, {}, {}, vue0.ComponentOptionsMixin, vue0.ComponentOptionsMixin, {}, string, vue0.PublicProps, Readonly>, {}, {}>; //#endregion export { TranslationComponent, install as default, useTranslation };