import { HmacAuthenticator } from '../auth/hmac'; import { JWTAuthenticator } from '../auth/jwt'; /** * Request configuration */ export interface RequestConfig { path: string; method: 'GET' | 'POST' | 'PUT' | 'DELETE'; headers?: Record; params?: Record; body?: any; timeout?: number; } /** * HTTP client configuration */ export interface HttpClientConfig { baseUrl: string; authenticator?: HmacAuthenticator | JWTAuthenticator; timeout?: number; enableTimestamp?: boolean; debug?: boolean; } /** * Universal HTTP client using fetch API */ export declare class UniversalHttpClient { private baseUrl; private timeout; private authenticator?; private enableTimestamp; private debug; constructor(baseUrl: string, timeout?: number, options?: { authenticator?: HmacAuthenticator | JWTAuthenticator; enableTimestamp?: boolean; debug?: boolean; }); /** * Makes an HTTP request */ request(config: RequestConfig): Promise; /** * Handles error responses from the API */ private handleErrorResponse; get(path: string, params?: any): Promise; post(path: string, body?: any): Promise; put(path: string, body?: any): Promise; delete(path: string): Promise; } //# sourceMappingURL=client.d.ts.map