/** * HTTP client implementation for Ozon Seller API SDK * Features intelligent retry logic, error handling, and request/response validation */ import type { OzonConfig, BaseRequest, BaseResponse, RequestOptions, HttpMethod } from "./types.js"; export declare class HttpClient { private readonly config; private readonly baseHeaders; constructor(config: OzonConfig); /** * Make an HTTP request with automatic retry logic */ request(method: HttpMethod, path: string, data?: TRequest, options?: RequestOptions): Promise; /** * GET request */ get(path: string, options?: RequestOptions): Promise; /** * POST request */ post(path: string, data: TRequest, options?: RequestOptions): Promise; /** * PUT request */ put(path: string, data: TRequest, options?: RequestOptions): Promise; /** * DELETE request */ delete(path: string, options?: RequestOptions): Promise; /** * Execute a single HTTP request */ private executeRequest; /** * Handle HTTP response and parse result */ private handleResponse; /** * Execute request with retry logic */ private executeWithRetry; /** * Extract error data from response */ private extractErrorData; /** * Extract headers from response */ private extractHeaders; /** * Sleep utility for retry delays */ private sleep; /** * Validate SDK configuration */ private validateConfig; } //# sourceMappingURL=http.d.ts.map