import { Response } from "./response.js"; /** * HTTP client interface. * * WIT: * ``` * interface client { * use types.{request, response, error-code}; * send: async func(request) -> result; * } * ``` */ export declare const client: { /** * Send an HTTP request and return a response. * * @param {Request} req * @returns {Promise} * @throws {HttpError} */ send(req: any): Promise; };