/** * Internationalization setup for @akson/cortex-supabase * Built-in translations for auth components */ import i18n from 'i18next'; export declare const SUPPORTED_LANGUAGES: readonly ["en", "fr", "de", "it"]; export type SupportedLanguage = typeof SUPPORTED_LANGUAGES[number]; /** * Custom useTranslation hook for auth components * Automatically prefixes keys with 'auth.' namespace * Only works in React environments */ export declare function useAuthTranslation(lng?: string): any; /** * Get translation function without React hook * Useful for server-side or non-component contexts */ export declare function getAuthTranslation(lng?: string): (key: string, options?: any) => string; /** * Check if a language is supported */ export declare function isSupportedLanguage(lng: string): lng is SupportedLanguage; /** * Get the best matching supported language */ export declare function getBestMatchingLanguage(preferredLng?: string): SupportedLanguage; export default i18n; //# sourceMappingURL=index.d.ts.map