import '@angular/localize/init';
import { UntypedFormControl } from '@angular/forms';
import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
import { MobicloudCoreService } from "../services/mobicloud-core.service";
import * as i0 from "@angular/core";
export declare class UsernameValidator {
    protected httpClient: HttpClient;
    coreService: MobicloudCoreService;
    currentUserId: string | undefined;
    debouncer: any | undefined;
    constructor(httpClient: HttpClient, coreService: MobicloudCoreService);
    checkUsername(control: UntypedFormControl): any;
    executeFunction<T>(parameterString?: string, requestTimeout?: number): Promise<Observable<T>>;
    handleError(error: any): Observable<never>;
    usernameValidation_devextreme(username: string, currentUserId?: string): Promise<void>;
    usernameValidation_customer_devextreme(customerId: string, username: string, currentUserId?: string): Promise<void>;
    usernameValidation_vendor_devextreme(vendorId: string, username: string, currentUserId?: string): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<UsernameValidator, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<UsernameValidator>;
}
//# sourceMappingURL=username-validator.d.ts.map