import { AxiosInstance, AxiosRequestConfig, AxiosResponse, InternalAxiosRequestConfig } from 'axios'; /** * HTTP Client configuration */ export interface HttpClientConfig { baseURL: string; timeout?: number; headers?: Record; onRequest?: (config: InternalAxiosRequestConfig) => InternalAxiosRequestConfig | Promise; onResponse?: (response: AxiosResponse) => AxiosResponse | Promise; onError?: (error: any) => void; } /** * HTTP Client class - Wrapper around axios with error handling */ export declare class HttpClient { private axios; private config; constructor(config: HttpClientConfig); /** * Setup request and response interceptors */ private setupInterceptors; /** * Transform axios error to SDK error */ private transformError; /** * Set authentication token */ setAuthToken(token: string, type: 'bearer' | 'api-key'): void; /** * Clear authentication */ clearAuth(): void; /** * GET request */ get(url: string, params?: any, config?: AxiosRequestConfig): Promise; /** * POST request */ post(url: string, data?: any, config?: AxiosRequestConfig): Promise; /** * PUT request */ put(url: string, data?: any, config?: AxiosRequestConfig): Promise; /** * PATCH request */ patch(url: string, data?: any, config?: AxiosRequestConfig): Promise; /** * DELETE request */ delete(url: string, config?: AxiosRequestConfig): Promise; /** * Get the underlying axios instance (for advanced usage) */ getAxiosInstance(): AxiosInstance; } //# sourceMappingURL=client.d.ts.map