import { UploadProvider } from './ndf-file.model'; export interface Batch { batchId: string; } export interface FileOption { files: File[]; provider?: UploadProvider; metadata?: Record; } export interface UploadeResponse { batchId: string; fileIdx: string; uploadType: string; uploadedSize: number; uploadedChunkIds: number[]; chunkCount: number; } export type FileHeaders = { 'Cache-Control': 'no-cache'; 'X-File-Name': string; 'X-File-Type': string; 'Content-Type': string; 'Content-Length': number; 'X-Upload-Type'?: 'chunked'; 'X-Upload-Chunk-Index'?: string; 'X-Upload-Chunk-Count'?: string; 'X-File-Size'?: string; };