@nexim/sanitizer
Version:
A collection of sanitization utilities for phone numbers and numeric inputs with TypeScript type safety.
9 lines • 324 B
TypeScript
/**
* Supported language codes for Unicode digit conversion
*/
export type UnicodeLangKeys = 'en' | 'ar' | 'fa';
/**
* Converts numbers between different Unicode digit representations
*/
export declare function convertDigits(str: string, toLanguage: UnicodeLangKeys): string;
//# sourceMappingURL=unicode-digits.d.ts.map