<?php

declare(strict_types=1);

namespace App\Administration\Application\Port;

use App\Administration\Application\Dto\PaginatedResult;
use App\Administration\Application\Query\GetParentInvitations\ParentInvitationDto;

/**
 * Read-model port for paginated parent invitation queries (CQRS read side).
 *
 * @phpstan-type Result = PaginatedResult<ParentInvitationDto>
 */
interface PaginatedParentInvitationsReader
{
    /**
     * @return PaginatedResult<ParentInvitationDto>
     */
    public function findPaginated(
        string $tenantId,
        ?string $status,
        ?string $studentId,
        ?string $search,
        int $page,
        int $limit,
    ): PaginatedResult;
}
