import { OnInit } from '@angular/core';
import { Http } from '@angular/http';
import { MatDialogRef, MatSnackBar } from '@angular/material';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { HttpErrorService } from '../http-error.service';
/**
 * The rename bundle dialog is opened when the user tries to upload a bundle,
 * but we get a 403 saying they don't have access to it (someone else owns it).
 * We prompt them to rename it, the dialog will return whether they have
 * successfully done so (true) or cancelled it (false).
 */
export declare class RenameBundleDialogComponent implements OnInit {
    private readonly http;
    private readonly dialogRef;
    private readonly snackRef;
    private readonly httpErr;
    /**
     * Whether the dialog is submitting.
     */
    isLoading: BehaviorSubject<boolean>;
    /**
     * Currently chosen bundle name.
     */
    name: BehaviorSubject<string>;
    constructor(http: Http, dialogRef: MatDialogRef<boolean>, snackRef: MatSnackBar, httpErr: HttpErrorService);
    submit(): void;
    ngOnInit(): void;
    alertTaken(): void;
}
