import React from 'react';
import { FormLabel } from '../../module';
type ProgressBarBaseProps = {
    /** Current progress that should be shown. Range from 0 - 100 */
    percentage: number;
    /** Optional text below the ProgressBar */
    helperText?: string;
    /** Optionally style the ProgressBar as an error */
    error?: boolean;
};
type FormLabelProps = React.ComponentProps<typeof FormLabel>;
type ProgressBarWithLabel = ProgressBarBaseProps & {
    /** Optional label above the ProgressBar */
    formLabelProps?: Omit<FormLabelProps, 'rightLabel' | 'error'> & {
        showRightLabel?: boolean;
    };
};
type ProgressBarWithoutLabel = ProgressBarBaseProps & {
    formLabelProps?: never;
    showPercentageText?: never;
};
export type ProgressBarProps = ProgressBarWithLabel | ProgressBarWithoutLabel;
declare const ProgressBar: ({ percentage, formLabelProps, helperText, error, }: ProgressBarProps) => JSX.Element;
export default ProgressBar;
