import { AbstractControl, Validator } from '@angular/forms'; import { PLOptions } from '../Services/persian-letter.service'; import * as i0 from "@angular/core"; /** * You can add PersianNumbersDirective property to your input tag for using persianNumbersValidator function on its value. * * [For more information also see persianNumbersValidator]{@link persianNumbersValidator} */ export declare class PersianNumbersDirective implements Validator { /** * Only a wrapper for persianNumbersValidator validator function. * * @param control * @return null for success or ValidationError for invalid inputs */ validate(control: AbstractControl): { [key: string]: any; } | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * You can add PersianLetterDirective property to your input tag for using persianNumbersValidator function on its value * For setting options value, you can simply set PersianLetterDirective property equal to the PLOptions object. * [For more information also see persianLettersValidator]{@link persianLettersValidator} */ export declare class PersianLetterDirective implements Validator { options: PLOptions; /** * Only a wrapper for persianLettersValidator validator function. * * @param control * @return null for success or ValidationError for invalid inputs */ validate(control: AbstractControl): { [key: string]: any; } | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }