import { SimpleChanges, OnChanges } from '@angular/core'; import { AbstractControl, Validator, AsyncValidatorFn } from '@angular/forms'; import { Observable } from 'rxjs'; export declare class ValidSpaceNameValidatorDirective implements Validator, OnChanges { static readonly MIN_SPACE_NAME_LENGTH = 1; static readonly MAX_SPACE_NAME_LENGTH = 63; validSpaceName: boolean; private valFn; constructor(); ngOnChanges(changes: SimpleChanges): void; validate(control: AbstractControl): Observable<{ [key: string]: any; }>; } export declare function validSpaceNameValidator(): AsyncValidatorFn;