/**
 * Sends a GraphQL request to the AniList API.
 *
 * This function constructs a request with the provided query and variables,
 * handles authorization, and processes the API response. If a rate-limit error (429) is returned,
 * it waits for 1 minute and retries the request.
 *
 * @param {string} query - The AniList GraphQL query to be executed.
 * @param {object} variables - An object containing the variables for the query.
 * @returns {Promise<object|null>} The response from the API as a JSON object if successful; otherwise, null.
 */
declare function fetcher(query: string, variables: object): Promise<object | null>;
export { fetcher };
