import { BoxProps } from '@chakra-ui/react'; type ProgressBarProps = BoxProps & { /** The percentage of progress made. * * The value must be between 0 and 100 */ value: number; /** The height of the progress bar. * Defaults to .5rem **/ height?: BoxProps["height"]; /** The width of the progress bar. * * Defaults to the width of its container **/ width?: BoxProps["width"]; /** Pass if no label is passed to the label */ "aria-label": string; /** Optional text shown below the loader. * * If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop. */ label: string | string[]; /** The number of milliseconds a label is shown, if an array of strings is passed to the `label` prop. * * Defaults to 5000 (5 seconds). */ labelRotationDelay?: number; }; /** * Shows the progress of a loading process. * * You can pass the amount of progress with the `value` prop: * * ```tsx * * ``` * * You can also pass a label to show below the loader: * * ```tsx * * ``` * * If you pass an array of strings, the text will rotate every 5 seconds. If you want to change the delay, pass the delay in milliseconds to the `labelRotationDelay` prop. * * ```tsx * * ``` * * If you don't pass a label, you should pass an `aria-label` prop: * * ```tsx * * ``` */ declare const ProgressBar: ({ value, label, labelRotationDelay, height, width, "aria-label": ariaLabel, ...rest }: ProgressBarProps) => JSX.Element; export { ProgressBar };