import { ControlContainer } from '@angular/forms'; /** * Component that displays errors from a form control if a target is set or from a form if no target were specified. * * @example * */ export declare class ErrorsDisplayComponent { private cc; /** * If set, specific target whose errors will be displayed */ private target; /** * Form containing this container. * It's this form whose errors will be displayed */ private group; /** * Constructor of the component * * @param cc Control container, element allowing to get the parent form */ constructor(cc: ControlContainer); /** * Retrieves error from the target or from the full form depending on the presence or not of a target * * @returns errors Object containing the errors retrieved */ readonly errors: any; }