import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { UntypedFormBuilder, UntypedFormGroup, NgForm } from '@angular/forms';
import { NavController } from '@ionic/angular';
import { BehaviorSubject, Subscription } from 'rxjs';
import { ErrorModel } from '../../models/ErrorModel';
import { ComboOption } from '../../models/questionnaire/ComboModel';
import { UserModel } from '../../models/UserModel';
import { CaptchaService } from '../../services/captcha/captcha.service';
import { LoginService } from '../../services/login/login.service';
import { UtilService } from '../../services/util/util.service';
import * as i0 from "@angular/core";
export declare class MfaComponent implements OnInit, OnDestroy, OnChanges {
    ls: LoginService;
    fb: UntypedFormBuilder;
    private util;
    nav: NavController;
    private cs;
    private RESEND_CODE_ACTION_NAME;
    successDtls: any;
    blocked: boolean;
    isChecked: boolean;
    showHelp: boolean;
    user: UserModel;
    heading: string;
    requestCode: boolean;
    data: any;
    mfaError: ErrorModel;
    hideButtons: boolean;
    clear: EventEmitter<any>;
    success: EventEmitter<any>;
    error: EventEmitter<any>;
    otpFormDirective: NgForm;
    otpForm: UntypedFormGroup;
    errorDtls: any;
    time: number;
    timerInterval: import("rxjs").Observable<number>;
    timer: import("rxjs").Observable<0>;
    countDown: import("rxjs").Observable<number>;
    counter: BehaviorSubject<number>;
    counterSubscription: Subscription;
    options: ComboOption[];
    constructor(ls: LoginService, fb: UntypedFormBuilder, util: UtilService, nav: NavController, cs: CaptchaService);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    ngOnInit(): void;
    requestNewAuthCode(otpType: string): void;
    setCountdown(): void;
    initilizeForm(): void;
    get otp(): import("@angular/forms").AbstractControl<any, any>;
    get option(): import("@angular/forms").AbstractControl<any, any>;
    get checked(): import("@angular/forms").AbstractControl<any, any>;
    close(): void;
    submit(): void;
    signIn(): Promise<void>;
    sendOtp(event: any): void;
    resendAuthCode(otpType: string): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<MfaComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<MfaComponent, "app-mfa", never, { "user": { "alias": "user"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "requestCode": { "alias": "requestCode"; "required": false; }; "data": { "alias": "data"; "required": false; }; "mfaError": { "alias": "mfaError"; "required": false; }; "hideButtons": { "alias": "hideButtons"; "required": false; }; }, { "clear": "clear"; "success": "success"; "error": "error"; }, never, never, false, never>;
}
//# sourceMappingURL=mfa.component.d.ts.map