/**
 * Fetches data from the POE Watch API based on the provided query URL.
 * @param league - The game league for which to fetch currency data.
 * @param type - The type of data to fetch.
 * @returns - A Promise that resolves to the fetched data.
 * @throws - Throws an error if there is an issue with the API response or fetching data.
 */
declare function fetchData(league: string, type: string): Promise<object[]>;
export default fetchData;
