import type { HTMLAttributes } from 'react';
import type { SxProp } from '../Layout/sx.cjs';
export type ProgressColor = 'primary' | 'danger' | 'warning' | 'success' | 'info';
export interface ProgressProps extends Omit, 'children'> {
value?: number;
color?: ProgressColor;
indeterminate?: boolean;
/**
* With `indeterminate`: a full-width shimmer sweep instead of the sliding
* chunk. Under `prefers-reduced-motion` both settle into a static, faded bar.
*/
shimmer?: boolean;
/**
* One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
* responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
* merges into inline style; responsive sx injects a scoped class.
*/
sx?: SxProp;
}
export interface ProgressRingProps extends Omit, 'children'> {
value: number;
/** Arc colour. Default: `primary`. */
color?: ProgressColor;
size?: 'md' | 'lg';
showLabel?: boolean;
/**
* One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
* responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
* merges into inline style; responsive sx injects a scoped class.
*/
sx?: SxProp;
}