import { FieldMap, SchemaTypes } from './types'; import { ConfigurableRef, FieldRef, GiraphQLFieldConfig, GiraphQLObjectTypeConfig, GiraphQLTypeConfig, GraphQLFieldKind, InputFieldMap, InputFieldRef, InputType, InputTypeParam, OutputType, TypeParam } from '.'; export default class ConfigStore { typeConfigs: Map; private fieldRefs; private fields; private addFieldFns; private refsToName; private scalarsToRefs; private fieldRefsToConfigs; private pendingFields; private pendingRefResolutions; private fieldRefCallbacks; private pending; constructor(); hasConfig(typeParam: InputType | OutputType): boolean; addFieldRef(ref: FieldRef | InputFieldRef, typeParam: InputTypeParam | TypeParam, args: InputFieldMap, getConfig: (name: string, parentField: string | undefined) => GiraphQLFieldConfig): void; createFieldConfig(ref: FieldRef | InputFieldRef, name: string, parentField?: string, kind?: T): Extract, { graphqlKind: T; }>; associateRefWithName(ref: ConfigurableRef, name: string): void; addTypeConfig(config: GiraphQLTypeConfig, ref?: ConfigurableRef): void; getTypeConfig(ref: ConfigurableRef | string, kind?: T): Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract | Extract; getInputTypeRef(ref: ConfigurableRef | string): InputType; getOutputTypeRef(ref: ConfigurableRef | string): OutputType; onTypeConfig(ref: ConfigurableRef, cb: (config: GiraphQLTypeConfig) => void): void; onFieldUse(ref: FieldRef | InputFieldRef, cb: (config: GiraphQLFieldConfig) => void): void; getFields(name: string, kind?: T): Record, { graphqlKind: T; }>>; prepareForBuild(): void; addFields(typeRef: ConfigurableRef, fields: FieldMap | InputFieldMap | (() => FieldMap | InputFieldMap)): void; getImplementers(ref: ConfigurableRef | string): GiraphQLObjectTypeConfig[]; private describeRef; private buildFields; private buildField; } //# sourceMappingURL=config-store.d.ts.map