import { type HTMLAttributes, type ReactNode } from 'react';
export interface ProgressHandle {
/**
* Paint a progress value straight onto the DOM, bypassing React. High-
* frequency escape hatch — the `value` prop is NOT updated, so read the
* painted figure back with `getValue()`, not from props.
*/
setValue: (value: number) => void;
/**
* What the bar currently SHOWS, in the same units as `value` / `max` —
* written by both the render path and `setValue`, so it stays defined after
* an imperative write. `null` while indeterminate.
*/
getValue: () => number | null;
/** True when no measurable progress is set (`value` prop omitted). */
isIndeterminate: () => boolean;
}
export interface ProgressProps extends Omit, 'role'> {
value?: number;
max?: number;
shape?: 'bar' | 'circular';
size?: 'sm' | 'md' | 'lg';
ariaLabel?: string;
ariaValueText?: string;
debouncePercent?: number;
disabled?: boolean;
children?: ReactNode;
}
export declare const Progress: import("react").ForwardRefExoticComponent> & {
Label: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
Value: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
};
//# sourceMappingURL=progress.d.ts.map