import { DeferError } from "../../backend"; export type HTTPClient = (method: string, path: string, body?: string | null) => Promise<{ status: number; response: T; }>; export declare class ClientError extends DeferError { constructor(msg: string); } export declare function makeHTTPClient(apiEndpoint: string, accessToken: string, clientOptions?: RequestInit): HTTPClient;