import { PropsWithChildren } from 'react'; import { CategoricalWithCustomColor } from '../../lib/tokens/CategoricalColors'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import { Status } from '../../lib/types/props'; import * as Aria from "react-aria-components"; export interface ProgressBarProps extends PropsWithChildren>, FlowComponentProps { /** The status the progress bar is colored by. */ status?: Exclude; /** Whether the max value should be displayed. */ showMaxValue?: boolean; /** The size variant of the progress bar. @default "m" */ size?: "s" | "m" | "l"; /** Divides the fill of the progress bar into segments */ segments?: { value: number; title: string; color?: CategoricalWithCustomColor; valueText?: string; }[]; /** * Whether the legend component is shown when segments are used. @default: * true */ showLegend?: boolean; } /** @flr-generate all */ export declare const ProgressBar: import('react').FunctionComponent>; export default ProgressBar;