interface ISimpleHTTPRequest { url: string; method: string; credentials?: "include" | "omit" | "same-origin"; headers?: Record; body?: string | ArrayBuffer; responseType: "text" | "json" | "arraybuffer"; } interface ISimpleHTTPResponse { statusCode: number; body: any; } interface IDogeHTTPClient { sendRequest(request: ISimpleHTTPRequest): Promise; } export type { ISimpleHTTPRequest, ISimpleHTTPResponse, IDogeHTTPClient, };