/**
 * Adapter for react-i18next (Vite, CRA, etc.)
 *
 * Usage:
 * ```tsx
 * import { useTranslation } from 'react-i18next'
 * import { createReactI18nAdapter } from '@choiceform/prompt-kit/adapters/react-i18next'
 *
 * function App() {
 *   const { t, i18n } = useTranslation('prompt-kit')
 *   const adapter = createReactI18nAdapter(t, i18n)
 *
 *   return (
 *     <PromptKitI18nProvider adapter={adapter}>
 *       <YourApp />
 *     </PromptKitI18nProvider>
 *   )
 * }
 * ```
 */
import type { I18nAdapter, TranslationFunction } from "../types";
interface ReactI18n {
    language: string;
    changeLanguage: (lng: string) => Promise<void>;
    languages: string[];
    exists: (key: string) => boolean;
}
export declare function createReactI18nAdapter(t: TranslationFunction, i18n: ReactI18n): I18nAdapter;
export {};
