///
import * as http from "http";
import * as https from "https";
import { TwirpError } from "./errors";
export interface Rpc {
request(service: string, method: string, contentType: "application/json" | "application/protobuf", data: object | Uint8Array): Promise