import { ArgumentsHost } from '@nestjs/common'; import { GqlExceptionFilter } from '@nestjs/graphql'; import { GraphQLRequestContext, GraphQLResponse } from 'apollo-server-plugin-base'; import { GraphQLError, GraphQLFormattedError } from 'graphql'; export declare class GqlCustomExceptionFilter implements GqlExceptionFilter { catch(exception: any, host: ArgumentsHost): GraphQLError; } export declare const GqlCustomFormatter: (error: GraphQLError) => GraphQLFormattedError; export declare const GqlCustomResponseFormatter: (response: GraphQLResponse, requestContext: GraphQLRequestContext) => GraphQLResponse;