import { TrackingApi } from "./api/Tracking"; import { CourierApi } from "./api/Courier"; import { CourierConnectionApi } from "./api/CourierConnection"; import { EstimatedDeliveryDateApi } from "./api/EstimatedDeliveryDate"; import { AftershipError, AfterShipErrorCodes } from "./error"; import { AuthType } from "./lib/authentication"; export interface Options { auth_type?: AuthType; api_key?: string; api_secret?: string; domain?: string; max_retry?: number; timeout?: number; user_agent?: string; proxy?: string; } export declare class AfterShip { readonly tracking: TrackingApi; readonly courier: CourierApi; readonly courierConnection: CourierConnectionApi; readonly estimatedDeliveryDate: EstimatedDeliveryDateApi; private readonly options; constructor(options?: Options); private validateOptions; } export { AuthType, AfterShipErrorCodes, AftershipError };