import { HttpRequest } from './HttpRequest'; import { HttpResponse } from './HttpResponse'; /** * Defines the interface for an HTTP client. * * @category Context and Interfaces */ export interface HttpInterface { /** Sends a HTTP request and returns its response. */ send: (request: HttpRequest) => Promise>; } /** * An implementation of the {@link HttpInterface} that throws an error when called. * @category Http */ export declare function createNullHttp(): HttpInterface;