import { ApolloServerPlugin, GraphQLRequestContext } from '@landingexp/apollo-server-plugin-base'; import { fetch } from "@landingexp/apollo-server-env"; declare type ForbidUnregisteredOperationsPredicate = (requestContext: GraphQLRequestContext) => boolean; export interface OperationRegistryRequestContext { signature: string; normalizedDocument: string; } export interface Operation { signature: string; document: string; } export interface OperationManifest { version: number; operations: Array; } export interface Options { debug?: boolean; fetcher?: typeof fetch; forbidUnregisteredOperations?: boolean | ForbidUnregisteredOperationsPredicate; dryRun?: boolean; graphVariant?: string; onUnregisteredOperation?: (requestContext: GraphQLRequestContext, operationRegistryRequestContext: OperationRegistryRequestContext) => void; onForbiddenOperation?: (requestContext: GraphQLRequestContext, operationRegistryRequestContext: OperationRegistryRequestContext) => void; } export default function plugin(options?: Options): () => ApolloServerPlugin; export {}; //# sourceMappingURL=ApolloServerPluginOperationRegistry.d.ts.map