import type { GraphQLField } from 'graphql'; import type { ArgsValue, GetGen, SourceValue } from '../core'; export declare type QueryComplexityEstimatorArgs = { type: SourceValue; 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;