import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, NgZone } from '@angular/core';
import { OAuthService } from 'angular-oauth2-oidc';
import { FormControl } from '@angular/forms';
import { Router } from '@angular/router';
import { VixAuthService } from './auth.service';
import { AuthConfigService } from './auth-config.service';
export declare class VixLoginComponent implements AfterViewInit, AfterViewChecked {
    private oauth;
    private auth;
    private router;
    private authConfig;
    private cdRef;
    private ngZone;
    email: string;
    password: string;
    loginFormControl: FormControl;
    isShowProgressBar: boolean;
    constructor(oauth: OAuthService, auth: VixAuthService, router: Router, authConfig: AuthConfigService, cdRef: ChangeDetectorRef, ngZone: NgZone);
    toggleProgressBar(status: boolean): void;
    /**
     * Form control to validate email
     */
    getErrorMessage(): "" | "You must enter a value" | "Not a valid email";
    /**
     * Login with Google
     */
    loginWithGoogle(): void;
    /**
     * Login with username and password. Redirect to url after login successfully
     */
    loginWithPassword(): void;
    ngAfterViewChecked(): void;
    /**
     * This is used for Google Login. Browser will redirect to the login url after login successfully.
     * ngAfterViewInit will get the access_token from url and redirect to the url set as redirect url.
     */
    ngAfterViewInit(): void;
}
