import { DocumentNode } from "graphql"; declare module "graphql" { interface DocumentNode { __cacheKey: string; } } declare class DocumentNodeModifier { private cache; augmentDocument(document: DocumentNode, selectionPath: string, selections: DocumentNode[]): DocumentNode; addSelectionToQuery(document: DocumentNode, selectionPath: string, addSelection: DocumentNode): void; private createCacheKey; } export declare function createDocumentNodeModifier(): DocumentNodeModifier; export {};