/*!
 * Copyright 2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { ActivityPromiseResolver } from './activity-promise-resolver';
import { ActivityReporter } from './activity-reporter';
/**
 * Spinner activity reporter shows the spinner until an error or success message is returned.
 * An error message is displayed through the error banner.
 */
export declare class SpinnerActivityReporterComponent extends ActivityReporter {
    /**
     * When true show the spinner
     */
    running: boolean;
    /**
     * When set show the error text
     */
    errorText: string;
    constructor(promiseResolver: ActivityPromiseResolver<any>);
    /**
     * Begins to show the loading indicator to the user.
     */
    startActivity(): void;
    /**
     * Hides the loading indicator and shows an error message.
     */
    reportError(errorText: string): void;
    /**
     * Hides the loading indicator.
     */
    reportSuccess(): void;
}
