import { Injector, OnDestroy, PipeTransform } from '@angular/core';
import { ValidationErrors } from '@angular/forms';
import { RpxTranslationService } from 'rpx-xui-translation';
import * as i0 from "@angular/core";
export declare class FirstErrorPipe implements PipeTransform, OnDestroy {
    private readonly rpxTranslationService;
    private readonly injector;
    private asyncPipe;
    constructor(rpxTranslationService: RpxTranslationService, injector: Injector);
    transform(value: ValidationErrors, args?: string): string;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FirstErrorPipe, never>;
    static ɵpipe: i0.ɵɵPipeDeclaration<FirstErrorPipe, "ccdFirstError", false>;
}
//# sourceMappingURL=first-error.pipe.d.ts.map