type ProgressValue = number | null; type ProgressStatus = "complete" | "indeterminate" | "progressing"; type ProgressOptions = { ariaValueText?: string; format?: Intl.NumberFormatOptions; getAriaValueText?: (formattedValue: string | null, value: ProgressValue) => string; locale?: Intl.LocalesArgument; max?: number; min?: number; value?: ProgressValue; }; type ProgressSetValueOptions = { max?: number; min?: number; }; type ProgressSetFormatOptions = Pick; type ProgressInstance = { readonly root: HTMLElement; destroy(): void; getFormattedValue(): string | null; getPercent(): number | null; getStatus(): ProgressStatus; getValue(): ProgressValue; refresh(): void; setFormatOptions(options: ProgressSetFormatOptions): void; setMax(max: number): void; setMin(min: number): void; setValue(value: ProgressValue, options?: ProgressSetValueOptions): void; }; declare function createProgress(root: HTMLElement, options?: ProgressOptions): ProgressInstance; export { type ProgressInstance, type ProgressOptions, type ProgressSetValueOptions, type ProgressStatus, type ProgressValue, createProgress };