import { AxiosResponse } from "axios"; import { TokenService } from "../entities/user/token.service"; import { EsiApiRequestOptions } from "../types/esi-api-request-options.interface"; type RequestMethods = "get" | "post" | "put" | "delete"; export declare class AuthenticatedEsiApiService { private tokenService; constructor(tokenService: TokenService); request(method: RequestMethods, getOptions: EsiApiRequestOptions): Promise>; /** * Prevent leaking tokens accidentally. */ private assertUrlIsSafe; /** * Safely get access token taking into account user ownership and other * settings. */ private getAccessToken; private executeRequest; private tokenHasExpired; } export {};