import type { FileUploadState } from "./progress.js"; /** `true` once an upload reached a terminal status. */ export declare const isFinishedUpload: (state: FileUploadState) => boolean; export interface UploadLedger { /** Fold a progress report's per-file states in; returns the new entry list. */ report: (perFile: readonly FileUploadState[]) => FileUploadState[]; /** Drop finished entries (in-flight ones stay); returns the new entry list. */ clearFinished: () => FileUploadState[]; } export declare const createUploadLedger: () => UploadLedger; //# sourceMappingURL=upload-ledger.d.ts.map