import { Context, HttpResponse, HttpResponseBadRequest, HttpResponseOK } from '@foal/core'; import { GraphQLSchema } from 'graphql'; /** * GraphQL controller compatible compatible with the common GraphQL clients * ([graphql-request](https://www.npmjs.com/package/graphql-request), etc) or any client that * follows the HTTP specification defined [here](https://graphql.org/learn/serving-over-http/). * * @export * @abstract * @class GraphQLController */ export declare abstract class GraphQLController { abstract schema: GraphQLSchema | Promise; resolvers: object; getResolverContext(ctx: Context): object; get(ctx: Context): Promise, unknown>[] | null> | HttpResponseBadRequest | HttpResponseOK>; post(ctx: Context): Promise>; private postApplicationGraphQL; }