import { GraphQLFieldConfigMap, GraphQLObjectType } from "graphql"; import { RequestContext } from "../../core/context"; import { GraphQLEdge } from "./edge_connection"; import { Data } from "../../core/base"; export declare class GraphQLEdgeType extends GraphQLObjectType { constructor(name: string, nodeType: TNode, optionalFields?: () => GraphQLFieldConfigMap, RequestContext>); } interface connectionOptions { fields?(): GraphQLFieldConfigMap, RequestContext>; } export declare class GraphQLConnectionType extends GraphQLObjectType { edgeType: GraphQLEdgeType; constructor(name: string, nodeType: TNode, options?: connectionOptions); } export {};