/**
 * Fetches data based on the provided query URL and filters it by category name.
 * @param league - The league to fetch the data from.
 * @param type - The type of data to fetch.
 * @param categoryName - The name of the category to filter the data by.
 * @returns A promise that resolves to an array of filtered data items.
 * @throws Throws an error if category name is not provided or if there is an issue fetching or filtering the data.
 */
declare function getCategory(league: string, type: string, categoryName: string): Promise<object[]>;
export default getCategory;
