import { StaticProvider } from '@angular/core'; import { FormControl } from '@angular/forms'; import { ValidationAlerts } from '../validation-alert/validation-alert'; import { FormValidatorBase } from './base-validator'; import * as i0 from "@angular/core"; /** * Provider for the FormFieldValidatorDirective directive */ export declare const REQUIRED_TRIMMED_VALIDATOR: StaticProvider; /** * A Directive that marks a field as invalid if it is null or empty after being trimmed */ export declare class RequiredTrimmedValidatorDirective extends FormValidatorBase { /** * Indicates that this validator should be run */ get requiredTrimmed(): boolean; set requiredTrimmed(value: boolean); /** * Internal placeholder for requiredTrimmed */ private internalRequiredTrimmed; /** * Instantiates a new instance of RequiredTrimmedValidatorDirective */ constructor(); /** * Implementation of Validator interface. * Validates that the control contains a value other than null or whitespace * @param c The FormControl attached to this element * @return null when valid, otherwise returns a validation object */ validate(c: FormControl): ValidationAlerts | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }