import { FieldNode, GraphQLCompositeType, GraphQLField, SelectionSetNode, GraphQLObjectType } from 'graphql'; export interface Field { scope: Scope; fieldNode: FieldNode; fieldDef: GraphQLField; } export interface Scope { parentType: TParent; possibleTypes: ReadonlyArray; enclosingScope?: Scope; } export declare type FieldSet = Field[]; export declare function printFields(fields?: FieldSet): string; export declare function matchesField(field: Field): (otherField: Field) => boolean; export declare const groupByResponseName: (iterable: Iterable>) => Map[]>; export declare const groupByParentType: (iterable: Iterable>) => Map[]>; export declare function selectionSetFromFieldSet(fields: FieldSet, parentType?: GraphQLCompositeType): SelectionSetNode; //# sourceMappingURL=FieldSet.d.ts.map