import type { FileProgress } from './FileProgress.js'; export type Meta = Record; export type Body = Record; export type InternalMetadata = { name: string; type?: string; }; export interface UppyFile { data: Blob | File; error?: string | null; extension: string; id: string; isPaused?: boolean; isRestored?: boolean; isRemote: boolean; isGhost: boolean; meta: InternalMetadata & M; name?: string; preview?: string; progress: FileProgress; missingRequiredMetaFields?: string[]; remote?: { body?: Record; companionUrl: string; host?: string; provider?: string; providerName?: string; requestClientId: string; url: string; }; serverToken?: string | null; size: number | null; source?: string; type: string; uploadURL?: string; response?: { body?: B; status: number; bytesUploaded?: number; uploadURL?: string; }; } export type MinimalRequiredUppyFile = Required, 'name'>> & Partial, 'name' | 'data' | 'meta'>> & { meta?: M; data: { size: number | null; }; }; export type TagFile = { id?: string; source: string; name: string; type: string; isRemote: boolean; preview?: string; data: { size: number | null; }; body?: { url?: string; fileId?: string; }; meta?: { authorName?: string; authorUrl?: string; relativePath?: string | null; absolutePath?: string; } & M; remote: { companionUrl: string; url: string; body: { fileId: string; url?: string; }; providerName?: string; provider?: string; requestClientId: string; }; }; //# sourceMappingURL=UppyFile.d.ts.map