import { AfterViewInit } from '@angular/core'; import { AbstractControl, ValidationErrors, Validator } from '@angular/forms'; export declare class CurrencyDirective implements AfterViewInit, Validator { private _formControl; private _preValue; private _digitPattern; private _currencyPattern; formControl: AbstractControl; onFocus(): void; onBlur(): void; preValue: string; constructor(); ngAfterViewInit(): void; handleDecimal(val: string): string; formatNumber(val: string): string; validate(control: AbstractControl): ValidationErrors | null; }