/** * Fetches league names from poe.ninja's economy leagues endpoint. * @param version Which game's leagues to fetch. * @returns A Promise that resolves with an array of league names. * @throws If an error occurs during the fetch process or if the response data is empty. */ declare function getNinjaLeagues(version: "poe1" | "poe2"): Promise; export default getNinjaLeagues;