import type { HttpClient } from "isomorphic-git"; export interface BasicAuth { username: string; password: string; } // TODO: Restructure HTTPRequest to reuse Isomorphic Git’s GitHttpRequest? export interface HTTPRequest { http: HttpClient; headers?: Record; /** Repository URL. */ url: string; /** Auth data for basic HTTP auth. */ auth?: BasicAuth; }