<?php

declare(strict_types=1);

namespace App\Services\Tickets;

interface EmailServiceInterface
{
    /** @return array<int, ParsedEmail> */
    public function fetchNewEmails(): array;

    public function markAsProcessed(mixed $message): void;
}
