/** *******************************************************************************************************************
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
  
  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
      http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.                                                                              *
 ******************************************************************************************************************** */
import { FunctionComponent } from 'react';
import { CircularProgressProps } from '@material-ui/core/CircularProgress';
import { LinearProgressProps } from '@material-ui/core/LinearProgress';
export interface ProgressBarProps {
    /** Percentage value of the progress */
    value?: number;
    /**
     * Use "in-progress" to display a progress bar.
     * "success" and "error" are result states and replace the progress element with a status indicator,
     * resultText and, if set, with a button containing resultButtonText.
     * */
    status?: 'in-progress' | 'success' | 'error';
    /**
     * Text for the button that gets displayed when status is set to "error" or "success".
     * If resultButtonText is empty, no button will be displayed. */
    resultButtonText?: string;
    /** Short information summarizing the operation */
    label?: string;
    /** More detailed information about the operation, rendered between the progress bar and label. */
    description?: string;
    /** Information that is displayed below the progress bar. */
    additionalInfo?: string;
    /** Content that is displayed whenever status is set to "error" or "success". */
    resultText?: string;
    /** Indicate whether to display value on the right end */
    displayValue?: boolean;
    /** Fired when the user triggers the result state button. */
    resultButtonClick?: () => void;
    /** Indicate what type of progress bar to render */
    variant?: 'linear' | 'circular';
}
/**
 * A progress bar is a horizontal progress-bar for indicating progress and activity.
 */
declare const ProgressBar: FunctionComponent<ProgressBarProps & Omit<LinearProgressProps & CircularProgressProps, 'variant'>>;
export default ProgressBar;
