import { DocumentNode, GraphQLSchema } from 'graphql'; import type { NormalizeMetaShape, NormalizedDocShape } from '../metadataShapes'; import { TypePolicies } from './getCacheKey'; export declare function generateNormalizedMetadata(schema: GraphQLSchema, document: DocumentNode, typePolicies?: TypePolicies): NormalizeMetaShape; /** * Given an operation and a schema, generates the metadata necessary to * write the operation into the cache */ export declare function generateNormalizedMetadataForDocs(schema: GraphQLSchema, documents: DocumentNode[], typePolicies?: TypePolicies): NormalizedDocShape[];