export interface IdentifiedFile extends File { uid?: string; } export declare function uploadRequest({ action, data, file, filename, headers, withCredentials, onError, onProgress, onSuccess, }: { action: string; data?: any; file: IdentifiedFile; filename: string; headers?: Record; withCredentials?: boolean; onError?: (...args: any[]) => void; onProgress?: (...args: any[]) => void; onSuccess?: (...args: any[]) => void; }): { abort(): void; };