/** * Service for handling image uploads * @class */ export declare class UploadService { /** * Blob service to be injected when uploading to cloud storage */ blobService: any; /** * Array to store image metadata */ image_store: Array; /** * @constructor * Initializes the image store as an empty array */ constructor(); /** * Creates a new entry in the image store or updates an existing one if the id already exists * @param body - The request body * @param params - The request parameters * @returns The metadata of the newly created or updated image */ create(body: any): Promise; /** * Finds an image in the store by its id * @param id - The id of the image to search for * @param params - The request parameters * @returns The metadata of the image if found, otherwise a string "Image Not Found" */ find(id: any): Promise; /** * Removes an image from the store using its id * @param id - The id of the image to remove * @param params - The request parameters * @returns The result of the removal operation handled by the blob service */ remove(id: any, params: any): Promise; }