import { EventEmitter, OnInit } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
import { TranslateService } from '@aztrix/helpers';
import { ErrorType } from '@aztrix/models';
import { SessionsService } from '@aztrix/sdk';
import { BehaviorSubject } from 'rxjs';
import { ModeService } from '../services/mode.service';
import * as i0 from "@angular/core";
export declare class LoginFormComponent implements OnInit {
    modeService: ModeService;
    private _sessions;
    private _snackbar;
    private _translate;
    form: FormGroup;
    allowMobile: boolean;
    loginComplete: EventEmitter<string>;
    loading$: BehaviorSubject<boolean>;
    ErrorType: typeof ErrorType;
    errorType: ErrorType;
    showMobile: boolean;
    mobileForm: FormControl<string>;
    emailForm: FormControl<string>;
    constructor(modeService: ModeService, _sessions: SessionsService, _snackbar: MatSnackBar, _translate: TranslateService);
    get usernameForm(): import("@angular/forms").AbstractControl<any, any>;
    get passwordForm(): import("@angular/forms").AbstractControl<any, any>;
    ngOnInit(): void;
    switchMobileOrEmail(): void;
    _login(): void;
    private _clearPassword;
    static ɵfac: i0.ɵɵFactoryDeclaration<LoginFormComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<LoginFormComponent, "ax-login-form", never, { "form": "form"; "allowMobile": "allowMobile"; }, { "loginComplete": "loginComplete"; }, never, never, false, never>;
}
