import type { ReactElement, HTMLAttributes, Ref } from "react"; import type SlProgressBarElement from "@shoelace-style/shoelace/dist/components/progress-bar/progress-bar.js"; export type { SlProgressBarElement }; export interface SlProgressBarProps extends HTMLAttributes { ref?: Ref; /** * The current progress as a percentage, 0 to 100. */ value?: number; /** * When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */ indeterminate?: boolean; /** * A custom label for assistive devices. */ label?: string; } /** * Progress bars are used to show the status of an ongoing operation. */ export default function SlProgressBar( props: SlProgressBarProps, ): ReactElement;