import { Application } from '../Application'; import { ScalarsTypeMap } from '@tngraphql/graphql/dist/schema/build-context'; import { PubSubEngine, PubSubOptions } from 'graphql-subscriptions'; export declare class GraphQLKernel { app: Application; protected bootstrappers: Function[]; /** * global middleware */ protected middleware: any[]; /** * Register name middleware */ protected routeMiddleware: {}; protected pubSub: PubSubEngine | PubSubOptions; protected scalarsMap: ScalarsTypeMap[]; protected nullableByDefault: boolean; constructor(app: Application); handle(): Promise; bootstrap(): Promise; complie(): Promise; }