import type { APIGatewayProxyEvent, Context as LambdaContext } from 'aws-lambda'; import type { GraphQLHandlerOptions } from '../types.js'; /** * Creates an Enveloped GraphQL Server, configured with default Redwood plugins * * You can add your own plugins by passing them to the extraPlugins object * * @see https://www.envelop.dev/ for information about envelop * @see https://www.envelop.dev/plugins for available envelop plugins * ```js * export const handler = createGraphQLHandler({ schema, context, getCurrentUser }) * ``` */ export declare const createGraphQLHandler: ({ healthCheckId, loggerConfig, context, getCurrentUser, onException, generateGraphiQLHeader, extraPlugins, authDecoder, cors, services, sdls, directives, armorConfig, allowedOperations, allowIntrospection, allowGraphiQL, defaultError, graphiQLEndpoint, schemaOptions, realtime, openTelemetryOptions, trustedDocuments, }: GraphQLHandlerOptions) => (event: APIGatewayProxyEvent, context: LambdaContext) => Promise; //# sourceMappingURL=graphql.d.ts.map