import type { i18n, KeyPrefix, Namespace, TFunction } from "i18next"; import type { FallbackNs, UseTranslationOptions } from "react-i18next"; import { $Tuple } from "react-i18next/helpers"; export type { UseTranslationOptions }; export type UseTranslationResponse = { t: TFunction; i18n: i18n; ready: boolean; }; export type UseTranslationHook = (ns?: string, options?: UseTranslationOptions>>>) => UseTranslationResponse;