import { Method } from "got"; declare type HttpClientMethod = Method; declare type HttpClientOptions = { method: HttpClientMethod; headers?: Record; body?: string; }; declare type HttpClient = (path: string, options: HttpClientOptions) => Promise<{ statusCode: number; body: Data; }>; declare const http: { createClient: ({ headers }: { headers?: Record | undefined; }) => (path: string, options: HttpClientOptions) => Promise>; }; export { http, HttpClient, HttpClientMethod, HttpClientOptions };