import React from "react"; import { MarginProps } from "styled-system"; import { TagProps } from "../../__internal__/utils/helpers/tags"; export type TrackerVariants = "neutral" | "warning" | "information" | "error" | "success"; export interface ProgressTrackerProps extends MarginProps, TagProps { /** Size of the progress bar. */ size?: "small" | "medium" | "large"; /** Length of the component, any valid css string. */ length?: string; /** Current progress (percentage). */ progress?: number; /** * Flag to control error state. * @deprecated Please use variant="error" instead. */ error?: boolean; /** Value to add a description to the label */ description?: string; /** Value to display as current progress. */ currentProgressLabel?: string; /** Value to display as the maximum progress limit. */ maxProgressLabel?: string; /** Value of the preposition defined between Value1 and Value2 on the label. */ customValuePreposition?: string; /** The position the value label are rendered in. */ labelsPosition?: "top" | "bottom" | "left"; /** Label width when position is "left" */ labelWidth?: string; /** Variant of the progress bar */ variant?: TrackerVariants; } export declare const ProgressTracker: { ({ size, length, error, progress, description, currentProgressLabel, customValuePreposition, maxProgressLabel, labelsPosition, labelWidth, variant, ...rest }: ProgressTrackerProps): React.JSX.Element; displayName: string; }; export default ProgressTracker;