import { OnDestroy, AfterContentChecked } from '@angular/core'; import { NgControl } from '@angular/forms'; import { Subscription } from 'rxjs'; import { NaTranslateService } from '../../translate/na-translate.service'; /** * 显示一条错误 * * @export * @class NaFormValidatorComponent * @implements {AfterContentChecked} */ export declare class NaFormValidatorComponent implements OnDestroy, AfterContentChecked { private translate; private _errorPrefix; private _fieldPrefix; private _pending; msg: string; error$: Subscription; fieldPrefix: string; errorPrefix: string; pending: string; ngControl: NgControl; constructor(translate: NaTranslateService); ngAfterContentChecked(): void; ngOnDestroy(): void; }