import { FormControl } from '@angular/forms'; /** * @dynamic need this because there are static memebers */ export declare class UserNameValidator { /** * Username regular expression pattern * * letters and numbers only */ static readonly UsernamePattern: string; /** * Username regular expression pattern * * letters and numbers * * Doesn't allow underscore or . at the beginning or end of value */ static readonly UsernameNoUnderscoreDotPattern: RegExp; static ValidUsername(control: FormControl): { [key: string]: any; }; }