import { Proxy } from "../utils/parse_proxy"; export declare const DEFAULT_DOMAIN = "https://api.aftership.com"; export declare const DEFAULT_TIMEOUT = 10000; export declare const DEFAULT_MAX_RETRY = 3; export declare const MAX_MAX_RETRY = 10; export declare const MIN_MAX_RETRY = 0; export declare const DEFAULT_USER_AGENT = "tracking-sdk-nodejs/17.0.0 (https://www.aftership.com) axios/1.7.2"; export interface RequestConfig { url: string; method: string; body?: any; query?: any; headers?: { [key: string]: any; }; } export interface RequestOptions { auth_type: string; api_key?: string; api_secret?: string; domain: string; max_retry: number; timeout: number; user_agent?: string; proxy?: Proxy; } export declare class Request { private readonly options; private readonly DELAY_BASE; constructor(options: RequestOptions); private getHeaders; private shouldRetry; private delayWithJitter; private withRetry; makeRequest(config: RequestConfig): Promise; private handleError; }