<?php

declare(strict_types=1);

namespace NoahVet\Reef\Iterator;

/**
 * @template TValue of object
 * @template TParam of array<string, mixed>
 *
 * @extends \Iterator<int, TValue>
 */
interface ReefApiIteratorInterface extends \Iterator
{
    /**
     * @return TParam
     */
    public function getParams(): array;

    /**
     * @param TParam $params
     */
    public function setParams(array $params): void;
}
