import React from "react";
import type { Locale, PromptKitI18nProviderProps, PromptKitTranslations, TranslationFunction } from "./types";
interface I18nContextValue {
    locale: Locale;
    t: TranslationFunction;
    translations: PromptKitTranslations;
}
export declare function PromptKitI18nProvider({ children, adapter, defaultLocale, translations: customTranslations, }: PromptKitI18nProviderProps): import("react/jsx-runtime").JSX.Element;
export declare function usePromptKitI18n(): I18nContextValue;
/**
 * Higher-order component that provides default i18n if not already provided
 * Useful for components that need to work both with and without i18n provider
 */
export declare function withOptionalI18n<P extends object>(Component: React.ComponentType<P>): React.ComponentType<P>;
export {};
