import { HttpClient } from "./http-client"; import type { SellingPartnerOptions } from "./types"; export declare class SellingPartnerCore { /** * Client options */ private options; /** * The http client instance */ protected httpClient: HttpClient; /** * Credentials to call the SP API */ private credentials?; /** * Endpoints and their restore rate */ private restoreRates; /** * Debug flag */ private debug; /** * Default restore rate */ private defaultRestoreRate; constructor(options: SellingPartnerOptions); /** * Get an access token by calling the LWA service */ private getAccessToken; /** * Assume the role and get an accessKeyId, secretAccessKey and * sessionToken to further use in all requests */ private assumeRole; /** * Get an access token from LWA and then assume * the role via STS */ private authenticate; /** * Logget for debug mode */ private log; /** * Wait a given amount of time (in ms) */ private wait; }