import type en from './locales/en.json';
export type Locale = 'de' | 'el' | 'en' | 'es' | 'fr' | 'it' | 'pt' | 'sl' | 'tr';
export type AssistantTranslations = typeof en;
export type DeepPartial<T> = {
    [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
};
export interface I18nConfig {
    locale: Locale;
    apiUrl?: string;
    translations?: DeepPartial<AssistantTranslations>;
    disableApi?: boolean;
}
export interface I18nContextValue {
    locale: Locale;
    t: (key: string, params?: Record<string, string | number>) => string;
    setLocale: (locale: Locale) => void;
    isLoading: boolean;
}
