/**
 * The login page, originally migrated from auth0 hosted page code and
 * repowered with some o3 code.
 *
 * @author Kevin Knielsen <knielsen@alertlogic.com> // The migrator.
 * @author Gisler Garces <ggarces@alertlogic.com> // Blame me.
 * @copyright Alert Logic, Inc 2019
 */
import { OnInit } from '@angular/core';
import { AlViewHelperComponent } from '@al/ng-generic-components';
import { AlNavigationService } from '../services/al-navigation.service';
import { AlCabinet, AlConduitClient, AlSessionDetector } from '@al/core';
import * as i0 from "@angular/core";
export declare class AlIntegratedAuthenticationComponent implements OnInit {
    navigation: AlNavigationService;
    state: string;
    userName: string;
    passPhrase: string;
    formReady: boolean;
    showPassword: boolean;
    protected sessionToken: string;
    protected sessionTokenExpiration: number;
    protected conduitClient: AlConduitClient;
    protected sessionDetector: AlSessionDetector;
    protected storage: AlCabinet;
    protected viewHelper: AlViewHelperComponent;
    constructor(navigation: AlNavigationService);
    ngOnInit(): void;
    initialize(): Promise<void>;
    doLogout(): void;
    /**
     * A keyboard listener for the Enter key.
     */
    onKeyDown(event: any): void;
    /**
     * When user clicks on login button.
     */
    executeAuthentication(): Promise<void>;
    executeDeauthentication(): Promise<void>;
    /**
     * Show/Hide password field.
     */
    toggleShowPassword: () => void;
    /**
     * Show error message in the login page.
     */
    showErrorMessage: (message: string) => void;
    /**
     * When user click on the forgot password link, after password reset should go back to portero.
     */
    goToForgotPassword: (event: Event) => void;
    /**
     * When user click on the integrations link
     */
    onClickIntegrations: (event: Event) => void;
    handleSessionPersistenceError(): void;
    protected terminateGestaltSession(): Promise<void>;
    protected handleAuthenticationFailure(error: Error | any): boolean;
    static ɵfac: i0.ɵɵFactoryDef<AlIntegratedAuthenticationComponent, never>;
    static ɵcmp: i0.ɵɵComponentDefWithMeta<AlIntegratedAuthenticationComponent, "al-integrated-authentication", never, {}, {}, never, never>;
}
