import type { TFunction } from 'i18next'; import { type ReactNode } from 'react'; import { type Locale } from '../locales/i18n'; interface FunkitI18nValue { /** Translate against the SDK's private i18next instance. */ t: TFunction; locale: Locale; } export interface FunkitI18nProviderProps { children: ReactNode; /** UI language. Defaults to English. */ locale?: Locale; } /** * Translation layer for `@funkit/connect-rn`. Keeps the SDK's copy on its * private i18next instance and exposes `t` via {@link useFunkitTranslation}. * Internal — host apps mount {@link FunkitProvider}, which passes `locale` down. */ export declare function FunkitI18nProvider({ children, locale, }: FunkitI18nProviderProps): import("react").JSX.Element; /** Read the SDK's translation function (and active locale). */ export declare function useFunkitTranslation(): FunkitI18nValue; export {}; //# sourceMappingURL=FunkitI18nProvider.d.ts.map