import type { Container } from "./Container";
export interface ProgressItem {
    div: HTMLDivElement;
    onProgress?: (event: ProgressEvent) => void;
}
/**
 * Build in ProgressBar, used to indicate current progress.
 */
export declare class ProgressBar {
    constructor(container: Container);
    addProgressItem(id: string, message?: string, onProgress?: (event: ProgressEvent) => void): void;
    removeProgressItem(id: string): void;
    /**
     * Updates a progress item
     * @param progressItemId
     * @param message
     * @param progress number between 0-100
     */
    updateProgress(progressItemId: string, message?: string, progress?: number): void;
    updateProgressBar(id: string, progress: number | ProgressEvent, min?: number, max?: number): void;
    setVisible(visible: boolean): void;
    /**
     * Removes a progress item after some time
     * @param progressItemId
     */
    delayRemoveProgressItem(progressItemId: string, delayInMs?: number): void;
    destroy(): void;
}
