import { OnDestroy, OnInit } from '@angular/core';
import { Http } from '@angular/http';
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/observable/interval';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/switchMap';
import 'rxjs/add/operator/take';
import 'rxjs/add/operator/takeUntil';
import '../util/takeUntilDestroyed';
import { MemorizingSubject } from '../util/memorizingSubject';
/**
 * The Launch Dialog prompts the user to log in, and connect to Interactive
 * for them. It calls back with connection details, or undefined if the dialog
 * was dismissed beforehand.
 */
export declare class LoginWalkthroughComponent implements OnInit, OnDestroy {
    private readonly http;
    private readonly sanitizer;
    /**
     * Emits once the user logs in.
     */
    loggedIn: MemorizingSubject<void>;
    /**
     * code is the shortcode to display to the user that they need to enter
     * on mixer.com/go in order to start login.
     */
    code: MemorizingSubject<string>;
    /**
     * codeUrl is the full Mixer URL the user should go to
     */
    codeUrl: Observable<SafeUrl>;
    constructor(http: Http, sanitizer: DomSanitizer);
    ngOnInit(): void;
    ngOnDestroy(): void;
}
