import { EzFile } from "./ez-upload";
export default class RemoteFile {
  file: File;
  size: number;
  name: string;
  progress: number;
  private _aborted;
  private _uploadingXhr;
  constructor(file: File);
  abortUpload(): void;
  isUploading(): boolean;
  upload(server: string, headers: Map<string, string>, updateCallBack: Function): Promise<Array<EzFile>>;
  delete(item: EzFile, server: string, headers: Map<string, string>): Promise<boolean>;
}
