<?php

declare(strict_types=1);

namespace KimaAI\Ai\Providers\Http;

interface HttpClientInterface {
  public function send(HttpRequest $request): HttpResponse;

  /**
   * Stream raw response chunks.
   *
   * @return iterable<string>
   */
  public function stream(HttpRequest $request): iterable;
}
