import { default as React } from 'react';
export interface LanguageContextType<T extends string = string> {
    language: T;
}
export declare const LanguageContext: React.Context<LanguageContextType<string> | undefined>;
/**
 * Hent nåværende språk fra context
 * @param fallbackLanguage Språk som brukes som fallback dersom hooken brukes utenfor contexten
 * @returns LanguageContext
 */
export declare const useLanguage: <T extends string>(fallbackLanguage: T) => LanguageContextType<T>;
interface LanguageProviderProps<T extends string> {
    children: React.ReactNode;
    language: T;
}
declare const LanguageProvider: <T extends string>({ children, language }: LanguageProviderProps<T>) => React.JSX.Element;
export default LanguageProvider;
