import type { CredentialsParams } from "../types/public"; import type { CommitOutput, CommitParams, CommitProgressEvent, ContentSource } from "./commit"; /** * Uploads with progress * * Needs XMLHttpRequest to be available for progress events for uploads on models, datasets and spaces. * Set useWebWorkers to true in order to have progress events for hashing for models, datasets and spaces. */ export declare function uploadFilesWithProgress(params: { repo: CommitParams["repo"]; files: Array; commitTitle?: CommitParams["title"]; commitDescription?: CommitParams["description"]; hubUrl?: CommitParams["hubUrl"]; branch?: CommitParams["branch"]; isPullRequest?: CommitParams["isPullRequest"]; parentCommit?: CommitParams["parentCommit"]; abortSignal?: CommitParams["abortSignal"]; maxFolderDepth?: CommitParams["maxFolderDepth"]; useXet?: CommitParams["useXet"]; /** * Set this to true in order to have progress events for hashing */ useWebWorkers?: CommitParams["useWebWorkers"]; } & Partial): AsyncGenerator; //# sourceMappingURL=upload-files-with-progress.d.ts.map