import { QdCollectedFile } from './collected-file';
import { QdUploadError } from './file-upload';
export type QdUploadProgress = {
    /**
     * @description Upload progress in percent (1-100)
     *
     * @example 23
     */
    progress: number;
    /**
     * @description This flag is set when the file is newly uploaded and was not already stored (from config).
     */
    newlyUploaded?: boolean;
    /**
     * @description This field is filled if an error occurs. It contains an enum value for the error type and an error message if set.
     */
    error?: QdUploadError;
    /**
     * @description Collected file as soon as it's uploaded.
     */
    collectedFile?: QdCollectedFile;
};
/**
 * This is a "UI-only" state used in the dialog item progress component
 */
export declare enum QdUploadProgressState {
    STARTING = "starting",
    IN_PROGRESS = "in-progress",
    FINISHING = "finishing",
    SUCCESS = "success",
    ERROR = "error"
}
//# sourceMappingURL=upload-progress.d.ts.map