/** * Formats a phone number in local Tunisian format. * Example: 22555111 → "22 555 111" */ declare function formatPhone(phone: string): string; /** * Formats a phone number in local Tunisian format using Arabic-Indic digits. * Example: 22555111 → "٢٢ ٥٥٥ ١١١" */ declare function formatPhoneAr(phone: string): string; /** * Formats a phone number in international format. * Example: 22555111 → "+216 22 555 111" */ declare function formatPhoneIntl(phone: string): string; /** * Formats a landline number in local Tunisian format. * Example: 71234567 → "71 234 567" */ declare function formatLandline(phone: string): string; /** * Formats a landline number in international format. * Example: 71234567 → "+216 71 234 567" */ declare function formatLandlineIntl(phone: string): string; /** * Formats a number as Tunisian currency (TND). * - Uses space as thousands separator * - Uses comma as decimal separator * - Shows 3 decimal places (millimes) * * Example: 1250.5 → "1 250,500 TND" */ declare function formatCurrency(amount: number): string; /** * Formats a number as Tunisian currency using Arabic-Indic digits. * - Uses space as thousands separator and Arabic comma (،) as decimal separator * - Shows 3 decimal places (millimes) * - Uses the Arabic "د.ت" (dinar tunisien) symbol * * Example: 1250.5 → "١ ٢٥٠،٥٠٠ د.ت" */ declare function formatCurrencyAr(amount: number): string; /** * Formats a CIN by ensuring it's 8 digits with leading zeros. * Example: "4555666" → "04555666" */ declare function formatCIN(cin: string): string; /** * Formats a Tunisian IBAN for display. * * @param iban - The IBAN string to format * @returns Formatted IBAN in groups of 4, or the original string if invalid length * * @example * formatIBAN('TN5910006035183598478831') * // Returns: 'TN59 1000 6035 1835 9847 8831' */ declare function formatIBAN(iban: string): string; export { formatCIN, formatCurrency, formatCurrencyAr, formatIBAN, formatLandline, formatLandlineIntl, formatPhone, formatPhoneAr, formatPhoneIntl };