<?php

declare(strict_types=1);

namespace App\Module\Directory\Domain\Repository;

use App\Module\Directory\Domain\Entity\Prospect;

interface ProspectRepositoryInterface
{
    public function findById(int $id): ?Prospect;

    /**
     * @param array<string, mixed>       $criteria
     * @param null|array<string, string> $orderBy
     *
     * @return Prospect[]
     */
    public function findBy(array $criteria, ?array $orderBy = null, ?int $limit = null, ?int $offset = null): array;
}
