import { default as React, ReactNode } from 'react';

interface ILanguage {
    label: string;
    code: string;
    direction: string;
}
interface LanguageState {
    languages: ILanguage[];
    currentLanguage: ILanguage | null;
    isLoading: boolean;
    error: string | null;
    isFallbackActive: boolean;
}
export interface LanguageContextType extends LanguageState {
    changeLanguage: (langCode: string) => void;
    fetchLanguages: () => Promise<void>;
}
declare const LanguageContext: React.Context<LanguageContextType>;
interface LanguageProviderProps {
    children: ReactNode;
}
export declare const LanguageProvider: React.FC<LanguageProviderProps>;
export { LanguageContext };
export default LanguageContext;
