/** * Fetches PoE2 data from poe.ninja and optionally filters it. * @param league - The name of the league to fetch data from. * @param type - The poe.ninja PoE2 type to fetch data for. * @param endpoint - Which PoE2 economy endpoint to hit ("exchange" or "item"). * @param requestedProperties - Optional. An array of properties to filter the fetched data by. * @returns A promise that resolves to an array of objects containing the fetched data. * @throws If there is an error fetching the data. */ declare function getData2(league: string, type: string, endpoint: "exchange" | "item", requestedProperties?: string[]): Promise; export default getData2;