import { Observable } from 'rxjs'; import { FileInfo, UploadResponse } from './uploader.interface'; import { GalaxyUploaderService } from './uploader.service'; import * as i0 from "@angular/core"; export interface ImageDimensions { width?: number; height?: number; } export declare class GalaxyImageUploaderService extends GalaxyUploaderService { private maxDimensions?; /** * Used to build an api request object for uploading files. * Note: This is to be overridden if adding own requeset functionality, testing, etc. * * @param fileInfo - File to upload */ buildRequest(fileInfo: FileInfo): Observable; /** * Set the cropped image property on the provided file info object * @param info - Info object to set the new image on * @param croppedImage - The edited image to add to the file info */ setCroppedImage(info: FileInfo, croppedImage: Blob): void; /** * Set the max dimensions of files allowed to be added to the queue * @param dimensions - Max width and/or height allowed to be uploaded */ setMaxDimensions(dimensions: ImageDimensions): void; /** * Add a file to the queue * @param file - The file to add */ addFile(file: File): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }