|null $body The body of the request, or null/empty to send no body. * @param array $headers The headers for the request. * @param string $http_method The HTTP method for the request. One of `Request::METHOD_*`. * * @return array> The response from the API. * * @throws WP_Request_Exception When the underlying WordPress HTTP call returns an error. */ public function perform_request( string $action_path, $body, $headers, string $http_method ): array; /** * Gets the timeout of the requests in seconds. * * @return int The timeout of the suggestion requests in seconds. */ public function get_request_timeout(): int; }