<?php

namespace App\Domain\Scraping\Domain\Contract\Service;

use App\Domain\Scraping\Domain\Model\ValueObject\DownloadResult;
use App\Domain\Scraping\Domain\Model\ValueObject\TempDirectory;

interface ImageDownloaderInterface
{
    public function download(string $url, string $destination): void;

    /**
     * @param array<string> $urls
     * @return array<DownloadResult>
     */
    public function downloadBatch(array $urls, TempDirectory $tempDir, string $jobId): array;
}
