import { AbstractControl, AsyncValidator, ValidationErrors } from '@angular/forms'; import { Observable } from 'rxjs'; import { SavedSearchesContextService } from '../../../../services/saved-searches-context.service'; import * as i0 from "@angular/core"; export declare class UniqueSearchNameValidator implements AsyncValidator { private readonly savedSearchesService; constructor(savedSearchesService: SavedSearchesContextService); validate(control: AbstractControl): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }