import { ProgressbarFeedback } from '../../utils/constants'; export declare class NvProgressbar { /****************************************************************************/ /** * Current progress, between 0 and `max`. Values outside that range are * clamped. Ignored while `indeterminate` is set. */ readonly value: number; /** * The value that represents a complete task. The fill and the displayed * percentage are computed as `value / max`. */ readonly max: number; /** * Semantic colour of the fill. Use `success` when the task completed and * `error` when it failed; keep `neutral` while it is running. */ readonly feedback: `${ProgressbarFeedback}`; /** * Shows the percentage next to the bar. */ readonly showValue: boolean; /** * Shows a looping animation instead of a value, for tasks whose duration is * unknown. The percentage is hidden and `aria-valuenow` is omitted. */ readonly indeterminate: boolean; /****************************************************************************/ /** * Returns the progress as a whole percentage between 0 and 100. * @returns {number} The rounded percentage. */ private getPercentage; /****************************************************************************/ render(): any; }