package kz.konturai.parser.service;

/**
 * Service interface for uploading images to storage and returning public URLs.
 * This is required by Instagram API which only accepts public image URLs, not
 * byte arrays.
 */
public interface ImageStorageService {

    /**
     * Uploads an image to storage and returns a public URL.
     * 
     * @param imageBytes The image data as byte array
     * @param filename   The filename for the image (e.g., "image.jpg")
     * @return Public URL to the uploaded image
     * @throws RuntimeException if upload fails
     */
    String uploadImage(byte[] imageBytes, String filename);
}
