import type { UploadingFile } from './upload-types'; declare class AppUploadActivityContainer { private _runs; private _nextRunId; /** Files of every in-flight run, including ones that already finished inside a still-running run. Deduplicated by id. */ get files(): UploadingFile[]; /** True while at least one run is in flight. Flips only on run start / end, never on a progress tick. */ get isUploading(): boolean; /** * Register an in-flight upload run and get its id back. `files` is called on every read, so pass * an accessor over live state, not a snapshot. `UploadMediaStore.upload()` registers itself — call * this directly only when uploading outside the store. */ beginRun: (files: () => UploadingFile[]) => number; /** End a run started with `beginRun` — always from a `finally`, or the run never leaves the list. */ endRun: (id: number) => void; } /** Reactive, app-wide view of what is uploading right now. Drives `UploadProgressToaster`. */ export declare const AppUploadActivity: AppUploadActivityContainer; export {};