import { ValidationErrors } from '@angular/forms';
import { KeyValueObject } from '../../types';
import { ErrorMessage } from '../error-msg-component-factory/error-msg-component';
import { ErrorMsgParser } from './error-msg-parser';
import * as i0 from "@angular/core";
export declare class ErrorMsgParserService implements ErrorMsgParser {
    private customErrorMessages;
    private errorMessages;
    constructor(customErrorMessages: KeyValueObject);
    getMessageByKey(key: string): string;
    errorMessageParser(errorKey: string, valueKey: string, value: string | number | null): string;
    parse(error: ValidationErrors): ErrorMessage[];
    static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMsgParserService, [{ optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ErrorMsgParserService>;
}
