/** * Simple http client for json payloads. */ export type QueryParams> = { [K in keyof T]: string; }; export declare class HttpJson { private baseUrl; constructor(baseUrl: string); get(pathname: string, query?: Record): Promise; post(pathname: string, bodyObj?: Record): Promise; buildUrl(pathname: string, query?: Record): string; } //# sourceMappingURL=http-json.d.ts.map