<?php

namespace App\Serp\Contracts;

use App\Serp\Data\SerpQuery;
use App\Serp\Data\SerpSubmission;
use App\Serp\Data\SerpTaskResult;

interface AsyncSerpProvider extends SerpProvider
{
    public function submit(SerpQuery $query): SerpSubmission;

    public function collect(string $taskId, int $limit): SerpTaskResult;
}
