import { DocumentNode, GraphQLSchema } from 'graphql'; import type { TypePolicies } from './getCacheKey'; export declare function generateNormalizedOperation(schema: GraphQLSchema, document: DocumentNode, typePolicies?: TypePolicies): DocumentNode; /** * Given a schema & operation, flattens the fragments and adds any necessary missing fields * in order to properly normalize the response in a cache. */ export declare function generateNormalizedOperations(schema: GraphQLSchema, documents: DocumentNode[], typePolicies?: TypePolicies): DocumentNode[];