import { IAuthProvider } from "../../core/auth/auth-provider.interface.js"; import { RequestOptions } from "../../core/types/request-options.js"; export interface IJsonHttpClient { getAsync(path: string, options?: RequestOptions): Promise; postAsync(path: string, body: unknown, options?: RequestOptions): Promise; } export declare class JsonHttpClient implements IJsonHttpClient { private readonly endpoint; private readonly authProvider?; private readonly defaultRequestTimeoutMs?; constructor(endpoint: string, authProvider?: IAuthProvider | undefined, defaultRequestTimeoutMs?: number | undefined); getAsync(path: string, options?: RequestOptions): Promise; postAsync(path: string, body: unknown, options?: RequestOptions): Promise; private sendAsync; }