import { Streami18n } from './Streami18n'; import type { StreamChat } from 'stream-chat'; import type { TranslationContextValue } from '../context/TranslationContext'; export type UseStreami18nParams = { client: StreamChat; /** An instance the integrator configured. One is created when absent. */ i18nInstance?: Streami18n; }; /** * Resolves the translation context value. The UI copy comes from the `Streami18n` instance, while * `userLanguage` is separate: `client.user.language`, the language the API auto-translates messages * into (read as ``message.i18n[`${userLanguage}_text`]``). */ export declare const useStreami18n: ({ client, i18nInstance, }: UseStreami18nParams) => TranslationContextValue; //# sourceMappingURL=useStreami18n.d.ts.map