import IPoeWatch from "../../../Interfaces/IPoeWatch"; /** * Represents poe.watch's PoE2 exchange ratios - the only PoE2 endpoint * poe.watch exposes. * @class * @implements {IPoeWatch} */ export default class Poe2ExchangeModule implements IPoeWatch { protected readonly league: string; /** * Creates a new instance of Poe2ExchangeModule. * @param league - The league from which the data will be fetched. */ constructor(league: string); /** * Retrieves PoE2 exchange ratios data. * @param {string[]} requestedProperties Optional array of properties to include in the response. * @returns {Promise} A promise that resolves to an array of objects containing the requested data. * @throws {Error} If there is an error retrieving the data. */ getData(requestedProperties?: string[]): Promise; /** * Retrieves PoE2 exchange ratios filtered by category. * @async * @param categoryName - The category to filter by (e.g. "currency"). * @returns - A Promise containing data for the specified category. * @throws - Throws errors encountered while fetching data. */ getCategory(categoryName: string): Promise; }