import type { DocumentNode, FieldDefinitionNode } from 'graphql'; import { GraphQLError } from 'graphql'; import type { LocalFederationService } from './LocalFederationService'; export interface DocumentInfo { service: LocalFederationService; document: DocumentNode; extension: boolean; typename?: string; keyDocument?: DocumentNode; fieldDefinition?: FieldDefinitionNode; } export declare const distributeQuery: (query: DocumentNode, service: LocalFederationService, services: Array) => [null | Map, Array];