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