import { Context } from '../core/interfaces'; import { EnvConfig } from '../core/types'; export declare class ApiClient { private axiosInstance; constructor(config: EnvConfig, context: Context); get(path: string, params?: any): Promise; post(path: string, data?: any): Promise; patch(path: string, data?: any): Promise; put(path: string, data?: any): Promise; delete(path: string): Promise; private handleError; } export declare class ApiError extends Error { constructor(errorResponse: ApiErrorResponse); } interface ApiErrorResponse { message: string; code?: string; status?: number; data?: any; headers?: any; } export {};