import { type SX, type ThemeKeys } from "../../theme"; export interface ProgressBarProps { /** * The current value of the progress. */ value: number; /** * The maximum value of the progress. * * @defaultValue 100 */ max?: number; /** * Value label is always attached to the element for the sake of * screen-readers. * If getValueLabel is not provided, the attached * label will be % value of progress. */ getValueLabel?: (value: number, max: number) => string; /** * Whether to display the value label on the page. Requires getValueLabel. * * @defaultValue false */ displayLabel?: boolean; /** * The color of the progress indicator. * * @defaultValue "green9" */ color?: ThemeKeys<"color">; /** * The color of the progress bar track. * * @defaultValue "grey4" */ backgroundColor?: ThemeKeys<"color">; /** * The color of the label. * * @defaultValue "grey11" */ labelColor?: ThemeKeys<"color">; /** * Whether to collapse the indicator bar. Used for idle and complete states. * * @defaultValue "normal" */ height?: "collapsed" | "normal" | "large"; /** * Slow transition applies 2s transition-duration - E.g.: uploading use-case. * * @defaultValue "fast" */ transition?: "slow" | "fast"; sx?: SX; } export declare function ProgressBar(props: ProgressBarProps): JSX.Element;