import { HTMLAttributes } from 'react';
export interface ProgressSegment {
/** Portion in the same [0, max] scale as the bar. */
value: number;
/** Color override via class (e.g. "bg-[var(--color-status-success)]"). */
className?: string;
/** Inline backgroundColor (e.g. "var(--color-status-success)") — for raw token colors. */
color?: string;
/** Optional native hover tooltip (maps to the fill's `title`). NOT announced by screen readers — the bar's overall value is exposed via aria-valuenow / the root aria-label. */
label?: string;
}
export interface ProgressProps extends HTMLAttributes {
/** Current value. Clamped to [0, max]. Default 0. Ignored when `segments` is set. */
value?: number;
/** Upper bound. Default 100. */
max?: number;
/** Class for the fill/indicator — override color for threshold/band/status bars. Ignored when `segments` is set. */
indicatorClassName?: string;
/** Stacked segments (composition bars: success/failure/pending). When non-empty, renders one width-% fill per segment instead of the single `value` fill. */
segments?: ProgressSegment[];
}
export declare const Progress: import('react').ForwardRefExoticComponent>;
//# sourceMappingURL=Progress.d.ts.map