import { GraphQLField, GraphQLInterfaceType, GraphQLNamedType, GraphQLObjectType, GraphQLSchema } from 'graphql/type'; export declare function typeObjToId(type: GraphQLNamedType): string; export declare function typeNameToId(name: string): string; export declare function extractTypeName(typeID: string): string; export declare function mapFields(type: GraphQLNamedType, fn: (id: string, field: GraphQLField) => R | null): Array; export declare function mapPossibleTypes(type: GraphQLNamedType, fn: (id: string, type: GraphQLObjectType) => R | null): Array; export declare function mapDerivedTypes(schema: GraphQLSchema, type: GraphQLNamedType, fn: (id: string, type: GraphQLObjectType | GraphQLInterfaceType) => R | null): Array; export declare function mapInterfaces(type: GraphQLNamedType, fn: (id: string, type: GraphQLInterfaceType) => R | null): Array;