import { FieldControl } from './field-control'; import * as i0 from "@angular/core"; /** * Used inside sp-field to provide an error message for the field. */ export declare class FieldErrorDirective { /** * A unique id for the host DOM element. * If none is supplied, it will be auto-generated. */ id: string; /** * Target for the error. Can be either a specific control or a nested field. * When set, only the targeted control/field will show the error state. */ target?: FieldControl | { controls?: { toArray(): FieldControl[]; }; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }