<?php

declare(strict_types=1);

namespace App\Module\Mail\Domain\Repository;

use App\Module\Mail\Domain\Entity\MailFolder;

interface MailFolderRepositoryInterface
{
    /**
     * @return list<MailFolder>
     */
    public function findAllOrderedByPath(): array;

    public function findByPath(string $path): ?MailFolder;
}
