import { PersianService } from './persian-service'; import * as i0 from "@angular/core"; export declare class PersianNumberService implements PersianService { static persianNumberPattern: string; private static persianNumbersTable; private static englishNumbersTable; /** * Splits input value by persian letters and then returns length of matched array. * * @param value * @return 0 if input value has no persian letter, numbers of persian letters in the input value otherwise. */ private static _getMatchedPatternLength; /** * Checks if input value contains any persian number or not. * * @param value * @return true if input value contains any persian number. false otherwise. */ containsPersian(value: string): boolean; /** * Checks if input value contains only persian letters. * * @param value */ isPersian(value: string): boolean; /** * Converts arabic numbers to the persian ones. * * @param value */ arabicToPersian(value: string): string; /** * Converts all arabic and english numbers to the persian numbers. * * @param value */ toPersian(value: string | number): string; /** * Convert persian numbers in input value to the english numbers. * * @param value */ toEnglish(value: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }