import { GraphQLInputFieldConfigMap, GraphQLInputObjectType, GraphQLInputType } from 'graphql'; import { ThunkReadonlyArray } from 'graphql/type/definition'; import { Constructor } from '../utils/utils'; export interface TypedInputFieldBase> { readonly name: string; readonly description?: string; readonly deprecationReason?: string; readonly inputType: GraphQLInputType | TypedInputObjectType; } export declare class TypedInputObjectType> { readonly name: string; private readonly _fields; readonly description?: string | undefined; constructor(name: string, _fields: ThunkReadonlyArray, description?: string | undefined); getInputType(): GraphQLInputObjectType; protected transformFieldConfigs(fields: GraphQLInputFieldConfigMap): GraphQLInputFieldConfigMap; getFieldOrThrow(name: string, clazz?: Constructor): T; private get fieldMap(); get fields(): ReadonlyArray; }