import { IValidationController, ValidationResultsSubscriber, ValidationEvent, ValidationResultTarget } from '../validation-controller'; /** * A validation errors subscriber in form of a custom attribute. * * It registers itself as a subscriber to the validation controller available for the scope. * The target controller can be bound via the `@bindable controller`; when omitted it takes the controller currently registered in the container. * * The set of errors related to the host element or the children of it , are exposed via the `@bindable errors`. * * @example * ```html *
* * * ${errorInfo.result.message} * *
* ``` */ export declare class ValidationErrorsCustomAttribute implements ValidationResultsSubscriber { controller?: IValidationController; errors: ValidationResultTarget[]; private readonly errorsInternal; private readonly host; private readonly scopedController; handleValidationEvent(event: ValidationEvent): void; binding(): void; unbinding(): void; } //# sourceMappingURL=validation-errors-custom-attribute.d.ts.map