import type { IFileItem, IFileTransfer } from '../../shared-types'; export interface IFileUploadCounts { totalCount: number; uploadedCount: number; failedCount: number; } /** * Count how many files have reached `done` vs `error` based on the supplied * transfer list. Pure — both runtimes share this for their aria-live summaries. */ export declare function countFileTransferStates(files: IFileItem[], transfers: IFileTransfer[] | undefined): IFileUploadCounts;