import React from 'react'; import { ElementProps } from '../../core/types'; import { NumberFieldProps as ReactAriaNumberFieldProps } from 'react-aria-components'; import './Progress.scss'; import { ColorRange } from '../../core/types'; export type ProgressProps = Omit & ElementProps & { color?: string; colorRange?: ColorRange; disabled?: boolean; errorMessage?: string; isSmall?: boolean; placeholder?: string; value?: number; step?: number; isDecimalPercentage?: boolean; title?: string; supportTitle?: string; children?: React.ReactNode; leftIcon?: React.ReactNode | string; rightIcon?: React.ReactNode | string; ariaLabel?: string; }; /** * Progress component * @param props * @param {boolean} props.disabled - Whether the input field is disabled * @param {string} props.errorMessage - The error message for the input field * @param {boolean} props.isSmall - Whether the input field is small * @param {string} props.placeholder - The placeholder text for the input field * @param {string} props.color - If the color is provided, the progress bar will be filled with the color, regardless of the colorRange. * @param {ColorRange} props.colorRange - The color range of the progress bar. The value is the value threshold, the color is the color. * @param {number} props.value - The value of the input field. If it's percentage, the value should be between 0 and 100. * @param {number} props.step - The step of the input field * @param {boolean} props.isDecimalPercentage - Whether the value is a decimal percentage, if true, the value will be divided by 100. * @param {string} props.ariaLabel - The aria label of the input field * @param {string} props.title - The title of the input field * @param {string} props.supportTitle - The support title of the input field * @param {React.ReactNode} props.children - The children of the input field * @param {ReactAriaProgressProps} props.rest - The rest props of the input field, including formatOptions, defaultValue * @returns {JSX.Element} * @category Component */ export declare const Progress: (props: ProgressProps) => import("react/jsx-runtime").JSX.Element; export default Progress;