import { TranslationService } from '@vcd/i18n';
import { LazyString } from '@vcd/i18n';
import { ActivityPromiseResolver } from './activity-promise-resolver';
import { ActivityReporter } from './activity-reporter';
import * as i0 from "@angular/core";
/**
 * Shows a banner to the user to represent the state of an activity.
 */
export declare class BannerActivityReporterComponent extends ActivityReporter {
    private translationService;
    running: boolean;
    errorText: string;
    successMessage: string;
    /**
     * The translated message that is displayed to the user while loading.
     */
    loadingMessage: LazyString;
    constructor(translationService: TranslationService, promiseResolver: ActivityPromiseResolver<any>);
    /**
     * Begins to show the banner with a loading indicator.
     */
    startActivity(): void;
    /**
     * Shows the given {@param errorText} to the user.
     */
    reportError(errorText: string): void;
    /**
     * Shows the given {@param successMessage} to the user.
     */
    reportSuccess(successMessage: string): void;
    /**
     * Closes the error message if displayed.
     */
    onErrorClosed(): void;
    /**
     * Closes the success message if displayed.
     */
    onSuccessClosed(): void;
    reset(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BannerActivityReporterComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BannerActivityReporterComponent, "vcd-banner-activity-reporter", never, { "loadingMessage": "loadingMessage"; }, {}, never, never, false, never>;
}
