import * as graphql from 'graphql'; import type { Config, Document } from '../../lib'; export default function addListFragments(config: Config, documents: Document[]): Promise; export declare function connectionSelection(config: Config, field: graphql.GraphQLField, type: graphql.GraphQLObjectType, selection: graphql.SelectionSetNode | undefined): { selection: graphql.SelectionSetNode | undefined; type: graphql.GraphQLObjectType; connection: boolean; error: string | null; };