import { Options } from './abstractRestfulClient'; import { GetProductsType } from './catalog'; import { AbstractHttpClient } from './AbstractHttpClient'; import { GraphQLClient } from 'graphql-request'; export declare type GraphQLResponseTypes = GetProductsType; export declare abstract class AbstractGraphQLClient extends AbstractHttpClient { /** * Must not be called directly. * Use getClientInstance() to access it. */ protected graphQLClient: GraphQLClient; protected optionsHeader?: RequestInit['headers']; protected options: Options; private getClientInstance; setOptions(options: Options): this; protected post(query: string): Promise; private applyHeaders; private generateUrl; protected stringifyQuery(query: unknown): string; }