import { AbstractControl, NgModel } from '@angular/forms';
import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
type ErrorMessageType = {
    id: string;
    message: string;
};
export declare class ControlErrorsComponent implements OnDestroy, OnChanges {
    static readonly nextIdSeed = 0;
    private static readonly RANDOM_ID_END_INDEX;
    private static readonly BASE_36;
    private static _nextId;
    static getNextId(): number;
    id: string;
    control: AbstractControl | NgModel;
    errorMessages: any;
    form: any;
    errorMessagesList: ErrorMessageType[];
    private readonly onDestroy$;
    ngOnChanges(changes: SimpleChanges): void;
    setErrorMessagesList(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ControlErrorsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ControlErrorsComponent, "s-control-errors", never, { "id": { "alias": "id"; "required": false; }; "control": { "alias": "control"; "required": true; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
}
export {};
