/** * Internationalization system for Raaghu Design System * Supports multiple languages and RTL layouts */ export interface Locale { code: string; name: string; nativeName: string; direction: 'ltr' | 'rtl'; dateFormat: string; numberFormat: Intl.NumberFormatOptions; } export interface Translation { [key: string]: string | Translation; } export declare const SUPPORTED_LOCALES: Record; export declare const DEFAULT_TRANSLATIONS: Record; export declare class I18nManager { private static currentLocale; private static translations; private static fallbackLocale; static setLocale(locale: string): void; static getLocale(): string; static getLocaleInfo(locale?: string): Locale; static addTranslations(locale: string, translations: Translation): void; static t(key: string, locale?: string): string; static formatNumber(value: number, locale?: string): string; static formatDate(date: Date, locale?: string, options?: Intl.DateTimeFormatOptions): string; static formatCurrency(value: number, currency: string, locale?: string): string; static isRTL(locale?: string): boolean; static getAvailableLocales(): Locale[]; private static getNestedValue; private static mergeTranslations; private static updateDocumentDirection; private static updateDocumentLang; } export declare const t: (key: string, locale?: string) => string; export declare const formatNumber: (value: number, locale?: string) => string; export declare const formatDate: (date: Date, locale?: string, options?: Intl.DateTimeFormatOptions) => string; export declare const formatCurrency: (value: number, currency: string, locale?: string) => string; export declare const isRTL: (locale?: string) => boolean; declare const _default: { I18nManager: typeof I18nManager; SUPPORTED_LOCALES: Record; DEFAULT_TRANSLATIONS: Record; t: (key: string, locale?: string) => string; formatNumber: (value: number, locale?: string) => string; formatDate: (date: Date, locale?: string, options?: Intl.DateTimeFormatOptions) => string; formatCurrency: (value: number, currency: string, locale?: string) => string; isRTL: (locale?: string) => boolean; }; export default _default;