<?php

namespace NoahVet\Reef\Factory\Jane;

interface EndpointFactoryInterface
{
    /**
     * @template TEndpoint of object
     *
     * @param class-string<TEndpoint> $endpointClass
     * @param array<string, mixed>    $queryParams
     *
     * @return TEndpoint
     */
    public function create(string $endpointClass, array $queryParams): object;
}
