import * as react_jsx_runtime from 'react/jsx-runtime';
import * as React from 'react';
import { Dispatch, SetStateAction, PropsWithChildren } from 'react';
import { HightideTranslationLocales } from './translations.js';
import '@helpwave/internationalization';

type LocaleContextValue = {
    locale: HightideTranslationLocales;
    setLocale: Dispatch<SetStateAction<HightideTranslationLocales>>;
};
declare const LocaleContext: React.Context<LocaleContextValue>;
type LocaleWithSystem = HightideTranslationLocales | 'system';
type LocaleProviderProps = {
    locale?: LocaleWithSystem;
    onChangedLocale?: (locale: HightideTranslationLocales) => void;
};
declare const LocaleProvider: ({ children, locale, onChangedLocale }: PropsWithChildren<LocaleProviderProps>) => react_jsx_runtime.JSX.Element;
declare const useLocale: () => LocaleContextValue;
declare const useLanguage: () => {
    language: string;
};

export { LocaleContext, type LocaleContextValue, LocaleProvider, useLanguage, useLocale };
