import ILogger from '../helpers/ILogger'; import { HttpClient } from './HttpClient'; import { ClientCredentialsManager } from './TokenManager'; export interface IPrice { currency: string; amount: number; } export interface INetworkPricing { network_id: string; network_name: string; prices?: IPrice[]; } export interface IProduct { product_id: string; product_name: string; } export interface ICoverageInfo { coverage: string; networks?: INetworkPricing[]; } export type IProductCoverage = IProduct & ICoverageInfo; export type ICoverageReachResponse = { network_id: string; network_name: string; country_code: string; products: IProduct[]; }; export interface ICoverageCountryResponse { country_code: string; dialing_code: number; products: IProductCoverage[]; } export declare class CoverageAPIClient { baseApiUrl: string; httpClient: HttpClient; constructor(tokenManager: ClientCredentialsManager, baseApiUrl: string, logger: ILogger); reach(deviceIp: string): Promise; countryReach(code: string): Promise; }