UNPKG

mindstudio

Version:

Client library for MindStudio AI Workers

9 lines (8 loc) 285 B
import { HttpClientConfig } from "./types"; export declare class HttpClient { private readonly http; constructor(apiKey: string, config?: HttpClientConfig); get<T>(path: string): Promise<T>; post<T>(path: string, data?: unknown): Promise<T>; private handleError; }