import { GraphQLField } from 'graphql'; import { ArgsValue, GetGen, RootValue } from '../core'; export declare type QueryComplexityEstimatorArgs = { type: RootValue; field: GraphQLField, GetGen<'context'>, ArgsValue>; args: ArgsValue; childComplexity: number; }; export declare type QueryComplexityEstimator = (options: QueryComplexityEstimatorArgs) => number | void; export declare type QueryComplexity = number | QueryComplexityEstimator; export declare const queryComplexityPlugin: () => import("../plugin").NexusPlugin;