/**
 * Retrieves data from the specified URL, optionally filtering based on requested properties.
 *
 * @param league - The league from which the data will be fetched.
*  @param type - The type of data to be fetched.
 * @param requestedProperties - An optional array of property names to filter the data.
 * @returns - A promise that resolves to the fetched or filtered data.
 * @throws - Throws an error if there is an issue fetching or filtering the data.
 */
declare function getData(league: string, type: string, requestedProperties?: string[]): Promise<object[]>;
export default getData;
